]> Git Repo - qemu.git/commitdiff
target-i386: Add "kvmclock-stable-bit" feature bit name
authorEduardo Habkost <[email protected]>
Fri, 4 Jul 2014 19:44:34 +0000 (16:44 -0300)
committerPaolo Bonzini <[email protected]>
Thu, 10 Jul 2014 15:06:33 +0000 (17:06 +0200)
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 <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
target-i386/cpu.c

index 45c662dad4fb1c4b2cfb56017d14e1cfbe6ffee6..6d008ab5ee7d35cd3b188b08386ae77b502ec000 100644 (file)
@@ -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,
 };
 
This page took 0.030474 seconds and 4 git commands to generate.