mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 22:39:56 +00:00
c5fe779342
Use the latest virt-manager to regenerate the files. The command line is once again along the lines of $ virt-install \ --name guest --os-variant fedora29 \ --vcpus 4 --memory 4096 --disk size=5 \ --graphics (none|vnc) \ --print-xml with some minor tweaks performed afterwards. This removes a number of inconsistencies between the files, and makes it so the only differences are actually relevant either to the architecture and machine type at hand, or to having graphics rather than being headless. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
57 lines
1.6 KiB
XML
57 lines
1.6 KiB
XML
<domain type='qemu'>
|
|
<name>guest</name>
|
|
<uuid>61288c03-0b0d-4f1e-9496-0f0256f2e013</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='x86_64' machine='q35'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
</features>
|
|
<clock offset='utc'>
|
|
<timer name='rtc' tickpolicy='catchup'/>
|
|
<timer name='pit' tickpolicy='delay'/>
|
|
<timer name='hpet' present='no'/>
|
|
</clock>
|
|
<pm>
|
|
<suspend-to-mem enabled='no'/>
|
|
<suspend-to-disk enabled='no'/>
|
|
</pm>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-x86_64</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>
|
|
<controller type='usb' index='0' model='qemu-xhci' ports='15'/>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:d2:70:0b'/>
|
|
<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='usb'/>
|
|
<graphics type='vnc' port='-1'/>
|
|
<video>
|
|
<model type='qxl'/>
|
|
</video>
|
|
<memballoon model='virtio'/>
|
|
<rng model='virtio'>
|
|
<backend model='random'>/dev/urandom</backend>
|
|
</rng>
|
|
</devices>
|
|
</domain>
|