virt-manager/tests/data/cli/compare/virt-xml-add-host-device.xml
Daniel P. Berrangé cfa88603a2 tests: use different USB device when testing hot-add
Libvirt now validates that all <hostdev> elements refer to distinct host
devices. The test suite violates that constraint by trying to hot-add a
device that alreadye exists in the config.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-11-05 12:40:38 +00:00

16 lines
447 B
XML

<vsock model="virtio">
<cid auto="no" address="5"/>
</vsock>
+ <hostdev mode="subsystem" type="usb" managed="yes">
+ <source>
+ <vendor id="0x0483"/>
+ <product id="0x2016"/>
+ </source>
+ </hostdev>
</devices>
<seclabel type="dynamic" model="selinux" relabel="yes"/>
<keywrap>
Domain 'test-for-virtxml' defined successfully.
Changes will take effect after the domain is fully powered off.