qemu-devel@nongnu.org
[Top] [All Lists]

Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to a

Subject: Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?
From: n schembr
Date: Wed, 11 Jul 2007 13:04:43 -0700 PDT

----- Original Message ----
From: andrzej zaborowski <balrogg@xxxxxxxxx>
To: qemu-devel@xxxxxxxxxx
Sent: Wednesday, July 11, 2007 2:38:28 PM
Subject: Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to 
allow accelerated smp guests?

Hi,

On 11/07/07, n schembr <nschembr@xxxxxxxxx> wrote:
> ok, This error is in kqemu.   The guest boots  with -no-kqemu option.
>
> The guest is booting ubuntu 7.04 linux 2.6.20-16-server.  Note: the host is 
> running 7.4 and I compiled with   ./configure --prefix=/usr/local 
> --cc=gcc-3.4 --host-cc=gcc-3.4 
> --kernel-path=/usr/src/linux-headers-2.6.20-16-server/
> The host has a second guest running ubuntu dapper linux 2.6.15-28-686
>   qemu -vnc :1 -kernel-kqemu -daemonize -no-reboot -monitor 
> unix:/vservers/qemu/mail1/mail1.sock,server,nowait -boot c -hda /dev/sdc -net 
> nic,vlan=0,macaddr=00:16:3e:00:0f:10 -net 
> tap,vlan=0,ifname=br0-mail1,script=/etc/qemu-ifup-br0 -m 512

Just an idea, if your host is SMP too: try booting the guest kernel
with "notsc" param or setting qemu's affinity to a single CPU using
taskset. It may help or not :)

Cheers,
Andrzej

"./taskset -c 1 qemu ...etc" worked great.  What will notsc do to the guest 
kernel?

You just saved my project, thank you.

Nicholas A. Schembri
State College PA USA

For google   qemu race condition  kqemu ubuntu 7.4 feisty lockup hang











<Prev in Thread] Current Thread [Next in Thread>