[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-04-11 Thread Serge Hallyn
Hi Andres, Are you still seeing this problem? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/716528 Title: kvm 100% when performing apparently IO operations --

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-04-11 Thread Andres Rodriguez
Hi Serge. No I'm not. In fact I thought this was already marked as invalid or something :). Cheers, -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/716528 Title: kvm 100% when

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-04-11 Thread Serge Hallyn
** Changed in: qemu-kvm (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in Ubuntu. https://bugs.launchpad.net/bugs/716528 Title: kvm 100% when performing apparently IO

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-17 Thread Serge Hallyn
Well golly gee willikers, I think I now have the same problem. ** Changed in: qemu-kvm (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu.

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-17 Thread Serge Hallyn
I can reproduce this using kvm from the command line, so libvirt appears unrelated: kvm -hda lucid.img -m 512M -smp 2 -vnc :1 -redir tcp:::22 -cdrom lucid-server-amd64.iso The simplest 'bzr branch grub grub-b' pins my cpu. ** Changed in: libvirt (Ubuntu) Status: New = Invalid --

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-17 Thread Serge Hallyn
And yet when booted from cdrom, cpu utilization stays around 10%. ** Changed in: libvirt (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libvirt in ubuntu.

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-16 Thread Serge Hallyn
@Andres, qemu-kvm has been updated to 0.14.0~rc1. Could you let us know if the issue persists? ** Changed in: qemu-kvm (Ubuntu) Importance: Undecided = Medium ** Changed in: qemu-kvm (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-16 Thread Andres Rodriguez
Hi Serge, I haven't experienced the same behavior as before 100% CPU with latest qemu-kvm. However, during installation of a natty VM, while doing IO, the CPU load is still a bit high sometimes ~70-80%. But, overall I can't seem to reproduce this problem. The kvm command used by libvirt now is:

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-11 Thread Serge Hallyn
All right, so this comes down to an incompatibility between maverick's versions of libvirt and qemu - libvirt is using QED, but qemu-kvm doesn't yet know about it. The '-drive file=X,if=none device=...' format, in particular, is QED. -- You received this bug notification because you are a

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-11 Thread Serge Hallyn
Could you try running the following command: kvm -m 512 -smp 2 -cdrom /home/roaksoax/.cache/testdrive/iso /ubuntu_natty-server-i386.iso -drive file=/home/roaksoax/.cache/testdrive/img/testdrive-disk- J_PcC_.img,if=virtio,cache=writeback,index=0,boot=on -usb -usbdevice tablet -net nic,model=virtio

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-11 Thread Andres Rodriguez
From an overall CPU load of 20%, after launching and leaving the VM not doing anything (In the menu requesting keyboard language for the installation) it goes up all the way to ~60%, and during installation it goes till ~70%of CPU load. This results are about the same as when launching with the

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-11 Thread Serge Hallyn
I'm sorry, something went wrong in my editing the previous post. The command I had wanted you to try was: kvm -m 512 -smp 2 -cdrom /home/roaksoax/.cache/testdrive/iso /ubuntu_natty-server-i386.iso -drive file=/var/lib/libvirt/images/natty1.img,if=virtio,cache=writeback,index=0,boot=on -usb

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
** Attachment added: natty1.xml https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/716528/+attachment/1841701/+files/natty1.xml ** Description changed: Binary package hint: qemu-kvm I created a VM using virt-manager. During the installation, the process kvm has a CPU usage

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
** Description changed: Binary package hint: qemu-kvm + + Version: Natty + Kernel Version: 2.6.38-2-generic x86_64 + KVM Version: QEMU emulator version 0.13.0 (qemu-kvm-devel) + LibVirt Version: libvirtd (libvirt) 0.8.5 I created a VM using virt-manager. During the installation, the

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
** Attachment added: natty1 https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/716528/+attachment/1841716/+files/natty1 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu.

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
** Attachment added: vol-dumpxml https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/716528/+attachment/1841717/+files/vol-dumpxml -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu.

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
** Attachment added: pool-dumpxml https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/716528/+attachment/1841718/+files/pool-dumpxml ** Also affects: libvirt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
libvirt kvm command: /usr/bin/kvm -S -M pc-0.13 -enable-kvm -m 512 -smp 2,sockets=2,cores=1,threads=1 -name natty1 -uuid 31631c3c-a914-6365-12b7-9103b4e07a3b -nodefconfig -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/natty1.monitor,server,nowait -mon

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
testdrive kvm command: kvm -m 512 -smp 2 -cdrom /home/roaksoax/.cache/testdrive/iso /ubuntu_natty-server-i386.iso -drive file=/home/roaksoax/.cache/testdrive/img/testdrive-disk- J_PcC_.img,if=virtio,cache=writeback,index=0,boot=on -usb -usbdevice tablet -net nic,model=virtio -net user -soundhw

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Serge Hallyn
Thanks Andres, the .xml looks fine, but the command spawned by libvirt certainly does not. In particular, the drive definition for natty.img looks bogus, with its 'if=none'. If you close virt-manager and start the vm with 'virsh start natty1', do you get the same command? -- You received this

[Bug 716528] Re: kvm 100% when performing apparently IO operations

2011-02-10 Thread Andres Rodriguez
Yes is the same command. When I installed the VM i chosed the Ubuntu Natty profile (I though this default to VirtIO?). Maybe this is the reason! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu-kvm in ubuntu.