[Bug 619991] New: libvirt doesn't accept "cache=writeback" anymore
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.
http://bugzilla.novell.com/show_bug.cgi?id=619991 http://bugzilla.novell.com/show_bug.cgi?id=619991#c1 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |brogers@novell.com QAContact|qa@suse.de |jdouglas@novell.com --- Comment #1 from James Fehlig <jfehlig@novell.com> 2010-07-21 18:06:25 UTC --- This bug is caused by a change in 'qemu-kvm --help' output. It could be fixed in libvirt or qemu. Bruce Rogers is submitting a patch to qemu that adds the new 'unsafe' cache option to the end of existing list, instead of slapping it in the middle as the existing code does. I've verified Bruce's patch fixes the issue. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=619991 http://bugzilla.novell.com/show_bug.cgi?id=619991#c2 --- Comment #2 from James Fehlig <jfehlig@novell.com> 2010-07-28 14:39:35 UTC --- Created an attachment (id=378912) --> (http://bugzilla.novell.com/attachment.cgi?id=378912) libvirt patch to fix the issue Bruce's tiny patch has generated an exhausting discussion on qemu-devel. The libvirt folks finally changed the logic on their side, although in the end it looks like Bruce's patch will be applied upstream anyhow. We'll get double the fix :-). -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=619991 http://bugzilla.novell.com/show_bug.cgi?id=619991#c3 James Fehlig <jfehlig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from James Fehlig <jfehlig@novell.com> 2010-07-28 15:50:40 UTC --- I've added libvirt 0.8.1 to the Virtualization:openSUSE11.3 project in OBS [1]. This project is where we'll be maintaining libvirt, Xen, and perhaps other virtualization-related packages that shipped with openSUSE11.3. You can consider Virtualization:openSUSE11.3 as a development project for openSUSE11.3. Virtualization-related packages will be maintained/tested there and submitted to 11.3 if and when offical updates occur. You can download packages [2] for testing directly from the project. [1] https://build.opensuse.org/project/show?project=Virtualization%3AopenSUSE11.... [2] http://download.opensuse.org/repositories/Virtualization:/openSUSE11.3/openS... -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=619991 http://bugzilla.novell.com/show_bug.cgi?id=619991#c4 --- Comment #4 from Bruce Rogers <brogers@novell.com> 2010-07-30 15:40:10 UTC --- (In reply to comment #2)
Created an attachment (id=378912) --> (http://bugzilla.novell.com/attachment.cgi?id=378912) [details] libvirt patch to fix the issue
Bruce's tiny patch has generated an exhausting discussion on qemu-devel. The libvirt folks finally changed the logic on their side, although in the end it looks like Bruce's patch will be applied upstream anyhow. We'll get double the fix :-).
I've checked in the qemu-kvm side fix to our kvm package as well. -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=619991 http://bugzilla.novell.com/show_bug.cgi?id=619991#c Bruce Rogers <brogers@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=619991 http://bugzilla.novell.com/show_bug.cgi?id=619991#c5 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:34941:low --- Comment #5 from Swamp Workflow Management <swamp@suse.com> 2010-08-02 14:32:03 UTC --- The SWAMPID for this issue is 34941. This issue was rated as low. Please submit fixed packages until 2010-08-30. Also create a patchinfo file using this link: https://swamp.suse.de/webswamp/wf/34941 -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=619991 http://bugzilla.novell.com/show_bug.cgi?id=619991#c6 --- Comment #6 from James Fehlig <jfehlig@novell.com> 2010-08-02 22:26:42 UTC --- libvirt 0.8.1 package has been submitted to openSUSE:11.3, SR#44395. libvirt 0.7.6 package has been submittedto SLE11-SP1. In addition to this fix, it contains a patch for bug #626070 - which I've added to SWAMPID 34941. NB: Both of these libvirt packages were previously submitted under bnc#618155, SWAMPID 34327. But there has been no progress on that SWAMP since I submitted the packages and re-assigned to security team. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=619991 https://bugzilla.novell.com/show_bug.cgi?id=619991#c7 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:34941:low |maint:running:34941:low | |maint:released:11.3:35070 --- Comment #7 from Swamp Workflow Management <swamp@suse.com> 2010-09-16 07:50:08 UTC --- Update released for: libvirt, libvirt-client, libvirt-client-debuginfo, libvirt-debuginfo, libvirt-debugsource, libvirt-devel, libvirt-doc, libvirt-python, libvirt-python-debuginfo Products: openSUSE 11.3 (debug, i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=619991 https://bugzilla.novell.com/show_bug.cgi?id=619991#c8 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:34941:low |maint:running:34941:low |maint:released:11.3:35070 |maint:released:11.3:35070 | |maint:released:11.3:36169 --- Comment #8 from Swamp Workflow Management <swamp@suse.com> 2010-10-13 11:31:20 UTC --- Update released for: kvm, kvm-debuginfo, kvm-debugsource Products: openSUSE 11.3 (debug, i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=619991 https://bugzilla.novell.com/show_bug.cgi?id=619991#c9 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:34941:low |maint:running:34941:low |maint:released:11.3:35070 |maint:released:11.3:35070 |maint:released:11.3:36169 |maint:released:11.3:36169 | |maint:released:sle11-sp1:36 | |090 --- Comment #9 from Swamp Workflow Management <swamp@suse.com> 2010-10-13 14:15:59 UTC --- Update released for: kvm, kvm-debuginfo, kvm-debugsource, kvm-kmp-trace, kvm-kmp-vmi Products: SLE-DEBUGINFO 11-SP1 (i386, x86_64) SLE-DESKTOP 11-SP1 (i386, x86_64) SLE-SERVER 11-SP1 (i386, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=619991 https://bugzilla.novell.com/show_bug.cgi?id=619991#c10 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:34941:low |maint:running:34941:low |maint:released:11.3:35070 |maint:released:11.3:35070 |maint:released:11.3:36169 |maint:released:11.3:36169 |maint:released:sle11-sp1:36 |maint:released:sle11-sp1:36 |090 |090 | |maint:released:11.2:36170 --- Comment #10 from Swamp Workflow Management <swamp@suse.com> 2010-10-28 13:39:12 UTC --- Update released for: kvm, kvm-debuginfo, kvm-debugsource Products: openSUSE 11.2 (i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=619991 http://bugzilla.novell.com/show_bug.cgi?id=619991#c11 --- Comment #11 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (619991) was mentioned in https://build.opensuse.org/request/show/44215 Factory / kvm https://build.opensuse.org/request/show/44216 11.3 / kvm https://build.opensuse.org/request/show/44395 11.3 / libvirt -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com