From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: xen-in-kvm doesn't work with kvm-81. Date: Wed, 17 Dec 2008 14:07:34 +0200 Message-ID: <4948EB86.2070409@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Yiyi Hu Return-path: Received: from mx2.redhat.com ([66.187.237.31]:34364 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750917AbYLQMHk (ORCPT ); Wed, 17 Dec 2008 07:07:40 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: Yiyi Hu wrote: > 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 \ > What does the Xen serial console show? -- error compiling committee.c: too many arguments to function