[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH V3 for-4.20] xen/memory: Make resource_max_frames() to return 0 on unknown type
On 2/17/25 11:41 PM, Andrew Cooper
wrote:
On 17/02/2025 10:34 pm, Oleksandr Tyshchenko wrote:diff --git a/tools/tests/resource/test-resource.c b/tools/tests/resource/test-resource.c index 1b10be16a6..521c1fc51a 100644 --- a/tools/tests/resource/test-resource.c +++ b/tools/tests/resource/test-resource.c @@ -123,6 +123,16 @@ static void test_gnttab(uint32_t domid, unsigned int nr_frames, fail(" Fail: Managed to map gnttab v2 status frames in v1 mode\n"); xenforeignmemory_unmap_resource(fh, res); } + + /* + * If this check starts failing, you've find the right place to test yours/find/found/ Can fix on commit, if Oleksii is happy for this to go into 4.20. Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> The fix looks simply and low risk so lets take it into 4.20: Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx> Thanks. ~ Oleksii
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |