ocf / utils

User and staff utilities for the Open Computing Facility
https://www.ocf.berkeley.edu/
Other
7 stars 15 forks source link

migrate-vm: strip CPU information from XML #90

Open abizer opened 5 years ago

abizer commented 5 years ago

when moving VMs from hypervisors with incompatible CPU types, we should strip the CPU type field from the KVM XML domain metadata so we can just start VMs easily without having to virsh edit <domname> to fix the CPU information.

jvperrin commented 5 years ago

+1 to this, could evenreplace it with the correct CPU type for the target hypervisor (for performance perhaps? Not sure how big the difference is there between generic and host CPUs)

jvperrin commented 5 years ago

Oh, also the title should be migrate-vm instead of makevm.