tools/libxl: optimize domain creation skipping domain cpupool move
authorLuca Fancellu <luca.fancellu@arm.com>
Wed, 8 Jun 2022 14:59:55 +0000 (16:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 8 Jun 2022 14:59:55 +0000 (16:59 +0200)
commitbe464973e4565fd9b4999a6eb9db9f469616f07b
treec75d212e8170fbbe6ec6cbd5b93eb64c4df35b3c
parent7ac12e3634cc3ed9234de03e48149e7f5fbf73c3
tools/libxl: optimize domain creation skipping domain cpupool move

Commit 92ea9c54fc81 ("arm/dom0less: assign dom0less guests to cpupools")
introduced a way to start a domain directly on a certain cpupool,
adding a "cpupool_id" member to struct xen_domctl_createdomain.

This was done to be able to start dom0less guests in different pools than
cpupool0, but the toolstack can benefit from it because it can now use
the struct member directly instead of creating the guest in cpupool0
and then moving it to the target cpupool.

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/libs/light/libxl_create.c