Skip to content

Commit

Permalink
qga/qapi-schema: Document -1 for invalid PCI address fields
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
huth authored and mdroth committed Jul 27, 2020
1 parent 3aaebc0 commit ba62054
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qga/qapi-schema.json
Expand Up @@ -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
Expand Down

0 comments on commit ba62054

Please sign in to comment.