mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
b275e3c266
This is a virt-xml option to refresh a VM to use the latest machine type version for the machine type it's currently using. Ex: pseries-2.11 -> pseries pc-q35-5.0 -> q35 This is useful for when qemu deprecates and removes the machine type out from under you, or to pick up bug fixes. Signed-off-by: Cole Robinson <crobinso@redhat.com>
86 lines
2.9 KiB
XML
86 lines
2.9 KiB
XML
<capabilities>
|
|
|
|
<host>
|
|
<uuid>b88e553c-5920-4aa8-bb09-cc0ab8e6e0c2</uuid>
|
|
<cpu>
|
|
<arch>s390x</arch>
|
|
<model>host</model>
|
|
<topology sockets="2" cores="2" threads="1"/>
|
|
<pages unit="KiB" size="4"/>
|
|
<pages unit="KiB" size="1024"/>
|
|
</cpu>
|
|
<power_management>
|
|
<suspend_disk/>
|
|
<suspend_hybrid/>
|
|
</power_management>
|
|
<migration_features>
|
|
<live/>
|
|
<uri_transports>
|
|
<uri_transport>tcp</uri_transport>
|
|
<uri_transport>rdma</uri_transport>
|
|
</uri_transports>
|
|
</migration_features>
|
|
<topology>
|
|
<cells num="1">
|
|
<cell id="0">
|
|
<memory unit="KiB">2878860</memory>
|
|
<cpus num="4">
|
|
<cpu id="0" socket_id="0" core_id="0" siblings="0"/>
|
|
<cpu id="1" socket_id="0" core_id="1" siblings="1"/>
|
|
<cpu id="2" socket_id="1" core_id="0" siblings="2"/>
|
|
<cpu id="3" socket_id="1" core_id="1" siblings="3"/>
|
|
</cpus>
|
|
</cell>
|
|
</cells>
|
|
</topology>
|
|
<secmodel>
|
|
<model>selinux</model>
|
|
<doi>0</doi>
|
|
<baselabel type="kvm">system_u:system_r:svirt_t:s0</baselabel>
|
|
<baselabel type="qemu">system_u:system_r:svirt_tcg_t:s0</baselabel>
|
|
</secmodel>
|
|
<secmodel>
|
|
<model>dac</model>
|
|
<doi>0</doi>
|
|
<baselabel type="kvm">+0:+0</baselabel>
|
|
<baselabel type="qemu">+0:+0</baselabel>
|
|
</secmodel>
|
|
</host>
|
|
|
|
<guest>
|
|
<os_type>hvm</os_type>
|
|
<arch name='s390x'>
|
|
<wordsize>64</wordsize>
|
|
<emulator>/usr/bin/qemu-system-s390x</emulator>
|
|
<machine maxCpus='248'>s390-ccw-virtio-6.1</machine>
|
|
<machine canonical='s390-ccw-virtio-6.1' maxCpus='248'>s390-ccw-virtio</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-4.0</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-5.2</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-3.1</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-2.6</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-2.12</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-2.9</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-6.0</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-5.1</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-3.0</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-4.2</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-2.5</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-2.11</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-2.8</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-5.0</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-4.1</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-2.4</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-2.10</machine>
|
|
<machine maxCpus='248'>s390-ccw-virtio-2.7</machine>
|
|
<domain type='qemu'/>
|
|
<domain type='kvm'/>
|
|
</arch>
|
|
<features>
|
|
<cpuselection/>
|
|
<deviceboot/>
|
|
<disksnapshot default='on' toggle='no'/>
|
|
</features>
|
|
</guest>
|
|
|
|
</capabilities>
|