|
|
3e5111 |
From 00e9313798b4e830b372d0069fc211019d67f978 Mon Sep 17 00:00:00 2001
|
|
|
3e5111 |
Message-Id: <00e9313798b4e830b372d0069fc211019d67f978@dist-git>
|
|
|
3e5111 |
From: Andrea Bolognani <abologna@redhat.com>
|
|
|
3e5111 |
Date: Tue, 4 Apr 2017 14:59:31 +0200
|
|
|
3e5111 |
Subject: [PATCH] qemu: Enforce ACPI, UEFI requirements
|
|
|
3e5111 |
|
|
|
3e5111 |
Depending on the architecture, requirements for ACPI and UEFI can
|
|
|
3e5111 |
be different; more specifically, while on x86 UEFI requires ACPI,
|
|
|
3e5111 |
on aarch64 it's the other way around.
|
|
|
3e5111 |
|
|
|
3e5111 |
Enforce these requirements when validating the domain, and make
|
|
|
3e5111 |
the error message more accurate by mentioning that they're not
|
|
|
3e5111 |
necessarily applicable to all architectures.
|
|
|
3e5111 |
|
|
|
3e5111 |
Several aarch64 test cases had to be tweaked because they would
|
|
|
3e5111 |
have failed the validation step otherwise.
|
|
|
3e5111 |
|
|
|
3e5111 |
(cherry picked from commit 396ca36cb0be87bdf6c337bbc8098920eddea065)
|
|
|
3e5111 |
|
|
|
3e5111 |
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1429509
|
|
|
3e5111 |
|
|
|
3e5111 |
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
|
|
|
3e5111 |
---
|
|
|
3e5111 |
src/qemu/qemu_command.c | 20 ++++----------------
|
|
|
3e5111 |
src/qemu/qemu_domain.c | 20 ++++++++++++++++++++
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-aavmf-virtio-mmio.args | 1 +
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-aavmf-virtio-mmio.xml | 1 -
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-cpu-passthrough.args | 1 +
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-cpu-passthrough.xml | 1 -
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-video-virtio-gpu-pci.args | 1 +
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-video-virtio-gpu-pci.xml | 3 ---
|
|
|
3e5111 |
...xml2argv-aarch64-virt-2.6-virtio-pci-default.args | 1 +
|
|
|
3e5111 |
...uxml2argv-aarch64-virt-2.6-virtio-pci-default.xml | 1 -
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-virt-default-nic.args | 1 +
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-virt-default-nic.xml | 3 ---
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-virt-virtio.args | 1 +
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-virt-virtio.xml | 1 -
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-virtio-pci-default.args | 1 +
|
|
|
3e5111 |
.../qemuxml2argv-aarch64-virtio-pci-default.xml | 1 -
|
|
|
3e5111 |
...xml2argv-aarch64-virtio-pci-manual-addresses.args | 1 +
|
|
|
3e5111 |
...uxml2argv-aarch64-virtio-pci-manual-addresses.xml | 1 -
|
|
|
3e5111 |
.../qemuxml2argv-balloon-mmio-deflate.args | 1 +
|
|
|
3e5111 |
.../qemuxml2argv-balloon-mmio-deflate.xml | 1 -
|
|
|
3e5111 |
.../qemuxml2xmlout-aarch64-aavmf-virtio-mmio.xml | 1 -
|
|
|
3e5111 |
.../qemuxml2xmlout-aarch64-video-virtio-gpu-pci.xml | 1 -
|
|
|
3e5111 |
.../qemuxml2xmlout-aarch64-virtio-pci-default.xml | 1 -
|
|
|
3e5111 |
...ml2xmlout-aarch64-virtio-pci-manual-addresses.xml | 1 -
|
|
|
3e5111 |
24 files changed, 33 insertions(+), 33 deletions(-)
|
|
|
3e5111 |
|
|
|
3e5111 |
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
|
|
|
3e5111 |
index 59fedaaaf..8ec4ec3a6 100644
|
|
|
3e5111 |
--- a/src/qemu/qemu_command.c
|
|
|
3e5111 |
+++ b/src/qemu/qemu_command.c
|
|
|
3e5111 |
@@ -9346,18 +9346,16 @@ qemuBuildRedirdevCommandLine(virLogManagerPtr logManager,
|
|
|
3e5111 |
}
|
|
|
3e5111 |
|
|
|
3e5111 |
|
|
|
3e5111 |
-static int
|
|
|
3e5111 |
+static void
|
|
|
3e5111 |
qemuBuildDomainLoaderCommandLine(virCommandPtr cmd,
|
|
|
3e5111 |
- virDomainDefPtr def,
|
|
|
3e5111 |
- virQEMUCapsPtr qemuCaps)
|
|
|
3e5111 |
+ virDomainDefPtr def)
|
|
|
3e5111 |
{
|
|
|
3e5111 |
- int ret = -1;
|
|
|
3e5111 |
virDomainLoaderDefPtr loader = def->os.loader;
|
|
|
3e5111 |
virBuffer buf = VIR_BUFFER_INITIALIZER;
|
|
|
3e5111 |
int unit = 0;
|
|
|
3e5111 |
|
|
|
3e5111 |
if (!loader)
|
|
|
3e5111 |
- return 0;
|
|
|
3e5111 |
+ return;
|
|
|
3e5111 |
|
|
|
3e5111 |
switch ((virDomainLoader) loader->type) {
|
|
|
3e5111 |
case VIR_DOMAIN_LOADER_TYPE_ROM:
|
|
|
3e5111 |
@@ -9366,12 +9364,6 @@ qemuBuildDomainLoaderCommandLine(virCommandPtr cmd,
|
|
|
3e5111 |
break;
|
|
|
3e5111 |
|
|
|
3e5111 |
case VIR_DOMAIN_LOADER_TYPE_PFLASH:
|
|
|
3e5111 |
- if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_NO_ACPI) &&
|
|
|
3e5111 |
- def->features[VIR_DOMAIN_FEATURE_ACPI] != VIR_TRISTATE_SWITCH_ON) {
|
|
|
3e5111 |
- virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
|
|
3e5111 |
- _("ACPI must be enabled in order to use UEFI"));
|
|
|
3e5111 |
- goto cleanup;
|
|
|
3e5111 |
- }
|
|
|
3e5111 |
|
|
|
3e5111 |
if (loader->secure == VIR_TRISTATE_BOOL_YES) {
|
|
|
3e5111 |
virCommandAddArgList(cmd,
|
|
|
3e5111 |
@@ -9409,10 +9401,7 @@ qemuBuildDomainLoaderCommandLine(virCommandPtr cmd,
|
|
|
3e5111 |
break;
|
|
|
3e5111 |
}
|
|
|
3e5111 |
|
|
|
3e5111 |
- ret = 0;
|
|
|
3e5111 |
- cleanup:
|
|
|
3e5111 |
virBufferFreeAndReset(&buf;;
|
|
|
3e5111 |
- return ret;
|
|
|
3e5111 |
}
|
|
|
3e5111 |
|
|
|
3e5111 |
|
|
|
3e5111 |
@@ -9849,8 +9838,7 @@ qemuBuildCommandLine(virQEMUDriverPtr driver,
|
|
|
3e5111 |
if (qemuBuildCpuCommandLine(cmd, driver, def, qemuCaps) < 0)
|
|
|
3e5111 |
goto error;
|
|
|
3e5111 |
|
|
|
3e5111 |
- if (qemuBuildDomainLoaderCommandLine(cmd, def, qemuCaps) < 0)
|
|
|
3e5111 |
- goto error;
|
|
|
3e5111 |
+ qemuBuildDomainLoaderCommandLine(cmd, def);
|
|
|
3e5111 |
|
|
|
3e5111 |
if (!migrateURI && !snapshot && qemuDomainAlignMemorySizes(def) < 0)
|
|
|
3e5111 |
goto error;
|
|
|
3e5111 |
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
|
|
|
3e5111 |
index 9f165c1da..f383a6cf2 100644
|
|
|
3e5111 |
--- a/src/qemu/qemu_domain.c
|
|
|
3e5111 |
+++ b/src/qemu/qemu_domain.c
|
|
|
3e5111 |
@@ -2884,6 +2884,26 @@ qemuDomainDefValidate(const virDomainDef *def,
|
|
|
3e5111 |
goto cleanup;
|
|
|
3e5111 |
}
|
|
|
3e5111 |
|
|
|
3e5111 |
+ /* On x86, UEFI requires ACPI */
|
|
|
3e5111 |
+ if (def->os.loader &&
|
|
|
3e5111 |
+ def->os.loader->type == VIR_DOMAIN_LOADER_TYPE_PFLASH &&
|
|
|
3e5111 |
+ ARCH_IS_X86(def->os.arch) &&
|
|
|
3e5111 |
+ def->features[VIR_DOMAIN_FEATURE_ACPI] != VIR_TRISTATE_SWITCH_ON) {
|
|
|
3e5111 |
+ virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
|
|
3e5111 |
+ _("UEFI requires ACPI on this architecture"));
|
|
|
3e5111 |
+ goto cleanup;
|
|
|
3e5111 |
+ }
|
|
|
3e5111 |
+
|
|
|
3e5111 |
+ /* On aarch64, ACPI requires UEFI */
|
|
|
3e5111 |
+ if (def->features[VIR_DOMAIN_FEATURE_ACPI] == VIR_TRISTATE_SWITCH_ON &&
|
|
|
3e5111 |
+ def->os.arch == VIR_ARCH_AARCH64 &&
|
|
|
3e5111 |
+ (!def->os.loader ||
|
|
|
3e5111 |
+ def->os.loader->type != VIR_DOMAIN_LOADER_TYPE_PFLASH)) {
|
|
|
3e5111 |
+ virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
|
|
|
3e5111 |
+ _("ACPI requires UEFI on this architecture"));
|
|
|
3e5111 |
+ goto cleanup;
|
|
|
3e5111 |
+ }
|
|
|
3e5111 |
+
|
|
|
3e5111 |
if (def->os.loader &&
|
|
|
3e5111 |
def->os.loader->secure == VIR_TRISTATE_BOOL_YES) {
|
|
|
3e5111 |
/* These are the QEMU implementation limitations. But we
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-aavmf-virtio-mmio.args b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-aavmf-virtio-mmio.args
|
|
|
3e5111 |
index bf4b2f793..68fb61b1e 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-aavmf-virtio-mmio.args
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-aavmf-virtio-mmio.args
|
|
|
3e5111 |
@@ -16,6 +16,7 @@ QEMU_AUDIO_DRV=none \
|
|
|
3e5111 |
-nodefconfig \
|
|
|
3e5111 |
-nodefaults \
|
|
|
3e5111 |
-monitor unix:/tmp/lib/domain--1-aarch64test/monitor.sock,server,nowait \
|
|
|
3e5111 |
+-no-acpi \
|
|
|
3e5111 |
-boot c \
|
|
|
3e5111 |
-kernel /aarch64.kernel \
|
|
|
3e5111 |
-initrd /aarch64.initrd \
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-aavmf-virtio-mmio.xml b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-aavmf-virtio-mmio.xml
|
|
|
3e5111 |
index 8c7428cf8..5d7217307 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-aavmf-virtio-mmio.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-aavmf-virtio-mmio.xml
|
|
|
3e5111 |
@@ -13,7 +13,6 @@
|
|
|
3e5111 |
<boot dev='hd'/>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
<features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
<apic/>
|
|
|
3e5111 |
<pae/>
|
|
|
3e5111 |
<gic version='2'/>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-cpu-passthrough.args b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-cpu-passthrough.args
|
|
|
3e5111 |
index 52d2112b8..9c8c001f1 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-cpu-passthrough.args
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-cpu-passthrough.args
|
|
|
3e5111 |
@@ -16,6 +16,7 @@ QEMU_AUDIO_DRV=none \
|
|
|
3e5111 |
-nodefconfig \
|
|
|
3e5111 |
-nodefaults \
|
|
|
3e5111 |
-monitor unix:/tmp/lib/domain--1-aarch64test/monitor.sock,server,nowait \
|
|
|
3e5111 |
+-no-acpi \
|
|
|
3e5111 |
-boot c \
|
|
|
3e5111 |
-drive file=/aarch64.raw,format=raw,if=none,id=drive-virtio-disk0 \
|
|
|
3e5111 |
-device virtio-blk-device,drive=drive-virtio-disk0,id=virtio-disk0
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-cpu-passthrough.xml b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-cpu-passthrough.xml
|
|
|
3e5111 |
index 4cdf387f3..0dda09504 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-cpu-passthrough.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-cpu-passthrough.xml
|
|
|
3e5111 |
@@ -8,7 +8,6 @@
|
|
|
3e5111 |
<type arch="aarch64" machine="virt">hvm</type>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
<features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
<apic/>
|
|
|
3e5111 |
<pae/>
|
|
|
3e5111 |
</features>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-video-virtio-gpu-pci.args b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-video-virtio-gpu-pci.args
|
|
|
3e5111 |
index 76ee977a3..2f8c51610 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-video-virtio-gpu-pci.args
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-video-virtio-gpu-pci.args
|
|
|
3e5111 |
@@ -16,6 +16,7 @@ QEMU_AUDIO_DRV=none \
|
|
|
3e5111 |
-nodefconfig \
|
|
|
3e5111 |
-nodefaults \
|
|
|
3e5111 |
-monitor unix:/tmp/lib/domain--1-aarch64-vgpu/monitor.sock,server,nowait \
|
|
|
3e5111 |
+-no-acpi \
|
|
|
3e5111 |
-device ioh3420,port=0x8,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,\
|
|
|
3e5111 |
addr=0x1 \
|
|
|
3e5111 |
-device ioh3420,port=0x9,chassis=2,id=pci.2,bus=pcie.0,multifunction=on,\
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-video-virtio-gpu-pci.xml b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-video-virtio-gpu-pci.xml
|
|
|
3e5111 |
index 4b52a731b..d9a012893 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-video-virtio-gpu-pci.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-video-virtio-gpu-pci.xml
|
|
|
3e5111 |
@@ -7,9 +7,6 @@
|
|
|
3e5111 |
<os>
|
|
|
3e5111 |
<type arch='aarch64' machine='virt'>hvm</type>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
- <features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
- </features>
|
|
|
3e5111 |
<cpu mode='custom' match='exact'>
|
|
|
3e5111 |
<model fallback='allow'>cortex-a57</model>
|
|
|
3e5111 |
</cpu>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-2.6-virtio-pci-default.args b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-2.6-virtio-pci-default.args
|
|
|
3e5111 |
index df03c6e02..e99d412a7 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-2.6-virtio-pci-default.args
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-2.6-virtio-pci-default.args
|
|
|
3e5111 |
@@ -16,6 +16,7 @@ QEMU_AUDIO_DRV=none \
|
|
|
3e5111 |
-nodefconfig \
|
|
|
3e5111 |
-nodefaults \
|
|
|
3e5111 |
-monitor unix:/tmp/lib/domain--1-aarch64test/monitor.sock,server,nowait \
|
|
|
3e5111 |
+-no-acpi \
|
|
|
3e5111 |
-boot c \
|
|
|
3e5111 |
-kernel /aarch64.kernel \
|
|
|
3e5111 |
-initrd /aarch64.initrd \
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-2.6-virtio-pci-default.xml b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-2.6-virtio-pci-default.xml
|
|
|
3e5111 |
index e745101f1..43bc0089c 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-2.6-virtio-pci-default.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-2.6-virtio-pci-default.xml
|
|
|
3e5111 |
@@ -12,7 +12,6 @@
|
|
|
3e5111 |
<cmdline>earlyprintk console=ttyAMA0,115200n8 rw root=/dev/vda rootwait</cmdline>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
<features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
<apic/>
|
|
|
3e5111 |
<pae/>
|
|
|
3e5111 |
</features>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-default-nic.args b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-default-nic.args
|
|
|
3e5111 |
index 29f65f6b9..47d77618b 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-default-nic.args
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-default-nic.args
|
|
|
3e5111 |
@@ -17,6 +17,7 @@ QEMU_AUDIO_DRV=none \
|
|
|
3e5111 |
-nodefaults \
|
|
|
3e5111 |
-monitor unix:/tmp/lib/domain--1-aarch64-virt-default/monitor.sock,server,\
|
|
|
3e5111 |
nowait \
|
|
|
3e5111 |
+-no-acpi \
|
|
|
3e5111 |
-boot c \
|
|
|
3e5111 |
-kernel /aarch64.kernel \
|
|
|
3e5111 |
-initrd /aarch64.initrd \
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-default-nic.xml b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-default-nic.xml
|
|
|
3e5111 |
index 3a6f098d0..17ddc9096 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-default-nic.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-default-nic.xml
|
|
|
3e5111 |
@@ -4,9 +4,6 @@
|
|
|
3e5111 |
<memory>1048576</memory>
|
|
|
3e5111 |
<currentMemory>1048576</currentMemory>
|
|
|
3e5111 |
<vcpu>1</vcpu>
|
|
|
3e5111 |
- <features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
- </features>
|
|
|
3e5111 |
<cpu match='exact'>
|
|
|
3e5111 |
<model>cortex-a53</model>
|
|
|
3e5111 |
</cpu>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-virtio.args b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-virtio.args
|
|
|
3e5111 |
index b5b010ca4..5fef3b488 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-virtio.args
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-virtio.args
|
|
|
3e5111 |
@@ -16,6 +16,7 @@ QEMU_AUDIO_DRV=none \
|
|
|
3e5111 |
-nodefconfig \
|
|
|
3e5111 |
-nodefaults \
|
|
|
3e5111 |
-monitor unix:/tmp/lib/domain--1-aarch64test/monitor.sock,server,nowait \
|
|
|
3e5111 |
+-no-acpi \
|
|
|
3e5111 |
-boot c \
|
|
|
3e5111 |
-kernel /aarch64.kernel \
|
|
|
3e5111 |
-initrd /aarch64.initrd \
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-virtio.xml b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-virtio.xml
|
|
|
3e5111 |
index ad3461512..2692e61c4 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-virtio.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virt-virtio.xml
|
|
|
3e5111 |
@@ -12,7 +12,6 @@
|
|
|
3e5111 |
<cmdline>earlyprintk console=ttyAMA0,115200n8 rw root=/dev/vda rootwait</cmdline>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
<features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
<apic/>
|
|
|
3e5111 |
<pae/>
|
|
|
3e5111 |
</features>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-default.args b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-default.args
|
|
|
3e5111 |
index 46ac51d50..23a5fffd0 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-default.args
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-default.args
|
|
|
3e5111 |
@@ -16,6 +16,7 @@ QEMU_AUDIO_DRV=none \
|
|
|
3e5111 |
-nodefconfig \
|
|
|
3e5111 |
-nodefaults \
|
|
|
3e5111 |
-monitor unix:/tmp/lib/domain--1-aarch64test/monitor.sock,server,nowait \
|
|
|
3e5111 |
+-no-acpi \
|
|
|
3e5111 |
-boot c \
|
|
|
3e5111 |
-kernel /aarch64.kernel \
|
|
|
3e5111 |
-initrd /aarch64.initrd \
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-default.xml b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-default.xml
|
|
|
3e5111 |
index 2a84a9669..72bf0c95c 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-default.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-default.xml
|
|
|
3e5111 |
@@ -12,7 +12,6 @@
|
|
|
3e5111 |
<cmdline>earlyprintk console=ttyAMA0,115200n8 rw root=/dev/vda rootwait</cmdline>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
<features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
<apic/>
|
|
|
3e5111 |
<pae/>
|
|
|
3e5111 |
</features>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-manual-addresses.args b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-manual-addresses.args
|
|
|
3e5111 |
index 06403996e..54244fdcf 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-manual-addresses.args
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-manual-addresses.args
|
|
|
3e5111 |
@@ -16,6 +16,7 @@ QEMU_AUDIO_DRV=none \
|
|
|
3e5111 |
-nodefconfig \
|
|
|
3e5111 |
-nodefaults \
|
|
|
3e5111 |
-monitor unix:/tmp/lib/domain--1-aarch64test/monitor.sock,server,nowait \
|
|
|
3e5111 |
+-no-acpi \
|
|
|
3e5111 |
-boot c \
|
|
|
3e5111 |
-kernel /aarch64.kernel \
|
|
|
3e5111 |
-initrd /aarch64.initrd \
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-manual-addresses.xml b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-manual-addresses.xml
|
|
|
3e5111 |
index 5e1b494ed..fee32588f 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-manual-addresses.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-aarch64-virtio-pci-manual-addresses.xml
|
|
|
3e5111 |
@@ -13,7 +13,6 @@
|
|
|
3e5111 |
<boot dev='hd'/>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
<features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
<apic/>
|
|
|
3e5111 |
<pae/>
|
|
|
3e5111 |
</features>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-balloon-mmio-deflate.args b/tests/qemuxml2argvdata/qemuxml2argv-balloon-mmio-deflate.args
|
|
|
3e5111 |
index 10d136258..e568e3c39 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-balloon-mmio-deflate.args
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-balloon-mmio-deflate.args
|
|
|
3e5111 |
@@ -16,6 +16,7 @@ QEMU_AUDIO_DRV=none \
|
|
|
3e5111 |
-nodefconfig \
|
|
|
3e5111 |
-nodefaults \
|
|
|
3e5111 |
-monitor unix:/tmp/lib/domain--1-aarch64test/monitor.sock,server,nowait \
|
|
|
3e5111 |
+-no-acpi \
|
|
|
3e5111 |
-boot c \
|
|
|
3e5111 |
-kernel /aarch64.kernel \
|
|
|
3e5111 |
-initrd /aarch64.initrd \
|
|
|
3e5111 |
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-balloon-mmio-deflate.xml b/tests/qemuxml2argvdata/qemuxml2argv-balloon-mmio-deflate.xml
|
|
|
3e5111 |
index 1b5b48c42..49b7d2c60 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2argvdata/qemuxml2argv-balloon-mmio-deflate.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2argvdata/qemuxml2argv-balloon-mmio-deflate.xml
|
|
|
3e5111 |
@@ -12,7 +12,6 @@
|
|
|
3e5111 |
<cmdline>earlyprintk console=ttyAMA0,115200n8 rw root=/dev/vda rootwait</cmdline>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
<features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
<apic/>
|
|
|
3e5111 |
<pae/>
|
|
|
3e5111 |
</features>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-aavmf-virtio-mmio.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-aavmf-virtio-mmio.xml
|
|
|
3e5111 |
index bea65990e..9e728300e 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-aavmf-virtio-mmio.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-aavmf-virtio-mmio.xml
|
|
|
3e5111 |
@@ -13,7 +13,6 @@
|
|
|
3e5111 |
<boot dev='hd'/>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
<features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
<apic/>
|
|
|
3e5111 |
<pae/>
|
|
|
3e5111 |
<gic version='2'/>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-video-virtio-gpu-pci.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-video-virtio-gpu-pci.xml
|
|
|
3e5111 |
index 2c765e7c3..8590f485e 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-video-virtio-gpu-pci.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-video-virtio-gpu-pci.xml
|
|
|
3e5111 |
@@ -8,7 +8,6 @@
|
|
|
3e5111 |
<type arch='aarch64' machine='virt'>hvm</type>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
<features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
<gic version='2'/>
|
|
|
3e5111 |
</features>
|
|
|
3e5111 |
<cpu mode='custom' match='exact' check='none'>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-virtio-pci-default.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-virtio-pci-default.xml
|
|
|
3e5111 |
index 88a6a6a0c..e5496424b 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-virtio-pci-default.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-virtio-pci-default.xml
|
|
|
3e5111 |
@@ -13,7 +13,6 @@
|
|
|
3e5111 |
<boot dev='hd'/>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
<features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
<apic/>
|
|
|
3e5111 |
<pae/>
|
|
|
3e5111 |
<gic version='2'/>
|
|
|
3e5111 |
diff --git a/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-virtio-pci-manual-addresses.xml b/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-virtio-pci-manual-addresses.xml
|
|
|
3e5111 |
index 83cf0d1f5..83d8dcc4a 100644
|
|
|
3e5111 |
--- a/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-virtio-pci-manual-addresses.xml
|
|
|
3e5111 |
+++ b/tests/qemuxml2xmloutdata/qemuxml2xmlout-aarch64-virtio-pci-manual-addresses.xml
|
|
|
3e5111 |
@@ -13,7 +13,6 @@
|
|
|
3e5111 |
<boot dev='hd'/>
|
|
|
3e5111 |
</os>
|
|
|
3e5111 |
<features>
|
|
|
3e5111 |
- <acpi/>
|
|
|
3e5111 |
<apic/>
|
|
|
3e5111 |
<pae/>
|
|
|
3e5111 |
<gic version='2'/>
|
|
|
3e5111 |
--
|
|
|
3e5111 |
2.12.2
|
|
|
3e5111 |
|