Skip to contentSkip to conversation

kvm_pv_eoi: add flag support for -cpu

PATCH Superseded Michael S. Tsirkin 2 participants 3 messages Jun 25, 2012 – Jul 1, 2012 KVM

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm_pv_eoi: add flag support for -cpu

Support the new PV EOI flag in kvm - it just got merged into kvm.git. Set by default with -cpu kvm. Set for -cpu qemu by adding +kvm_pv_eoi.
Clear by adding -kvm_pv_eoi to -cpu option.

---

Note: line is very long but surrounding code seems to do this too in order to make each line include sane # of elements.

 target-i386/cpuid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
target-i386/cpuid.c +1 -1
index 465ea15..2359836 100644
@@ -75,7 +75,7 @@ static const char *ext3_feature_name[] = {
 };
 
 static const char *kvm_feature_name[] = {
-    "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", NULL, NULL, NULL,
+    "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", NULL, "kvm_pv_eoi", NULL,
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
Signature · 1 line
MST
#1 lore raw
Quoted 6 lines · Michael S. Tsirkin

Support the new PV EOI flag in kvm - it just got merged into kvm.git. Set by default with -cpu kvm. Set for -cpu qemu by adding +kvm_pv_eoi.
Clear by adding -kvm_pv_eoi to -cpu option.

Please regenerate against uq/master.

#2 lore raw
Quoted 9 lines · Marcelo Tosatti
Quoted 6 lines · Michael S. Tsirkin

Support the new PV EOI flag in kvm - it just got merged into kvm.git. Set by default with -cpu kvm. Set for -cpu qemu by adding +kvm_pv_eoi.
Clear by adding -kvm_pv_eoi to -cpu option.

Please regenerate against uq/master.

Will do though it seems to apply with a 2 line offset.

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html