summary refs log tree commit diff stats
path: root/python/qemu/console_socket.py
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-10-21 09:15:17 +0200
committerMichael Roth <michael.roth@amd.com>2020-11-02 08:14:35 -0600
commitb519e2e982f7f5368c5976ca44d9ca7bbb7a3378 (patch)
treebee296d57a4ec0785cf99b42d7236541e58e1d07 /python/qemu/console_socket.py
parent2c6605389c1f76973d92b69b85d40d94b8f1092c (diff)
downloadfocaccia-qemu-b519e2e982f7f5368c5976ca44d9ca7bbb7a3378.tar.gz
focaccia-qemu-b519e2e982f7f5368c5976ca44d9ca7bbb7a3378.zip
qga: Rename guest-get-devices return member 'address' to 'id'
Member 'address' is union GuestDeviceAddress with a single branch
GuestDeviceAddressPCI, containing PCI vendor ID and device ID.  This
is not a PCI address.  Type GuestPCIAddress is.  Messed up in recent
commit 2e4211cee4 "qga: add command guest-get-devices for reporting
VirtIO devices".

Rename type GuestDeviceAddressPCI to GuestDeviceIdPCI, type
GuestDeviceAddress to GuestDeviceId, and member 'address' to 'id'.

Document the member properly while there.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Diffstat (limited to 'python/qemu/console_socket.py')
0 files changed, 0 insertions, 0 deletions