From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yiyi Hu" Subject: xen-in-kvm doesn't work with kvm-81. Date: Wed, 17 Dec 2008 14:16:07 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from yx-out-2324.google.com ([74.125.44.29]:29347 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750817AbYLQGQI (ORCPT ); Wed, 17 Dec 2008 01:16:08 -0500 Received: by yx-out-2324.google.com with SMTP id 8so1501409yxm.1 for ; Tue, 16 Dec 2008 22:16:07 -0800 (PST) Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: 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.