]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qga/qapi-schema: Document -1 for invalid PCI address fields
authorThomas Huth <thuth@redhat.com>
Wed, 22 Jul 2020 04:40:25 +0000 (06:40 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 27 Jul 2020 23:03:55 +0000 (18:03 -0500)
The "guest-get-fsinfo" could also be used for non-PCI devices in the
future. And the code in GuestPCIAddress() in qga/commands-win32.c seems
to be using "-1" for fields that it can not determine already. Thus
let's properly document "-1" as value for invalid PCI address fields.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/qapi-schema.json

index 4be9aad48e26931022663801e0123f479792e899..408a662ea58f329f643dcdc986014afb51433776 100644 (file)
 ##
 # @GuestDiskAddress:
 #
-# @pci-controller: controller's PCI address
+# @pci-controller: controller's PCI address (fields are set to -1 if invalid)
 # @bus-type: bus type
 # @bus: bus id
 # @target: target id