[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/2] i386: Disable 'kvm-asyncpf-int' feature for machine types <=
From: |
Vitaly Kuznetsov |
Subject: |
[PATCH 2/2] i386: Disable 'kvm-asyncpf-int' feature for machine types <= 5.1 |
Date: |
Thu, 1 Apr 2021 17:19:57 +0200 |
'kvm-asyncpf-int' was implemented in QEMU-5.2 so older machine types
should have it disabled to make migration to an older QEMU which does not
support this feature possible.
The issue went unnoticed probably because we also forgot to add
'kvm-asyncpf-int' to 'kvm_default_props[]' so it was rarely enabled.
Fixes: db5daafab2 ("target/i386: support KVM_FEATURE_ASYNC_PF_INT")
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
---
hw/i386/pc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 8a84b25a031e..04d5f76bf133 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -103,6 +103,7 @@ const size_t pc_compat_5_2_len =
G_N_ELEMENTS(pc_compat_5_2);
GlobalProperty pc_compat_5_1[] = {
{ "ICH9-LPC", "x-smi-cpu-hotplug", "off" },
+ { TYPE_X86_CPU, "kvm-asyncpf-int", "off" },
{ TYPE_X86_CPU, "kvm-msi-ext-dest-id", "off" },
};
const size_t pc_compat_5_1_len = G_N_ELEMENTS(pc_compat_5_1);
--
2.30.2
- [PATCH 0/2] i386: Fix interrupt based Async PF enablement, Vitaly Kuznetsov, 2021/04/01
- [PATCH 2/2] i386: Disable 'kvm-asyncpf-int' feature for machine types <= 5.1,
Vitaly Kuznetsov <=
- [PATCH 1/2] i386: Add 'kvm-asyncpf-int' to kvm_default_props array, Vitaly Kuznetsov, 2021/04/01
- Re: [PATCH 0/2] i386: Fix interrupt based Async PF enablement, Paolo Bonzini, 2021/04/01
- Re: [PATCH 0/2] i386: Fix interrupt based Async PF enablement, Vitaly Kuznetsov, 2021/04/06
- Re: [PATCH 0/2] i386: Fix interrupt based Async PF enablement, Paolo Bonzini, 2021/04/08
- Re: [PATCH 0/2] i386: Fix interrupt based Async PF enablement, Dr. David Alan Gilbert, 2021/04/15
- Re: [PATCH 0/2] i386: Fix interrupt based Async PF enablement, Eduardo Habkost, 2021/04/20
- Re: [PATCH 0/2] i386: Fix interrupt based Async PF enablement, Vitaly Kuznetsov, 2021/04/21
- Re: [PATCH 0/2] i386: Fix interrupt based Async PF enablement, Daniel P . Berrangé, 2021/04/21
- Re: [PATCH 0/2] i386: Fix interrupt based Async PF enablement, Dr. David Alan Gilbert, 2021/04/21
- Re: [PATCH 0/2] i386: Fix interrupt based Async PF enablement, Vitaly Kuznetsov, 2021/04/21