> From: Jan Beulich [mailto:[email protected]] > Sent: Wednesday, August 29, 2018 9:59 PM > > Three of the four hooks are not exposed outside of vmx.c, and all of > them have only a single possible non-NULL value. So there's no reason to > use hooks here - a simple set of flag indicators is sufficient (and we > don't even need a flag for the VM entry one, as it's always > (de-)activated together the the vCPU blocking hook, which needs to > remain an actual function pointer). This is the more that with the > Spectre v2 workarounds indirect calls have become more expensive. > > Signed-off-by: Jan Beulich <[email protected]>
Acked-by: Kevin Tian <[email protected]> _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
