mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 04:41:20 +00:00
9d3aa7c6e9
We have tests for simple guests with graphics for basically all other architectures, so it makes sense to include s390x too. The input file was generated by running $ virt-install \ --name guest --os-variant fedora29 \ --vcpus 4 --memory 4096 --disk size=5 \ --graphics vnc \ --print-xml followed by minor tweaks, using a version of virt-manager that includes commit 7b9de27a990f. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Acked-by: Michal Privoznik <mprivozn@redhat.com>
44 lines
1.3 KiB
XML
44 lines
1.3 KiB
XML
<domain type="qemu">
|
|
<name>guest</name>
|
|
<uuid>a7ca230a-fbe0-48b8-8ea6-25836f8cbc32</uuid>
|
|
<metadata>
|
|
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
|
<libosinfo:os id="http://fedoraproject.org/fedora/29"/>
|
|
</libosinfo:libosinfo>
|
|
</metadata>
|
|
<memory>4194304</memory>
|
|
<currentMemory>4194304</currentMemory>
|
|
<vcpu>4</vcpu>
|
|
<os>
|
|
<type arch="s390x" machine="s390-ccw">hvm</type>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<clock offset="utc"/>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-s390x</emulator>
|
|
<disk type="file" device="disk">
|
|
<driver name="qemu" type="qcow2"/>
|
|
<source file="/var/lib/libvirt/images/guest.qcow2"/>
|
|
<target dev="vda" bus="virtio"/>
|
|
</disk>
|
|
<interface type="user">
|
|
<mac address="52:54:00:09:1a:29"/>
|
|
<model type="virtio"/>
|
|
</interface>
|
|
<console type="pty"/>
|
|
<channel type="unix">
|
|
<source mode="bind"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
|
</channel>
|
|
<input type="tablet" bus="virtio"/>
|
|
<input type="keyboard" bus="virtio"/>
|
|
<graphics type="vnc" port="-1"/>
|
|
<video>
|
|
<model type="virtio"/>
|
|
</video>
|
|
<rng model="virtio">
|
|
<backend model="random">/dev/urandom</backend>
|
|
</rng>
|
|
</devices>
|
|
</domain>
|