virt-manager/tests/cli-test-xml/compare/virt-xml-add-host-device.xml
Cole Robinson 0b4a72fd77 virt-convert: Reimplement it
We totally break CLI compat here, but the previous tool wasn't sustainable.
Instead, repurpose the tool as strictly converting external formats
like ovf/vmx to native libvirt XML, and launch the guest.

So we drop vmx/virt-image output, and virt-image input, and a slew of
command line options. I don't think anyone was depending on this in a
scripted fashion, so in practice I don't think anyone will care.

Add much more comprehensive unit tests while we are at it.
2014-02-07 21:16:09 -05:00

13 lines
370 B
XML

<panic>
<address type="isa" iobase="0x505"/>
</panic>
+ <hostdev mode="subsystem" type="pci" managed="yes">
+ <source>
+ <address domain="0" bus="0" slot="25" function="0"/>
+ </source>
+ </hostdev>
</devices>
</domain>
Domain 'test-many-devices' defined successfully.
Changes will take effect after the next domain shutdown.