diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2014-07-04 16:44:34 -0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-07-10 17:06:33 +0200 |
commit | 8248c36a5db6ff7d5f07f05148be0dd0160e650c (patch) | |
tree | 8ef117c30e6bf2a0373076828594dff44e6665a0 | |
parent | 3b463a3fa8f7690ffa3ef273993dff349b3a73d3 (diff) | |
download | hqemu-8248c36a5db6ff7d5f07f05148be0dd0160e650c.zip hqemu-8248c36a5db6ff7d5f07f05148be0dd0160e650c.tar.gz |
target-i386: Add "kvmclock-stable-bit" feature bit name
KVM_FEATURE_CLOCKSOURCE_STABLE_BIT is enabled by default and supported
by KVM. But not having a name defined makes QEMU treat it as an unknown
and unmigratable feature flag (as any unknown feature may possibly
require state to be migrated), and disable it by default on "-cpu host".
As a side-effect, the new name also makes the flag configurable,
allowing the user to disable it (which may be useful for testing or for
compatibility with old kernels).
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | target-i386/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 45c662d..6d008ab 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -241,7 +241,7 @@ static const char *kvm_feature_name[] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, + "kvmclock-stable-bit", NULL, NULL, NULL, NULL, NULL, NULL, NULL, }; |