On 8/2/25 18:17, Mohamed Mediouni wrote:
+++ b/include/hw/boards.h
@@ -276,6 +276,7 @@ struct MachineClass {
void (*wakeup)(MachineState *state);
int (*kvm_type)(MachineState *machine, const char *arg);
int (*hvf_get_physical_address_range)(MachineState *machine);
+ int (*whpx_get_physical_address_range)(MachineState *machine);
We need to generalize this to an accelerator hook, so that there's one code path for both
hvf and whpx. And kvm, for that matter, though it's less obvious how that's handled.
r~