On 09/15/16 19:51, Tamas K Lengyel wrote:
> Setting response flags in vm_event are only ever safe if the vCPUs are paused.
> To reflect this we move all checks within the if block that already checks
> whether this is the case. Checks that are only supported on one architecture
> we relocate the bitmask operations to the arch-specific handlers to avoid
> the overhead on architectures that don't support it.
> Furthermore, we clean-up the emulation checks so it more clearly represents
> decision-logic when emulation should take place. As part of this we also
> set the stage to allow emulation in response to other types of events, not
> mem_access violations.
> Signed-off-by: Tamas K Lengyel <tamas.leng...@zentific.com>
> Acked-by: George Dunlap <george.dun...@citrix.com>
> Cc: Jan Beulich <jbeul...@suse.com>
> Cc: Andrew Cooper <andrew.coop...@citrix.com>
> Cc: Razvan Cojocaru <rcojoc...@bitdefender.com>
> Cc: Stefano Stabellini <sstabell...@kernel.org>
> Cc: Julien Grall <julien.gr...@arm.com>
> v2: use bool instead of bool_t
Acked-by: Razvan Cojocaru <rcojoc...@bitdefender.com>
Xen-devel mailing list