http://bugzilla.novell.com/show_bug.cgi?id=619991 http://bugzilla.novell.com/show_bug.cgi?id=619991#c0 Summary: libvirt doesn't accept "cache=writeback" anymore Classification: openSUSE Product: openSUSE 11.3 Version: RC 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: jfehlig@novell.com ReportedBy: rhafer@novell.com QAContact: qa@suse.de Found By: Development Blocker: --- I have a few kvm VMs configured in libvirt where a added "cache=writeback" to qcow disk images to speed things up a little. Here is a snippet from the XML: <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='writeback'/> <source file='/space/libvirt/opensuse11_2.img'/> <target dev='hda' bus='ide'/> <address type='drive' controller='0' bus='0' unit='0'/> </disk> This used to work fine until I updated the host to RC2 (from RC1 IIRC). Now I get this when trying to start the VM: virsh # start openSUSE11_2 error: Failed to start domain openSUSE11_2 error: internal error Process exited while reading console log output: char device redirected to /dev/pts/1 qemu: invalid cache option According to the log libvirt tries to start qemu-kvm with the following commandline: ----------------------------- LC_ALL=C PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin HOME=/root USER=root LOGNAME=root QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -S -M pc-0.12 -cpu qemu32 -enable-kvm -m 1024 -smp 1,sockets=1,cores=1,threads=1 -name openSUSE11_2 -uuid 8e12a3dd-91ce-217d-b766-a61f75c242f0 -nodefaults -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/openSUSE11_2.monitor,server,nowait -mon chardev=monitor,mode=readline -rtc base=utc -boot c -drive file=/space/libvirt/opensuse11_2.img,if=none,id=drive-ide0-0-0,boot=on,format=qcow2,cache=on -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -device virtio-net-pci,vlan=0,id=net0,mac=52:54:00:ee:41:e8,bus=pci.0,addr=0x4 -net tap,fd=42,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device isa-serial,chardev=serial0 -usb -vnc 0.0.0.0:0 -k de -vga cirrus -device AC97,id=sound0,bus=pci.0,addr=0x5 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 ------------------------------- Note the "cache=on" in the drive option for the virtual harddisk. AFAIK it should use "cache=writeback" there. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.