[PATCH 0/2] Change virFileIsCDROM to check cdrom status

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

 



Refactor virFileIsCDROM to virFileCheckCDROM and now it could be used to
store cdrom status.

In libvirt, it gives general Input/Output error when reading a not ready
cdrom backend vol. This error should be replaced with warning just like the
warning of lacking backing file.

Han Han (2):
  util: Refactor virFileIsCDROM to virFileCheckCDROM
  storage: Improve error handling on cdrom backend

 src/libvirt_private.syms   |  2 +-
 src/qemu/qemu_domain.c     |  4 ++--
 src/storage/storage_util.c | 15 ++++++++++++-
 src/util/virfile.c         | 44 ++++++++++++++++++++++++++++++++------
 src/util/virfile.h         | 11 +++++++++-
 5 files changed, 65 insertions(+), 11 deletions(-)

-- 
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