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

[qemu-xen master] qga/qapi-schema: Document -1 for invalid PCI address fields



commit ba620541d0db7e3433babbd97c0413a371e6fb4a
Author:     Thomas Huth <thuth@xxxxxxxxxx>
AuthorDate: Wed Jul 22 06:40:25 2020 +0200
Commit:     Michael Roth <mdroth@xxxxxxxxxxxxxxxxxx>
CommitDate: Mon Jul 27 18:03:55 2020 -0500

    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@xxxxxxxxxx>
    Signed-off-by: Thomas Huth <thuth@xxxxxxxxxx>
    Signed-off-by: Michael Roth <mdroth@xxxxxxxxxxxxxxxxxx>
---
 qga/qapi-schema.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
--
generated by git-patchbot for /home/xen/git/qemu-xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.