[PATCH v1 4/4] qemu_domain.c: do not launch ppc64 guests with Hyperv settings
Andrea Bolognani
abologna at redhat.com
Mon Mar 23 17:31:39 UTC 2020
On Thu, 2020-03-19 at 18:44 -0300, Daniel Henrique Barboza wrote:
[...]
> + case VIR_DOMAIN_FEATURE_HYPERV:
> + if (def->features[i] != VIR_TRISTATE_SWITCH_ABSENT &&
> + ARCH_IS_PPC64(def->os.arch)) {
> + virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
> + _("Hyperv features are not supported for "
> + "architecture '%s' or machine type '%s'"),
> + virArchToString(def->os.arch),
> + def->os.machine);
> + return -1;
Same as the previous patches, except Hyper-V is reasonable not only
on x86 but also on aarch64, so the architecture check should be
tweaked accordingly.
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list