mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-19 16:12:40 -06:00
hw/i386/pc: Use generated NotifyVmexitOption_str()
NotifyVmexitOption_str() is QAPI-generated in "qapi/qapi-types-run-state.h", which "sysemu/runstate.h" already includes. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20240301185936.95175-3-philmd@linaro.org>
This commit is contained in:
parent
988b92f6d0
commit
07df0c3951
1 changed files with 1 additions and 3 deletions
|
@ -61,6 +61,7 @@
|
||||||
#include "hw/xen/xen.h"
|
#include "hw/xen/xen.h"
|
||||||
#include "migration/global_state.h"
|
#include "migration/global_state.h"
|
||||||
#include "migration/misc.h"
|
#include "migration/misc.h"
|
||||||
|
#include "sysemu/runstate.h"
|
||||||
#include "sysemu/numa.h"
|
#include "sysemu/numa.h"
|
||||||
#include "hw/hyperv/vmbus-bridge.h"
|
#include "hw/hyperv/vmbus-bridge.h"
|
||||||
#include "hw/mem/nvdimm.h"
|
#include "hw/mem/nvdimm.h"
|
||||||
|
@ -383,9 +384,6 @@ static const QEnumLookup PCSouthBridgeOption_lookup = {
|
||||||
.size = PC_SOUTH_BRIDGE_OPTION_MAX
|
.size = PC_SOUTH_BRIDGE_OPTION_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
#define NotifyVmexitOption_str(val) \
|
|
||||||
qapi_enum_lookup(&NotifyVmexitOption_lookup, (val))
|
|
||||||
|
|
||||||
static int pc_get_south_bridge(Object *obj, Error **errp)
|
static int pc_get_south_bridge(Object *obj, Error **errp)
|
||||||
{
|
{
|
||||||
PCMachineState *pcms = PC_MACHINE(obj);
|
PCMachineState *pcms = PC_MACHINE(obj);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue