diff mbox series

target/i386: Add support of KVM_FEATURE_ASYNC_PF_VMEXIT for guest

Message ID 20231024083354.1171308-1-xiaoyao.li@intel.com (mailing list archive)
State New, archived
Headers show
Series target/i386: Add support of KVM_FEATURE_ASYNC_PF_VMEXIT for guest | expand

Commit Message

Xiaoyao Li Oct. 24, 2023, 8:33 a.m. UTC
KVM_FEATURE_ASYNC_PF_VMEXIT has been introduced for years, however QEMU
doesn't support expose it to guest. Add support for it.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
---
 target/i386/cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paolo Bonzini Jan. 25, 2024, 9:59 a.m. UTC | #1
Queued, thanks.

Paolo
diff mbox series

Patch

diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index bdca901dfaa4..d664a408b3c7 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -856,7 +856,7 @@  FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
         .feat_names = {
             "kvmclock", "kvm-nopiodelay", "kvm-mmu", "kvmclock",
             "kvm-asyncpf", "kvm-steal-time", "kvm-pv-eoi", "kvm-pv-unhalt",
-            NULL, "kvm-pv-tlb-flush", NULL, "kvm-pv-ipi",
+            NULL, "kvm-pv-tlb-flush", "kvm-asyncpf-vmexit", "kvm-pv-ipi",
             "kvm-poll-control", "kvm-pv-sched-yield", "kvm-asyncpf-int", "kvm-msi-ext-dest-id",
             NULL, NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,