[libvirt PATCH 6/6] qemu: wire up command line support for ACPI index
Peter Krempa
pkrempa at redhat.com
Wed Apr 7 07:25:31 UTC 2021
On Tue, Apr 06, 2021 at 16:31:37 +0100, Daniel Berrange wrote:
> This makes it possible to enable stable NIC device names in most modern
> Linux distos.
distros
>
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
> src/qemu/qemu_command.c | 2 +
> src/qemu/qemu_validate.c | 35 +++++++++++
> .../devices-acpi-index.x86_64-latest.args | 57 +++++++++++++++++
> tests/qemuxml2argvdata/devices-acpi-index.xml | 62 +++++++++++++++++++
> tests/qemuxml2argvtest.c | 2 +
> 5 files changed, 158 insertions(+)
> create mode 100644 tests/qemuxml2argvdata/devices-acpi-index.x86_64-latest.args
> create mode 100644 tests/qemuxml2argvdata/devices-acpi-index.xml
[...]
> diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
> index ea98f0e6a8..83dd6a7756 100644
> --- a/tests/qemuxml2argvtest.c
> +++ b/tests/qemuxml2argvtest.c
> @@ -3611,6 +3611,8 @@ mymain(void)
> DO_TEST_CAPS_LATEST("virtio-9p-multidevs");
> DO_TEST_CAPS_LATEST("virtio-9p-createmode");
>
> + DO_TEST_CAPS_LATEST("devices-acpi-index");
> +
> if (getenv("LIBVIRT_SKIP_CLEANUP") == NULL)
> virFileDeleteTree(fakerootdir);
Missing XML->XML test activation and output file.
More information about the libvir-list
mailing list