target-i386: block migration and savevm if invariant tsc is exposed
commit68bfd0ad4a1dcc4c328d5db85dc746b49c1ec07e
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 14 May 2014 19:30:09 +0000 (14 16:30 -0300)
committerAndreas Färber <afaerber@suse.de>
Wed, 25 Jun 2014 21:54:57 +0000 (25 23:54 +0200)
tree9bfda4de66b4b6a265168fb3c1a278e046707617
parent7d854c471a2180037b49547e31bd940166513657
target-i386: block migration and savevm if invariant tsc is exposed

Invariant TSC documentation mentions that "invariant TSC will run at a
constant rate in all ACPI P-, C-. and T-states".

This is not the case if migration to a host with different TSC frequency
is allowed, or if savevm is performed. So block migration/savevm.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
[AF+mtosatti: Updated error message]
Signed-off-by: Andreas Färber <afaerber@suse.de>
target-i386/cpu-qom.h
target-i386/kvm.c
target-i386/machine.c