kvm: Allow invtsc migration if tsc-khz is set explicitly
commitd99569d9d8562c480e0befab601756b0b7b5d0e0
authorEduardo Habkost <ehabkost@redhat.com>
Sun, 8 Jan 2017 17:32:34 +0000 (8 15:32 -0200)
committerEduardo Habkost <ehabkost@redhat.com>
Mon, 23 Jan 2017 23:26:27 +0000 (23 21:26 -0200)
tree4898552dc5253d4a564e998644e12f4bf01f7b2a
parentd74460ec1bfaad740eee79bf7cb111b1125ffdef
kvm: Allow invtsc migration if tsc-khz is set explicitly

We can safely allow a VM to be migrated with invtsc enabled if
tsc-khz is set explicitly, because:
* QEMU already refuses to start if it can't set the TSC frequency
  to the configured value.
* Management software is already required to keep device
  configuration (including CPU configuration) the same on
  migration source and destination.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170108173234.25721-3-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/kvm.c