]> Git Repo - qemu.git/commit
hw/i386/vmport: Define enum for all commands
authorLiran Alon <[email protected]>
Thu, 12 Mar 2020 16:54:23 +0000 (18:54 +0200)
committerPaolo Bonzini <[email protected]>
Wed, 10 Jun 2020 16:09:46 +0000 (12:09 -0400)
commitdcd938f032d3cca5d33d9faaca591b498d40debe
tree9928b579c0ffc663743d2f06042700cd59685d87
parentd8f23d619c495bc64977c00e92f3af4ff2c54046
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 <[email protected]>
Signed-off-by: Liran Alon <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20200312165431[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/i386/vmmouse.c
hw/i386/vmport.c
include/hw/i386/vmport.h
This page took 0.026185 seconds and 4 git commands to generate.