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

Cole Robinson crobinso at redhat.com
Wed Sep 3 15:50:53 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.
> 
> Thanks,
> Cole
> 
> 

I've committed this.

Thanks,
Cole




More information about the libvir-list mailing list