All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yiyi Hu" <yiyihu@gmail.com>
To: kvm@vger.kernel.org
Subject: xen-in-kvm doesn't work with kvm-81.
Date: Wed, 17 Dec 2008 14:16:07 +0800	[thread overview]
Message-ID: <f469f8de0812162216w2105951ar84b6968f7c6e0e40@mail.gmail.com> (raw)

Host info:
hyy@Hs ~ $ uname -a
Linux Hs 2.6.27-gentoo-r6 #1 SMP Mon Dec 15 11:43:12 CST 2008 x86_64
AMD Athlon(tm) X2 Dual Core Processor BE-2350 AuthenticAMD GNU/Linux

KVM is version 81. Installed from portage.

The guest is 64bit debian lenny, Within guest, we install the xen system.
The xen-in-kvm won't boot fine after upgraded to kvm-81.

After testing, I found:
With kvm-81 userspace util and kernel modules bundled with kernel
2.6.27, xen-in-kvm boots fine..
If I try to use the kvm module bundled with kvm-81, The xen-in-kvm
doesn't boot, with guest screen messed up.

For the combination of both kernel modules and userspace utils are from kvm-81.
With either -no-kvm-irqchip or -no-kvm-pit option passed, xen-in-kvm boots fine.
With both -no-kvm-irqchip and -no-kvm-pit options passed, xen-in-kvm
also boots fine.
Though, We can see the screen messed up when the kernel boots. But the
mess up will be cleared by newer kernel messages.

The *problem* script used to start xen-in-kvm.

TAPNAME=tap0
sudo /usr/bin/tunctl -u hyy -t $TAPNAME
sudo /sbin/ifconfig $TAPNAME up
sudo /sbin/brctl addif br0 $TAPNAME
kvm -k en-us -m 2048 \
    -daemonize \
    -vnc localhost:5 \
    -hda lenny-xen.img \
        -net nic,model=rtl8139,macaddr=DE:AD:B3:EF:27:A8 \
    -net tap,script=no,ifname=$TAPNAME \
    -serial mon:telnet::3333,server,nowait \


Thanks.

             reply	other threads:[~2008-12-17  6:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-17  6:16 Yiyi Hu [this message]
2008-12-17 12:07 ` xen-in-kvm doesn't work with kvm-81 Avi Kivity
2008-12-17 16:35   ` Yiyi Hu
2008-12-17 16:43   ` Yiyi Hu
2009-01-01 12:39 ` Avi Kivity
2009-01-04 13:18   ` Avi Kivity
2010-03-05 19:46     ` pille
2010-03-05 19:54       ` Alexander Graf
2010-03-05 20:06         ` pille
2010-03-05 20:08           ` Alexander Graf
2010-03-07  8:42           ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f469f8de0812162216w2105951ar84b6968f7c6e0e40@mail.gmail.com \
    --to=yiyihu@gmail.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.