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>
19 lines
474 B
XML
19 lines
474 B
XML
<domain type='kvm'>
|
|
<name>test</name>
|
|
<uuid>6695eb01-f6a4-8304-79aa-97f2502e193f</uuid>
|
|
<memory unit='KiB'>8388608</memory>
|
|
<currentMemory unit='KiB'>2097152</currentMemory>
|
|
<vcpu placement='static'>2</vcpu>
|
|
<os>
|
|
<type arch='x86_64' machine="pc-q35-foobar">hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
</devices>
|
|
</domain>
|
|
|