diff options
| author | Liran Alon | 2020-03-12 17:54:23 +0100 |
|---|---|---|
| committer | Paolo Bonzini | 2020-06-10 18:09:46 +0200 |
| commit | dcd938f032d3cca5d33d9faaca591b498d40debe (patch) | |
| tree | 9928b579c0ffc663743d2f06042700cd59685d87 /docs/user | |
| parent | hw/i386/vmport: Introduce vmport.h (diff) | |
| download | qemu-dcd938f032d3cca5d33d9faaca591b498d40debe.tar.gz qemu-dcd938f032d3cca5d33d9faaca591b498d40debe.tar.xz qemu-dcd938f032d3cca5d33d9faaca591b498d40debe.zip | |
hw/i386/vmport: Define enum for all commands
No functional change.
Defining an enum for all VMPort commands have the following advantages:
* It gets rid of the error-prone requirement to update VMPORT_ENTRIES
when new VMPort commands are added to QEMU.
* It makes it clear to know by looking at one place at the source, what
are all the VMPort commands supported by QEMU.
Reviewed-by: Nikita Leshenko <nikita.leshchenko@oracle.com>
Signed-off-by: Liran Alon <liran.alon@oracle.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200312165431.82118-9-liran.alon@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/user')
0 files changed, 0 insertions, 0 deletions
