mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
vmx: add VIR_DOMAIN_DEF_FEATURE_NO_BOOT_ORDER
Further patches will introduce validation and a default setting of def->os.bootDevs in postParse. Introduce a feature flag to opt out of this and set it in the vmx driver, otherwise we would be adding it <boot dev='hd'/> into every vmx config despite having no way to change it. Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
16782dc329
commit
8e5e5a95a5
@ -2557,6 +2557,7 @@ typedef enum {
|
||||
VIR_DOMAIN_DEF_FEATURE_NAME_SLASH = (1 << 3),
|
||||
VIR_DOMAIN_DEF_FEATURE_INDIVIDUAL_VCPUS = (1 << 4),
|
||||
VIR_DOMAIN_DEF_FEATURE_USER_ALIAS = (1 << 5),
|
||||
VIR_DOMAIN_DEF_FEATURE_NO_BOOT_ORDER = (1 << 6),
|
||||
} virDomainDefFeatures;
|
||||
|
||||
|
||||
|
@ -550,7 +550,8 @@ static virDomainDefParserConfig virVMXDomainDefParserConfig = {
|
||||
.devicesPostParseCallback = virVMXDomainDevicesDefPostParse,
|
||||
.domainPostParseCallback = virVMXDomainDefPostParse,
|
||||
.features = (VIR_DOMAIN_DEF_FEATURE_WIDE_SCSI |
|
||||
VIR_DOMAIN_DEF_FEATURE_NAME_SLASH),
|
||||
VIR_DOMAIN_DEF_FEATURE_NAME_SLASH |
|
||||
VIR_DOMAIN_DEF_FEATURE_NO_BOOT_ORDER),
|
||||
};
|
||||
|
||||
struct virVMXDomainDefNamespaceData {
|
||||
|
Loading…
Reference in New Issue
Block a user