Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx> --- src/conf/domain_conf.c | 6 ++++++ src/conf/domain_conf.h | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index f88405ab02..74d86a346a 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -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", diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h index c4a8dcc2ea..169fc17039 100644 --- a/src/conf/domain_conf.h +++ b/src/conf/domain_conf.h @@ -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 { -- 2.31.1