[libvirt] [PATCH] Attempt to detect cdrom change failures

Cole Robinson crobinso at redhat.com
Mon Aug 25 17:05:03 UTC 2008


Cole Robinson wrote:
> If a 'change' or 'eject' qemu monitor command fails,
> an error message is printed to the monitor of the
> form "device {not found, is locked, is not 
> removable"}. This is really the only indication we
> have that the command errored out, so scrape the
> monitor reply for "\ndevice " and fail if it is
> found.
> 

There is an obvious syntax error in the patch (that's
what I get for changing things last minute and not
testing)

Updated version attached.

Thanks,
Cole

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libvirt-detect-cdrom-eject-errors-02-patch
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080825/fa79ed18/attachment-0001.ksh>


More information about the libvir-list mailing list