aboutsummaryrefslogtreecommitdiff
path: root/qga
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2020-07-22 06:40:25 +0200
committerMichael Roth <mdroth@linux.vnet.ibm.com>2020-07-27 18:03:55 -0500
commitba620541d0db7e3433babbd97c0413a371e6fb4a (patch)
treeba69a80c728b42994e2c28b27455df228ced8c14 /qga
parent3aaebc0cce4a4963f331f45643e17266646411e6 (diff)
qga/qapi-schema: Document -1 for invalid PCI address fields
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>
Diffstat (limited to 'qga')
-rw-r--r--qga/qapi-schema.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json
index 4be9aad48e..408a662ea5 100644
--- a/qga/qapi-schema.json
+++ b/qga/qapi-schema.json
@@ -846,7 +846,7 @@
##
# @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