mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
7b9de27a99
As long as it's supported by both QEMU and the guest OS, there's really no reason not to add it. Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Andrea Bolognani <abologna@redhat.com>
45 lines
1.3 KiB
XML
45 lines
1.3 KiB
XML
<domain type="kvm">
|
|
<name>foobar</name>
|
|
<uuid>00000000-1111-2222-3333-444444444444</uuid>
|
|
<metadata>
|
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
|
<libosinfo:os id="http://fedoraproject.org/fedora/21"/>
|
|
</libosinfo:libosinfo>
|
|
</metadata>
|
|
<memory>65536</memory>
|
|
<currentMemory>65536</currentMemory>
|
|
<vcpu>2</vcpu>
|
|
<os>
|
|
<type arch="s390x" machine="s390-ccw-virtio">hvm</type>
|
|
<kernel>/kernel.img</kernel>
|
|
<initrd>/initrd.img</initrd>
|
|
</os>
|
|
<clock offset="utc"/>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-s390x</emulator>
|
|
<disk type="file" device="disk">
|
|
<driver name="qemu" type="qcow2"/>
|
|
<source file="/dev/default-pool/testvol1.img"/>
|
|
<target dev="vda" bus="virtio"/>
|
|
</disk>
|
|
<disk type="file" device="cdrom">
|
|
<driver name="qemu"/>
|
|
<source file="/tmp/__virtinst_cli_exist1.img"/>
|
|
<target dev="sda" bus="scsi"/>
|
|
<readonly/>
|
|
</disk>
|
|
<controller type="scsi" index="0" model="virtio-scsi"/>
|
|
<interface type="bridge">
|
|
<source bridge="eth0"/>
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<model type="virtio"/>
|
|
</interface>
|
|
<console type="pty">
|
|
<target type="sclp"/>
|
|
</console>
|
|
<rng model="virtio">
|
|
<backend model="random">/dev/urandom</backend>
|
|
</rng>
|
|
</devices>
|
|
</domain>
|