[libvirt] [PATCH 0/2] qemu: Rework CD/DVD changing

Michal Privoznik mprivozn at redhat.com
Fri Jan 25 12:20:41 UTC 2013


The first patch is bare bug fix (without any bug reported though).
The second is again a bug fix, but not so easy to spot. Basically, when we
change a media, we should issue 'eject' first, then wait until the tray gets
open, after which we can finally issue 'change' command. Even for bare 'eject'
we ought to check status, shouldn't we?

Michal Privoznik (2):
  qemu_monitor: Fix tray-open attribute in query-block
  qemu_hotplug: Rework media changing process

 src/qemu/qemu_hotplug.c      | 51 +++++++++++++++++++++++++++++++++++++++++---
 src/qemu/qemu_monitor_json.c |  2 +-
 src/qemu/qemu_monitor_text.c |  6 +++---
 3 files changed, 52 insertions(+), 7 deletions(-)

-- 
1.8.0.2




More information about the libvir-list mailing list