[PATCH 0/2] Add function to check cdrom status

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

 



In libvirt, it gives general Input/Output error when reading a not ready
cdrom. This error could be more detailed on cdrom, such as drive not
ready, no disc, trey open, no information.
These patches provide private API virFileCdromStatus to check cdrom storage backend
status and improve error handling of virStorageBackendVolOpen on cdrom.

Han Han (2):
  util: Introduce virFileCdromStatus
  storage: Improve error handling on cdrom backend

 src/libvirt_private.syms   |  1 +
 src/storage/storage_util.c | 38 ++++++++++++++++++++++++++++
 src/util/virfile.c         | 52 ++++++++++++++++++++++++++++++++++++++
 src/util/virfile.h         | 10 ++++++++
 4 files changed, 101 insertions(+)

-- 
2.17.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux