[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] libxl: except Dom0 from setting PoD target
commit 489a7c50c08a280ea12195468ab50c3e56635245 Author: Jan Beulich <jbeulich@xxxxxxxx> AuthorDate: Tue Sep 9 08:16:19 2025 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Tue Sep 9 08:16:19 2025 +0200 libxl: except Dom0 from setting PoD target Dom0 is never started in PoD mode, and hence it can at "best" do harm if we try to set a PoD target for it. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx> Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> --- tools/libs/light/libxl_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/libs/light/libxl_mem.c b/tools/libs/light/libxl_mem.c index 44e554adba..30d65e174b 100644 --- a/tools/libs/light/libxl_mem.c +++ b/tools/libs/light/libxl_mem.c @@ -306,7 +306,7 @@ retry_transaction: } } - if (d_config.c_info.type != LIBXL_DOMAIN_TYPE_PV) { + if (domid && d_config.c_info.type != LIBXL_DOMAIN_TYPE_PV) { r = xc_domain_set_pod_target(ctx->xch, domid, (new_target_memkb + size) / 4, NULL, NULL, NULL); if (r != 0) { -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |