129b22c79SJustin Terry (VM) /* 229b22c79SJustin Terry (VM) * QEMU Windows Hypervisor Platform accelerator (WHPX) support 329b22c79SJustin Terry (VM) * 429b22c79SJustin Terry (VM) * Copyright Microsoft, Corp. 2017 529b22c79SJustin Terry (VM) * 629b22c79SJustin Terry (VM) * Authors: 729b22c79SJustin Terry (VM) * 829b22c79SJustin Terry (VM) * This work is licensed under the terms of the GNU GPL, version 2 or later. 929b22c79SJustin Terry (VM) * See the COPYING file in the top-level directory. 1029b22c79SJustin Terry (VM) * 1129b22c79SJustin Terry (VM) */ 1229b22c79SJustin Terry (VM) 1329b22c79SJustin Terry (VM) #ifndef QEMU_WHPX_H 1429b22c79SJustin Terry (VM) #define QEMU_WHPX_H 1529b22c79SJustin Terry (VM) 1629b22c79SJustin Terry (VM) #ifdef CONFIG_WHPX 1729b22c79SJustin Terry (VM) 1829b22c79SJustin Terry (VM) int whpx_enabled(void); 19*84f4ef17SPaolo Bonzini bool whpx_apic_in_platform(void); 20faf20793SSunil Muthuswamy 2129b22c79SJustin Terry (VM) #else /* CONFIG_WHPX */ 2229b22c79SJustin Terry (VM) 2329b22c79SJustin Terry (VM) #define whpx_enabled() (0) 24faf20793SSunil Muthuswamy #define whpx_apic_in_platform() (0) 2529b22c79SJustin Terry (VM) 2629b22c79SJustin Terry (VM) #endif /* CONFIG_WHPX */ 2729b22c79SJustin Terry (VM) 2829b22c79SJustin Terry (VM) #endif /* QEMU_WHPX_H */ 29