[Top][All Lists]
[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
- [Qemu-devel] [PATCH 0/5] Fix CD-ROM door with SCSI passthrough,
Paolo Bonzini <=
[Qemu-devel] [PATCH 2/5] raw-posix: put Linux fd fields into a union, Paolo Bonzini, 2012/02/08
[Qemu-devel] [PATCH 4/5] configure: probe for dbus, Paolo Bonzini, 2012/02/08
[Qemu-devel] [PATCH 5/5] raw-posix: unmount CD-ROM filesystem via udisks, Paolo Bonzini, 2012/02/08