Re: [PATCH] tests/resource: Fix HVM guest in !SHADOW builds

2024-03-01 Thread Andrew Cooper
On 01/03/2024 11:49 am, Roger Pau Monné wrote: > On Thu, Feb 29, 2024 at 08:53:54PM +, Andrew Cooper wrote: >> Right now, test-resource always creates HVM Shadow guests. But if Xen has >> SHADOW compiled out, running the test yields: >> >> $./test-resource >> XENMEM_acquire_resource tests

Re: [PATCH] tests/resource: Fix HVM guest in !SHADOW builds

2024-03-01 Thread Roger Pau Monné
On Thu, Feb 29, 2024 at 08:53:54PM +, Andrew Cooper wrote: > Right now, test-resource always creates HVM Shadow guests. But if Xen has > SHADOW compiled out, running the test yields: > > $./test-resource > XENMEM_acquire_resource tests > Test x86 PV > Created d1 > Test grant tab

[PATCH] tests/resource: Fix HVM guest in !SHADOW builds

2024-02-29 Thread Andrew Cooper
Right now, test-resource always creates HVM Shadow guests. But if Xen has SHADOW compiled out, running the test yields: $./test-resource XENMEM_acquire_resource tests Test x86 PV Created d1 Test grant table Test x86 PVH Skip: 95 - Operation not supported and doesn't really te