[Libvir] [PATCH] Fix cdrom connect/disconnect for qemu

Cole Robinson crobinso at redhat.com
Wed Mar 12 16:57:59 UTC 2008


The attached patch fixes cdrom changing for a live qemu guest. There
were a few issues preventing it from working:

1) It didn't anticipate no <source> block in the xml.
2) No support for ejecting the media
3) Small bug which prevented the running guest xml from being updated.

I've tested this via virt-manager, and now qemu and xen seem
to have parity wrt cdrom connect/disconnect.

Thanks,
Cole


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libvirt-qemu-accept-no-source-3
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080312/7138e1e1/attachment-0001.ksh>


More information about the libvir-list mailing list