On 04/11/2022 14:43, Roger Pau Monne wrote:
> This reverts commit adb715db698bc8ec3b88c24eb88b21e9da5b6c07.
>
> The dumping of stacks for HVM guests is problematic, since it requires
> taking the p2m lock in order to walk the guest page tables and the
> p2m.
>
> The suggested solution to the issue is to introduce and use a lockless
> p2m walker, that relies on being executed with interrupts disabled in
> order to prevent any p2m pages from being freed while doing the
> walk.
>
> Note that modifications of p2m entries are already done atomically in
> order to prevent the hardware walker from seeing partially updated
> values.
>
> Signed-off-by: Roger Pau MonnĂ© <[email protected]>

Acked-by: Andrew Cooper <[email protected]>, as agreed on the
x86 maintainers call.

~Andrew

Reply via email to