[libvirt] [PATCH] Fix ejecting cdroms with latest qemu syntax

Richard W.M. Jones rjones at redhat.com
Wed Aug 27 10:48:27 UTC 2008


On Mon, Aug 25, 2008 at 01:41:24PM -0400, Cole Robinson wrote:
> Originally, ejecting a cdrom from a qemu guest entailed
> passing 'eject cdrom' to the monitor. But since qemu
> added the -drive option, more than one cdrom can be
> specified, so just using 'cdrom' isn't explicit enough.
> 
> The attached patch updates media change/eject to use
> the current qemu syntax. The new generated commands
> look something like "eject ide0-cd1", with the name
> derived from device target and bus type.

I'm a bit unclear -- will this break for people using older versions
of qemu/kvm?

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 64 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the libvir-list mailing list