x86/shadow: Fix build with CONFIG_SHADOW_PAGING=n following c/s 2fc002b
PATCH 1/1 x86/shadow: Fix build with CONFIG_SHADOW_PAGING=n following c/s 2fc002b
c/s 2fc002b "xen: Use a typesafe to define INVALID_GFN" changed INVALID_GFN to be a boxed type.
Identified by a Travis randconfig run:
https://travis-ci.org/xen-project/xen/jobs/144980445
---
CC: Tim Deegan <[email protected]>
CC: George Dunlap <[email protected]>
CC: Julien Grall <[email protected]>
--- xen/arch/x86/mm/shadow/none.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/mm/shadow/none.c +1 -1
@@ -42,7 +42,7 @@ static unsigned long _gva_to_gfn(struct vcpu *v, struct p2m_domain *p2m, unsigned long va, uint32_t *pfec) {ASSERT_UNREACHABLE (); -return INVALID_GFN ; +return gfn_x (INVALID_GFN ); }static void _update_cr3 (struct vcpu *v,int do_locking)
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 7 lines · Andrew Cooper
c/s 2fc002b "xen: Use a typesafe to define
INVALID_GFN" changedINVALID_GFNto be a boxed type.Identified by a Travis randconfig run:
https://travis-ci.org/xen-project/xen/jobs/144980445Signed-off-by Andrew Cooper <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Hi Andrew,
Quoted 7 lines · Andrew Cooper
c/s 2fc002b "xen: Use a typesafe to define
INVALID_GFN" changedINVALID_GFNto be a boxed type.Identified by a Travis randconfig run:
https://travis-ci.org/xen-project/xen/jobs/144980445Signed-off-by Andrew Cooper <[email protected]>
Sorry for the breakage:
Regards,
Quoted 22 lines
---
CC: Tim Deegan <[email protected]>
CC: George Dunlap <[email protected]>
CC: Julien Grall <[email protected]>--- xen/arch/x86/mm/shadow/none.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)xen/arch/x86/mm/shadow/none.c +1
-1@@ -42,7 +42,7 @@ static unsigned long _gva_to_gfn(struct vcpu *v, struct p2m_domain *p2m, unsigned long va, uint32_t *pfec) {ASSERT_UNREACHABLE (); -return INVALID_GFN ; +return gfn_x (INVALID_GFN ); }static void _update_cr3 (struct vcpu *v,int do_locking)
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 7 lines · Julien Grall
Hi Andrew,
Quoted 4 lines · Andrew Cooper
c/s 2fc002b "xen: Use a typesafe to define
INVALID_GFN" changedINVALID_GFNto
be a boxed type.
Quoted 6 lines
Quoted 4 lines
Identified by a Travis randconfig run:
https://travis-ci.org/xen-project/xen/jobs/144980445Signed-off-by Andrew Cooper <[email protected]>Sorry for the breakage:
No problem. Breakage like this is always going to happen when making sweeping improvements like that; It even slipped through my pre-push checks.
At least we now have automation in place now which complains.
~Andrew
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel