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 qemu-conf: add configurable dbus-daemon location 2020-03-24 15:57:33 +01:00
Makefile.inc.am qemu: move qemuDomainDefValidateFeatures to qemu_validate.c 2020-04-03 16:25:30 +02:00
MIGRATION.txt
qemu_agent.c src: Fix boolean assignment 2020-05-05 13:08:57 +02:00
qemu_agent.h qemuAgentGetFSInfo: expose 'report_unsupported' argument 2020-03-25 13:13:18 +01:00
qemu_alias.c qemu_alias.c: fix qemuAssingDeviceMemballoonAlias() typo 2020-05-18 07:52:00 +02:00
qemu_alias.h qemu: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
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: block: Support VIR_DOMAIN_BLOCK_COMMIT/PULL/REBASE_RELATIVE with blockdev 2020-03-30 16:28:48 +02:00
qemu_blockjob.c qemuBlockJobDataDisposeJobdata: Free data.commit.disabledBitmapsBase 2020-05-14 11:45:29 +02:00
qemu_blockjob.h qemuBlockJobUpdate: Remove return value 2020-04-03 09:34:49 +02:00
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 Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
qemu_checkpoint.c qemu: Refuse blockjobs on disk bus='sd' with -blockdev 2020-05-12 06:55:00 +02:00
qemu_checkpoint.h qemu: checkpoint: Track and relabel images for bitmap merging 2020-02-04 13:45:32 +01:00
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: Make memory path generation embed driver aware 2020-04-07 15:26:32 +02:00
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_address.c: turn qemuDomainFillDeviceIsolationGroup to void 2020-01-31 15:25:33 +01:00
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: pass virDomainObjPtr to qemuExtDevicesSetupCgroup 2020-03-04 12:08:50 +01:00
qemu_firmware.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
qemu_firmware.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
qemu_hostdev.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
qemu_hostdev.h qemu_hotplug: Prepare NVMe disks on hotplug 2019-12-17 10:04:44 +01:00
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: add dbus-vmstate helper migration support 2020-03-24 15:57:33 +01:00
qemu_interface.c qemu: Drop virQEMUDriverIsPrivileged() 2020-04-07 15:26:15 +02:00
qemu_interface.h qemu-process: prepare slirp-helper 2019-09-06 12:47:47 +02:00
qemu_interop_config.c virsh: include virutil.h where used 2020-02-24 23:15:50 +01:00
qemu_interop_config.h qemu: generalize qemuFetchConfigs 2019-09-24 12:17:10 -04:00
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 qemuMigrationCookieNBD: Extract embedded struct 2020-01-31 14:28:28 +01:00
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 Remove virautoclean.h 2019-10-16 12:06:44 +02:00
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: Implement VIR_MIGRATE_PARAM_TLS_DESTINATION 2019-12-09 10:11:58 +01:00
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.c: Use g_autofree 2020-03-24 14:52:45 +01:00
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 use g_ascii_isalpha instead of c_isalpha from gnulib 2019-12-10 13:49:24 +01:00
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: Tell secdrivers which images are top parent 2020-03-09 14:14:55 +01:00
qemu_shim.c qemu_shim: Ignore SIGPIPE 2020-03-05 11:24:51 +01:00
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 Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
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 Remove virutil.h where possible 2020-02-24 23:15:49 +01:00
qemu_vhost_user_gpu.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
qemu_vhost_user.c util: json: Convert virJSONValueNewObject() to g_new0 2020-03-05 11:31:38 +01:00
qemu_vhost_user.h qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +01:00
qemu_virtiofs.c qemuVirtioFSStop: Simplify daemon kill 2020-03-24 15:54:31 +01:00
qemu_virtiofs.h qemu: use the vhost-user schemas to find binary 2020-03-04 12:08:50 +01:00
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 qemu: remove qemuDomainObjBegin/EndJobWithAgent() 2020-01-16 16:35:47 +01:00
virtqemud.init.in configure: Provide OpenRC scripts for sub-daemons 2019-12-16 10:11:22 +01:00
virtqemud.service.in systemd: Move timeout from service files to sysconf files 2020-04-03 11:50:50 +02:00
virtqemud.sysconf qemu: Allow audio driver override in virtqemud 2020-04-03 11:50:57 +02:00