[libvirt] [PATCH 0/2] Add function to check cdrom status
Han Han
hhan at redhat.com
Tue Jul 10 02:05:50 UTC 2018
Hello, could anyone help review?
On Tue, Jul 3, 2018 at 10:29 AM, Han Han <hhan at redhat.com> 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,
-----------------------------------
Han Han
Quality Engineer
Redhat.
Email: hhan at redhat.com
Phone: +861065339333
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180710/502b5aaa/attachment-0001.htm>
More information about the libvir-list
mailing list