]> xenbits.xensource.com Git - xen.git/commitdiff
xen/ioreq: Fix check for CONFIG_ARCH_VCPU_IOREQ_COMPLETION
authorSergiy Kibrik <Sergiy_Kibrik@epam.com>
Thu, 19 Dec 2024 11:13:26 +0000 (13:13 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 19 Dec 2024 17:33:54 +0000 (17:33 +0000)
It should be CONFIG_ARCH_VCPU_IOREQ_COMPLETION (as in Kconfig) and not
misspelled CONFIG_VCPU_ARCH_IOREQ_COMPLETION.

Fixes: 979cfdd3e58c ("ioreq: do not build arch_vcpu_ioreq_completion() for non-VMX configurations")
Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/ioreq.c
xen/include/xen/ioreq.h

index 5c3d0c69aa99dadd78acbd3fa828a08ccf34c3b8..d6491df8e77f26e9dedfe96b1a4b756447b838b7 100644 (file)
@@ -29,7 +29,7 @@ bool arch_ioreq_complete_mmio(void)
     return handle_mmio();
 }
 
-#ifdef CONFIG_VCPU_ARCH_IOREQ_COMPLETION
+#ifdef CONFIG_ARCH_VCPU_IOREQ_COMPLETION
 bool arch_vcpu_ioreq_completion(enum vio_completion completion)
 {
     switch ( completion )
index 29a17e8ff52e080eb584368e5ccb1f5a786d0103..4f3c6b598dba5485396d0ae947b52899c594b955 100644 (file)
@@ -112,7 +112,7 @@ int ioreq_server_dm_op(struct xen_dm_op *op, struct domain *d, bool *const_op);
 
 bool arch_ioreq_complete_mmio(void);
 
-#ifdef CONFIG_VCPU_ARCH_IOREQ_COMPLETION
+#ifdef CONFIG_ARCH_VCPU_IOREQ_COMPLETION
 bool arch_vcpu_ioreq_completion(enum vio_completion completion);
 #else
 static inline bool arch_vcpu_ioreq_completion(enum vio_completion completion)