libvirt/tests/qemuxml2argvdata/virtio-transitional-not-supported.xml
Andrea Bolognani ff3f22e0ec qemu: Improve validation for virtio input devices
While the parser and schema have to accept all possible models,
virtio-(non-)transitional models are only applicable to
type=passthrough and should be otherwise rejected.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
2019-03-11 09:53:40 +01:00

12 lines
309 B
XML

<domain type='qemu'>
<name>QEMUGuest1</name>
<uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
<memory unit='KiB'>219136</memory>
<os>
<type arch='x86_64' machine='q35'>hvm</type>
</os>
<devices>
<input type='keyboard' bus='virtio' model='virtio-non-transitional'/>
</devices>
</domain>