qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/5] Fix CD-ROM door with SCSI passthrough


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH 0/5] Fix CD-ROM door with SCSI passthrough
Date: Wed, 8 Feb 2012 18:37:31 +0100

This series makes it possible to use CD drives reliably with scsi-block.
IDE and scsi-disk require more work, because the eject button is not
usable.

CD drives are unmounted at VM start and opened exclusively.  The locking
state is saved and restored for extra kindness.  However, drives are not
remounted because they are unlikely to be needed in the host (they were
CDs for a guest after all), and repeated close/open done by the block
layer would turn into unreliable mount/unmount requests to udisks
(unmounts after the first would return EBUSY).

Paolo Bonzini (5):
  raw-posix: always prefer specific devices to hdev
  raw-posix: put Linux fd fields into a union
  raw-posix: keep complete control of door locking if possible
  configure: probe for dbus
  raw-posix: unmount CD-ROM filesystem via udisks

 Makefile.objs            |    3 +
 block.c                  |    7 ++
 block/raw-posix-udisks.c |  105 ++++++++++++++++++++++++++++++++
 block/raw-posix-udisks.h |   39 ++++++++++++
 block/raw-posix.c        |  150 +++++++++++++++++++++++++++++++++++-----------
 configure                |   39 ++++++++++++
 6 files changed, 308 insertions(+), 35 deletions(-)
 create mode 100644 block/raw-posix-udisks.c
 create mode 100644 block/raw-posix-udisks.h

-- 
1.7.7.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]