libvirt/src/qemu
Daniel Henrique Barboza 1b22dd6dd4 qemuDomainSetNumaParamsLive: set nodeset for root cgroup
This function handles the change of NUMA nodeset for a given
guest, setting CpusetMems for the emulator, vcpus and IOThread
sub-groups. It doesn't set the same  nodeset to the root cgroup
though. This means that cpuset.mems of the root cgroup ends up
holding the new nodeset and the old nodeset as well. For
a guest with placement=strict, nodeset='0', doing

virsh numatune <vm> 0 8 --live

Will make cpuset.mems of emulator, vcpus and iothread to be
"8", but cpuset.mems of the root cgroup will be "0,8".

This means that any new tasks that ends up landing in the
root cgroup, aside from the emulator/vcpus/iothread sub-groups,
will be split between the old nodeset and the new nodeset,
which is not what we want.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-06-16 16:29:36 +02:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug
Makefile.inc.am
MIGRATION.txt
qemu_agent.c src: Fix boolean assignment 2020-05-05 13:08:57 +02:00
qemu_agent.h
qemu_alias.c qemu_alias.c: fix qemuAssingDeviceMemballoonAlias() typo 2020-05-18 07:52:00 +02:00
qemu_alias.h
qemu_backup.c qemu: Refuse blockjobs on disk bus='sd' with -blockdev 2020-05-12 06:55:00 +02:00
qemu_backup.h backup: Store error message for failed backups 2020-04-24 08:56:57 +02:00
qemu_block.c qemuBlockStorageSourceCreateFormat: Force write access when formatting images 2020-05-12 06:56:09 +02:00
qemu_block.h
qemu_blockjob.c qemuBlockJobDataDisposeJobdata: Free data.commit.disabledBitmapsBase 2020-05-14 11:45:29 +02:00
qemu_blockjob.h
qemu_capabilities.c qemu: Check if AMD secure guest support is enabled 2020-06-16 09:43:44 +02:00
qemu_capabilities.h qemu: Introduce fw_cfg capability 2020-06-10 14:00:38 +02:00
qemu_capspriv.h qemu: Invalidate capabilities when host CPU changes 2020-05-25 16:10:04 +02:00
qemu_cgroup.c qemu: do not allow /dev/rtc or /dev/hpet access via the devices cgroup 2020-05-19 10:04:06 +02:00
qemu_cgroup.h
qemu_checkpoint.c qemu: Refuse blockjobs on disk bus='sd' with -blockdev 2020-05-12 06:55:00 +02:00
qemu_checkpoint.h
qemu_command.c qemu: Generate command line for -fw_cfg 2020-06-10 14:00:38 +02:00
qemu_command.h qemu: Prepare for testing of 'netdev_add' props via qemuxml2argvtest 2020-05-20 09:41:58 +02:00
qemu_conf.c virQEMUDriverConfigNew: Add slash to cfg->defaultTLSx509certdir for non-embedded driver 2020-06-16 12:52:07 +02:00
qemu_conf.h
qemu_dbus.c qemu-dbus: register DBus bus to the VM cgroup 2020-04-22 09:58:10 +02:00
qemu_dbus.h qemu-dbus: register DBus bus to the VM cgroup 2020-04-22 09:58:10 +02:00
qemu_domain_address.c qemu/conf: set HOTPLUGGABLE connect flag during PCI address set init 2020-04-12 22:39:51 -04:00
qemu_domain_address.h
qemu_domain.c qemu: Fill default value in //cpu/@migratable attribute 2020-06-09 20:32:50 +02:00
qemu_domain.h qemu: Refuse blockjobs on disk bus='sd' with -blockdev 2020-05-12 06:55:00 +02:00
qemu_driver.c qemuDomainSetNumaParamsLive: set nodeset for root cgroup 2020-06-16 16:29:36 +02:00
qemu_driver.h
qemu_extdevice.c downscript: add support for booting and hotplug interface 2020-05-26 15:56:11 +02:00
qemu_extdevice.h
qemu_firmware.c
qemu_firmware.h
qemu_hostdev.c
qemu_hostdev.h
qemu_hotplug.c qemu: don't reject interface update when switching to/from bridged network 2020-06-04 22:46:26 -04:00
qemu_hotplug.h
qemu_interface.c
qemu_interface.h
qemu_interop_config.c
qemu_interop_config.h
qemu_migration_cookie.c qemu: Add free and copy function for qemuDomainJobInfo and use it 2020-04-24 08:56:57 +02:00
qemu_migration_cookie.h
qemu_migration_params.c qemu: fix hang in p2p + xbzrle compression + parallel migration 2020-04-16 09:53:04 +02:00
qemu_migration_params.h
qemu_migration_paramspriv.h
qemu_migration.c qemu: Skip pre-creation of NVMe disks 2020-06-02 12:42:31 +02:00
qemu_migration.h
qemu_monitor_json.c qemuMonitorAddNetdev: Convert to the native JSON props object 2020-05-20 09:41:58 +02:00
qemu_monitor_json.h qemuMonitorAddNetdev: Convert to the native JSON props object 2020-05-20 09:41:58 +02:00
qemu_monitor_priv.h
qemu_monitor_text.c
qemu_monitor_text.h
qemu_monitor.c src: don't include ref count in debug messages / probes 2020-06-03 10:20:17 +01:00
qemu_monitor.h src: make virObjectUnref return void 2020-06-03 10:20:17 +01:00
qemu_process.c qemu: stop checking virObjectUnref return value 2020-06-03 10:20:17 +01:00
qemu_process.h qemu: Prepare for testing of 'netdev_add' props via qemuxml2argvtest 2020-05-20 09:41:58 +02:00
qemu_processpriv.h
qemu_qapi.c
qemu_qapi.h
qemu_security.c qemu: Label restore path outside of secdriver transactions 2020-04-17 16:24:30 +02:00
qemu_security.h
qemu_shim.c
qemu_slirp.c slirp: add helper to VM cgroup 2020-04-22 09:58:10 +02:00
qemu_slirp.h slirp: add helper to VM cgroup 2020-04-22 09:58:10 +02:00
qemu_tpm.c Drop needless variable 2020-05-05 11:19:34 +02:00
qemu_tpm.h
qemu_validate.c qemu: Validate firmware blob configuration 2020-06-10 14:00:38 +02:00
qemu_validate.h qemu: validate: Validate blkdeviotune settings in the validator 2020-05-12 06:54:59 +02:00
qemu_vhost_user_gpu.c
qemu_vhost_user_gpu.h
qemu_vhost_user.c
qemu_vhost_user.h
qemu_virtiofs.c
qemu_virtiofs.h
qemu.conf qemu: conf: fix stray comma 2020-05-19 10:59:33 +02:00
test_libvirtd_qemu.aug.in qemu: do not allow /dev/rtc or /dev/hpet access via the devices cgroup 2020-05-19 10:04:06 +02:00
THREADS.txt
virtqemud.init.in
virtqemud.service.in
virtqemud.sysconf