Difference between revisions of "Virtual Machine (KVM)"

Jump to navigation Jump to search
→‎Move Virtual Machine: Updated CPU type / mode info
(Added Move Virtual Machine)
(→‎Move Virtual Machine: Updated CPU type / mode info)
Line 101: Line 101:
# Update the config, if necessary...
# Update the config, if necessary...
#* Disk file path - If the VM disks are in a different path on the new server up date the path in the XML file, look for <code>source file=</code>
#* Disk file path - If the VM disks are in a different path on the new server up date the path in the XML file, look for <code>source file=</code>
#* CPU type - If the physical CPU type is different on the new host, you may need to update the VM config to allow for this, update the <code>cpu mode</code> config to match the capabilities of the destination host (see https://www.berrange.com/posts/2018/06/29/cpu-model-configuration-for-qemu-kvm-on-x86-hosts/ for more info)
#* CPU type - If the physical CPU type is different on the new host, you may need to update the VM config to allow for this, update the <code>cpu mode</code> config to match the capabilities of the destination host, or just set to <code><cpu mode='host-passthrough'/></code>.  See https://www.berrange.com/posts/2018/06/29/cpu-model-configuration-for-qemu-kvm-on-x86-hosts/ for more info.
# Import the VM
# Import the VM
#* EG <code> virsh define /path/to/VMName.xml </code>
#* EG <code> virsh define /path/to/VMName.xml </code>
# Start the VM
# Start the VM
#* EG <code> virsh start <VMName> </code>
#* EG <code> virsh start <VMName> </code>


== Other Config ==
== Other Config ==

Navigation menu