On Tuesday, February 15, 2011 15:43:32 Stefan Hajnoczi wrote:
> > I have installed winxp and run the machine as "/usr/bin/qemu-kvm -name
> > xp.home -m 768 ...".
> 
> Are you able to try QEMU 0.14.0-rc2 from source?
> 
> $ git clone git://git.qemu.org/qemu.git
> $ git checkout v0.14.0-rc2
> $ ./configure --target-list=x86_64-softmmu --enable-io-thread
> --disable-strip --prefix=/usr
> $ make
> $ x86_64-softmmu/qemu-system-x86_64 -enable-kvm -m 768 -name xp.home ...

Now, the process size stays around 1300 Mb and RSS is very constant at 794 Mb.

But the VM is much slower. Although, according to "info kvm" kvm is enabled.

What options do I have to use to get optimal performance?

> Also, please post your full KVM command-line so we know what devices
> and features you have enabled.

x86_64-softmmu/qemu-system-x86_64 \
  -name xp.home -boot order=dc \
  -drive file=/.../xp.home/root.raw,if=virtio \
  -drive file=/.../config.cpio,if=floppy,index=1 \
  -m 768 \
  -usb \
  -rtc base=utc,clock=host \
  -vga std \
  -cpu host \
  -smp 2 \
  -enable-kvm \
  -balloon virtio \
  -vnc 127.0.0.1:15 \
  -monitor unix:/.../xp.home/.monitor,server,nowait \
  -serial unix:/.../xp.home/.ttyS0,server,nowait \
  -net nic,vlan=0,model=virtio,macaddr=E0:23:DA:00:00:05 \
  -net 
tap,vlan=0,name=ext,ifname=qe5,script=/.../qemu-ifup,downscript=/.../qemu-ifdown
 \
  -net nic,vlan=1,model=virtio,macaddr=F0:23:DA:00:00:05 \
  -net 
tap,vlan=1,name=int,ifname=qi5,script=/.../qemu-ifup,downscript=/.../qemu-ifdown
 \
  -rtc base=localtime \
  -usbdevice tablet

In the original command there was another option "boot=on" on the 1st drive.
And, the -daemonize option was given.

BTW, the monitor still says it's QEMU 0.13.92, not 0.14.

Torsten Förtsch

Reply via email to