diff options
| author | Markus Armbruster <armbru@redhat.com> | 2020-10-21 09:15:20 +0200 |
|---|---|---|
| committer | Michael Roth <michael.roth@amd.com> | 2020-11-02 08:14:36 -0600 |
| commit | 0083124b3adb67bb740f1f06c2360335a5ce1533 (patch) | |
| tree | 9684afe4afe62b5ae134542b86c359ff7c13b59d /qga/commands-posix.c | |
| parent | 939caddc2c24a9f4840e5d9d52eb0465deed1c47 (diff) | |
| download | focaccia-qemu-0083124b3adb67bb740f1f06c2360335a5ce1533.tar.gz focaccia-qemu-0083124b3adb67bb740f1f06c2360335a5ce1533.zip | |
qga: Flatten simple union GuestDeviceId
Simple unions are simpler than flat unions in the schema, but more complicated in C and on the QMP wire: there's extra indirection in C and extra nesting on the wire, both pointless. They should be avoided in new code. GuestDeviceId was recently added for guest-get-devices. Convert it to a flat union. 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 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions