mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
libxl: Turn on user aliases
When I implemented user aliases I've invented this virDomainDefFeatures flag so that individual drivers can signal support for user provided aliases. The reasoning was that a device alias might be part of guest ABI, or used in a different way then in QEMU. Well, neither applies to the libxl driver, so it's safe to allow user aliases there. Resolves: https://gitlab.com/libvirt/libvirt/-/issues/231 Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
parent
c7dca225e5
commit
cac9608c17
@ -452,7 +452,8 @@ virDomainDefParserConfig libxlDomainDefParserConfig = {
|
||||
.domainPostParseCallback = libxlDomainDefPostParse,
|
||||
.domainValidateCallback = libxlDomainDefValidate,
|
||||
|
||||
.features = VIR_DOMAIN_DEF_FEATURE_FW_AUTOSELECT |
|
||||
.features = VIR_DOMAIN_DEF_FEATURE_USER_ALIAS |
|
||||
VIR_DOMAIN_DEF_FEATURE_FW_AUTOSELECT |
|
||||
VIR_DOMAIN_DEF_FEATURE_NET_MODEL_STRING,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user