Hello, could anyone help review?
On Tue, Jul 3, 2018 at 10:29 AM, Han Han <hhan@xxxxxxxxxx> wrote:
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
--
Best regards,
-----------------------------------
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list