mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
conf: domain: Define enum for HyperV mode
Signed-off-by: Tim Wiederhake <twiederh@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
33d9d3806c
commit
cc1546ac6b
@ -137,6 +137,12 @@ VIR_ENUM_IMPL(virDomainOS,
|
||||
"xenpvh",
|
||||
);
|
||||
|
||||
VIR_ENUM_IMPL(virDomainHyperVMode,
|
||||
VIR_DOMAIN_HYPERV_MODE_LAST,
|
||||
"none",
|
||||
"custom",
|
||||
);
|
||||
|
||||
VIR_ENUM_IMPL(virDomainBoot,
|
||||
VIR_DOMAIN_BOOT_LAST,
|
||||
"fd",
|
||||
|
@ -155,6 +155,13 @@ typedef enum {
|
||||
} virDomainOSType;
|
||||
VIR_ENUM_DECL(virDomainOS);
|
||||
|
||||
typedef enum {
|
||||
VIR_DOMAIN_HYPERV_MODE_NONE = 0,
|
||||
VIR_DOMAIN_HYPERV_MODE_CUSTOM,
|
||||
|
||||
VIR_DOMAIN_HYPERV_MODE_LAST
|
||||
} virDomainHyperVMode;
|
||||
VIR_ENUM_DECL(virDomainHyperVMode);
|
||||
|
||||
struct _virDomainHostdevOrigStates {
|
||||
union {
|
||||
|
Loading…
x
Reference in New Issue
Block a user