Skip to contentSkip to conversation

Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?

Qemu-devel n schembr 2 participants 2 messages Jul 11, 2007

lore
Share & tools
lore

n schembr

author
#0 lore raw

----- Original Message ----
From: andrzej zaborowski <[email protected]>
To: [email protected]
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,

Quoted 5 lines · n schembr

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