nestedhvm: return the pfec from the pagetable walk.
authorTim Deegan <tim@xen.org>
Thu, 2 Aug 2012 13:44:53 +0000 (14:44 +0100)
committerTim Deegan <tim@xen.org>
Thu, 2 Aug 2012 13:44:53 +0000 (14:44 +0100)
commit097baed0b10099cd43477f81bf18cf4dd4a58ecf
tree4c0cb29e744d914dab1898cceddb64439735a83e
parentd2a57e8153361633ce9ac95bb94f0f11ed399f33
nestedhvm: return the pfec from the pagetable walk.

Don't clobber it with the pfec from teh p2m walk behind it; the guest
will not expect (or be able to handle) error codes that come from the
p2m table, which it can't see or control.

Signed-off-by: Tim Deegan <tim@xen.org>
Acked-by: Christoph Egger <Christoph.Egger@amd.com>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/p2m.c