diff options
author | Sunil Muthuswamy <sunilmut@microsoft.com> | 2019-11-13 18:54:39 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-12-18 02:34:10 +0100 |
commit | b902710f78cd982db23467b870ce53b3b8482f07 (patch) | |
tree | b92f338a16f96e831e96c2d97d5b6ca516fa0a8b /target/i386/whp-dispatch.h | |
parent | 72821d93e0cc8c017bf387d2f8826a827cd6dc15 (diff) | |
download | qemu-b902710f78cd982db23467b870ce53b3b8482f07.zip qemu-b902710f78cd982db23467b870ce53b3b8482f07.tar.gz qemu-b902710f78cd982db23467b870ce53b3b8482f07.tar.bz2 |
WHPX: refactor load library
This refactors the load library of WHV libraries to make it more
modular. It makes a helper routine that can be called on demand.
This allows future expansion of load library/functions to support
functionality that is dependent on some feature being available.
Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Message-Id: <MW2PR2101MB1116578040BE1F0C1B662318C0760@MW2PR2101MB1116.namprd21.prod.outlook.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/i386/whp-dispatch.h')
-rw-r--r-- | target/i386/whp-dispatch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/i386/whp-dispatch.h b/target/i386/whp-dispatch.h index 23791fb..87d049c 100644 --- a/target/i386/whp-dispatch.h +++ b/target/i386/whp-dispatch.h @@ -50,5 +50,9 @@ extern struct WHPDispatch whp_dispatch; bool init_whp_dispatch(void); +typedef enum WHPFunctionList { + WINHV_PLATFORM_FNS_DEFAULT, + WINHV_EMULATION_FNS_DEFAULT, +} WHPFunctionList; #endif /* WHP_DISPATCH_H */ |