mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-24 21:34:47 +03:00
68962f48f7
libvirt has supported this for a while. Wire it all up through the cli, and fix some bad assumptions along the way.
31 lines
784 B
XML
31 lines
784 B
XML
<domain type="kvm">
|
|
<name>TestGuest</name>
|
|
<currentMemory>204800</currentMemory>
|
|
<memory>409600</memory>
|
|
<uuid>12345678-1234-1234-1234-123456789012</uuid>
|
|
<os>
|
|
<type arch="i686">hvm</type>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<vcpu cpuset="1-3">4</vcpu>
|
|
<devices>
|
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
|
<disk type="block" device="cdrom">
|
|
<target dev="hdc" bus="ide"/>
|
|
<readonly/>
|
|
</disk>
|
|
</devices>
|
|
<features>
|
|
<acpi/>
|
|
</features>
|
|
<clock offset="utc"/>
|
|
<cpu mode="custom" match="exact">
|
|
<model fallback="allow">foobar</model>
|
|
<topology sockets="1" cores="4" threads="1"/>
|
|
<feature policy="forbid" name="x2apic"/>
|
|
</cpu>
|
|
<seclabel type="static" model="testSecurity">
|
|
<label>frob</label>
|
|
</seclabel>
|
|
</domain>
|