libvirt/src/qemu
Daniel P. Berrangé f02e21cb33 network: remove the virDomainNetBandwidthChangeAllowed callback
The current qemu driver code for changing bandwidth on a NIC first asks
the network driver if the change is supported, then changes the
bandwidth on the VIF, and then tells the network driver to update the
bandwidth on the bridge.

This is potentially racing if a parallel API call causes the network
driver to allocate bandwidth on the bridge between the check and the
update phases.

Change the code to just try to apply the network bridge update
immediately and rollback at the end if something failed.

Reviewed-by: Laine Stump <laine@laine.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2019-06-17 15:19:54 +01:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug qemu.conf: add vnc_tls_x509_secret_uuid 2019-01-22 12:18:28 +01:00
Makefile.inc.am maint: Add filetype annotations to Makefile.inc.am 2019-04-12 16:55:38 +02:00
MIGRATION.txt
qemu_agent.c util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
qemu_agent.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_alias.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
qemu_alias.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_block.c qemu: block: Use VIR_RETURN_PTR 2019-04-10 16:34:57 +02:00
qemu_block.h qemu: block: Introduce and use AUTOPTR func for qemuBlockStorageSourceAttachDataPtr 2019-04-10 16:34:57 +02:00
qemu_blockjob.c qemu: blockjob: Fix saving of inactive XML after completed legacy blockjob 2019-05-17 13:25:06 +02:00
qemu_blockjob.h qemu: blockjob: Fix documentation for 'newstate' of _qemuBlockJobData 2019-05-21 14:22:05 +02:00
qemu_capabilities.c backup: Add two new qemu capabilities 2019-06-11 21:42:57 -05:00
qemu_capabilities.h backup: Add two new qemu capabilities 2019-06-11 21:42:57 -05:00
qemu_capspriv.h qemu: Make virQEMUCapsProbeHostCPUForEmulator more generic 2019-06-03 18:07:16 +02:00
qemu_cgroup.c qemu_cgroup: Remove unused qemuSetupCpusetMems 2019-04-18 17:59:19 +02:00
qemu_cgroup.h qemu_cgroup: Remove unused qemuSetupCpusetMems 2019-04-18 17:59:19 +02:00
qemu_command.c qemu: Format SMMUv3 IOMMU 2019-06-03 17:40:57 +02:00
qemu_command.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
qemu_conf.c qemu: remove qemuGetDomainDefaultHugepath 2019-04-10 16:24:33 +02:00
qemu_conf.h qemu: remove qemuGetDomainDefaultHugepath 2019-04-10 16:24:33 +02:00
qemu_domain_address.c qemu: Partially convert to net model enum 2019-04-16 13:11:08 -04:00
qemu_domain_address.h qemu: Always use 'alias' in warning message when removing USB address 2019-03-28 13:38:57 +01:00
qemu_domain.c qemu: domain: Log some useful data in qemuDomainStorageSourceAccessModify 2019-06-13 09:43:02 +02:00
qemu_domain.h qemu: Split entry points to qemuDomainStorageSourceChainAccessPrepare 2019-05-09 15:55:35 +02:00
qemu_driver.c network: remove the virDomainNetBandwidthChangeAllowed callback 2019-06-17 15:19:54 +01:00
qemu_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_extdevice.c Require a semicolon for VIR_LOG_INIT calls 2019-02-03 17:46:29 -05:00
qemu_extdevice.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_firmware.c qemu_firmware: Introduce qemuFirmwareGetSupported 2019-04-10 13:58:30 +02:00
qemu_firmware.h qemu_firmware: Introduce qemuFirmwareGetSupported 2019-04-10 13:58:30 +02:00
qemu_hostdev.c qemu: Filter non SCSI hostdevs in qemuHostdevPrepareSCSIDevices 2019-01-11 08:52:10 -05:00
qemu_hostdev.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_hotplug.c qemu: Try harder to remove pr-helper object and kill pr-helper process 2019-06-14 09:51:10 +02:00
qemu_hotplug.h qemu_hotplug: rename dev to match in qemuDomainDetachDeviceLive 2019-03-26 11:05:03 -04:00
qemu_hotplugpriv.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_interface.c Revert "virt drivers: don't handle type=network after resolving actual network type" 2019-04-30 14:42:22 +01:00
qemu_interface.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_migration_cookie.c qemu: Use VIR_XPATH_NODE_AUTORESTORE when XPath context is modified 2019-03-04 13:04:20 +01:00
qemu_migration_cookie.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
qemu_migration_params.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
qemu_migration_params.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
qemu_migration_paramspriv.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_migration.c qemu: Use proper block job name when reconnecting to VM 2019-06-12 09:40:02 +02:00
qemu_migration.h util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
qemu_monitor_json.c qemu: Use proper block job name when reconnecting to VM 2019-06-12 09:40:02 +02:00
qemu_monitor_json.h qemu: Use proper block job name when reconnecting to VM 2019-06-12 09:40:02 +02:00
qemu_monitor_priv.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_monitor_text.c qemu: monitor: check for common 'Error: ' string 2019-04-23 11:05:44 -04:00
qemu_monitor_text.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_monitor.c qemu: Use proper block job name when reconnecting to VM 2019-06-12 09:40:02 +02:00
qemu_monitor.h qemu: Use proper block job name when reconnecting to VM 2019-06-12 09:40:02 +02:00
qemu_parse_command.c conf: net: Add wrapper functions for <model> value 2019-04-16 13:11:08 -04:00
qemu_parse_command.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_process.c qemu: Try harder to remove pr-helper object and kill pr-helper process 2019-06-14 09:51:10 +02:00
qemu_process.h snapshot: Rename virDomainSnapshotObjPtr 2019-03-22 01:18:34 -05:00
qemu_processpriv.h qemu_process: Enter QMP command mode when starting QEMU Process 2019-02-19 18:44:49 +01:00
qemu_qapi.c qemu: qapi: Implement worker for introspecting alternate types 2019-05-06 09:46:06 +02:00
qemu_qapi.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_security.c qemu: security: Replace and remove qemuSecurity[Set|Restore]DiskLabel 2019-01-30 17:20:38 +01:00
qemu_security.h qemu: security: Replace and remove qemuSecurity[Set|Restore]DiskLabel 2019-01-30 17:20:38 +01:00
qemu_tpm.c Require a semicolon for VIR_LOG_INIT calls 2019-02-03 17:46:29 -05:00
qemu_tpm.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu.conf qemu.conf: Make nvram list obsolete 2019-05-02 15:09:45 +02:00
test_libvirtd_qemu.aug.in Remove remaining references to kqemu 2019-02-19 08:33:50 +01:00
THREADS.txt qemu: Introduce APIs for manipulating qemuDomainAgentJob 2018-06-20 13:24:17 +02:00