[PATCH v3 2/3] conf: Parse/format XML input type 'evdev'

Michal Prívozník mprivozn at redhat.com
Fri May 21 12:40:22 UTC 2021


On 5/21/21 1:01 PM, Kristina Hanicova wrote:
> Signed-off-by: Kristina Hanicova <khanicov at redhat.com>
> ---
>  docs/formatdomain.rst                    | 37 ++++++++-----
>  docs/schemas/domaincommon.rng            | 20 +++++++
>  src/conf/domain_audit.c                  |  1 +
>  src/conf/domain_conf.c                   | 69 ++++++++++++++++++++----
>  src/conf/domain_conf.h                   | 12 +++++
>  src/conf/domain_validate.c               |  8 +++
>  src/libvirt_private.syms                 |  2 +
>  src/qemu/qemu_cgroup.c                   |  2 +
>  src/qemu/qemu_command.c                  |  1 +
>  src/qemu/qemu_domain_address.c           |  1 +
>  src/qemu/qemu_hotplug.c                  |  1 +
>  src/qemu/qemu_validate.c                 |  6 +++
>  src/security/security_apparmor.c         |  1 +
>  src/security/security_dac.c              |  2 +
>  src/security/security_selinux.c          |  2 +
>  src/security/virt-aa-helper.c            |  3 +-
>  tests/qemuxml2argvdata/input-linux.xml   | 31 +++++++++++
>  tests/qemuxml2xmloutdata/input-linux.xml |  1 +
>  tests/qemuxml2xmltest.c                  |  2 +
>  19 files changed, 179 insertions(+), 23 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/input-linux.xml
>  create mode 120000 tests/qemuxml2xmloutdata/input-linux.xml
> 


> diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
> index 7af6f90aee..93ee1a9f1b 100644
> --- a/tests/qemuxml2xmltest.c
> +++ b/tests/qemuxml2xmltest.c
> @@ -1290,6 +1290,8 @@ mymain(void)
>      DO_TEST("virtio-input-passthrough",
>              QEMU_CAPS_VIRTIO_INPUT_HOST);
>  
> +    DO_TEST("input-linux", QEMU_CAPS_INPUT_LINUX);
> +
>      DO_TEST("memorybacking-set", NONE);
>      DO_TEST("memorybacking-unset", NONE);
>  
> 

Looks like recent additions to this file were using
DO_TEST_CAPS_LATEST() instead. I'll fix it before pushing.

Michal




More information about the libvir-list mailing list