libvirt/src/libxl
Olaf Hering bdbd902722 libxl: set vcpu affinity during domain creation
Since Xen 4.5 libxl allows to set affinities during domain creation.
This enables Xen to allocate the domain memory on NUMA systems close to
the specified pcpus.

Libvirt can now handle <domain/cputune/vcpupin> in domU.xml correctly.

Without this change, Xen will create the domU and assign NUMA memory and
vcpu affinities on its own. Later libvirt will adjust the affinity,
which may move the vcpus away from the assigned NUMA node.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
2021-05-18 10:11:55 -06:00
..
libvirtd_libxl.aug libxl: do not enable nested HVM unless global nested_hvm option enabled 2018-04-17 21:15:27 -06:00
libxl_api_wrapper.h libxl: add API wrapper for libxl_set_memory_target 2021-04-01 14:01:06 -06:00
libxl_capabilities.c virCapabilitiesHostNUMAAddCell: Take double pointer 2021-05-10 15:16:25 +02:00
libxl_capabilities.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_conf.c libxl: set vcpu affinity during domain creation 2021-05-18 10:11:55 -06:00
libxl_conf.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_domain.c libxl: set vcpu affinity during domain creation 2021-05-18 10:11:55 -06:00
libxl_domain.h libxl: set vcpu affinity during domain creation 2021-05-18 10:11:55 -06:00
libxl_driver.c libxl: remove obsolete check for result of xc_get_max_cpus 2021-05-04 16:24:57 -06:00
libxl_driver.h src/libxl: use #pragma once in headers 2019-06-13 17:05:10 +02:00
libxl_logger.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_logger.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_migration.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl_migration.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
libxl.conf libxl: do not enable nested HVM unless global nested_hvm option enabled 2018-04-17 21:15:27 -06:00
meson.build build: Remove unused 'conflicts' key from virt_daemon_unit 2021-02-10 09:30:41 -07:00
test_libvirtd_libxl.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00
virtxend.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtxend.service.in systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
virtxend.sysconf systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
xen_common.c xenParseHypervisorFeatures: Remove superfluous VIR_FREE 2021-04-21 10:20:44 +02:00
xen_common.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xl.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xl.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xm.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xen_xm.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
xenxs_private.h xenconfig: move contents to libxl driver and remove directory 2019-08-26 11:06:12 -06:00