The information that can be retrieved via UDEV is also usable for non-PCI
devices. So let's allow build_guest_fsinfo_for_real_device() on non-PCI
devices, too. This is required to fix the bug that CCW devices show up
without "Target" when running libvirt's "virsh domfsinfo" command (see
https://bugzilla.redhat.com/show_bug.cgi?id=1755075 for details).

Thomas Huth (3):
  qga/qapi-schema: Document -1 for invalid PCI address fields
  qga/commands-posix: Rework build_guest_fsinfo_for_real_device()
    function
  qga/commands-posix: Move the udev code from the pci to the generic
    function

 qga/commands-posix.c | 113 +++++++++++++++++++++++++------------------
 qga/qapi-schema.json |   2 +-
 2 files changed, 66 insertions(+), 49 deletions(-)

-- 
2.18.1


Reply via email to