libvirt/src/qemu
Laine Stump b914e0eca3 qemu_hotplug: new function qemuDomainRemoveAuditDevice()
This function can be called with a virDomainDevicePtr and whether or
not the removal was successful, and it will call the appropriate
virDomainAudit*() function with the appropriate args for whatever type
of device it's given (or do nothing, if that's appropriate). This
permits generalizing some code that currently has a separate copy for
each type of device.

NB: Although the function initially will be called only with
success=false, that has been made an argument so that in the future
(when the qemuDomainRemove*Device() functions have had their common
functionality consolidated into qemuDomainRemoveDevice()), this new
common code can call qemuDomainRemoveAuditDevice() for all types.

Signed-off-by: Laine Stump <laine@laine.org>
ACKed-by: Peter Krempa <pkrempa@redhat.com>
2019-03-26 11:05:04 -04:00
..
EVENTHANDLERS.txt qemu/doc: Fix function name for handling events 2017-06-13 09:43:42 +02:00
libvirtd_qemu.aug qemu.conf: add vnc_tls_x509_secret_uuid 2019-01-22 12:18:28 +01:00
Makefile.inc.am qemu: Introduce basic skeleton for parsing firmware description 2019-03-12 15:29:44 +01:00
MIGRATION.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_agent.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05: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 Fix minor typos in messages and docs 2018-12-05 10:39:54 +01:00
qemu_block.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_blockjob.c util: Replace virStorageSourceFree with virObjectUnref 2019-02-18 10:31:21 +01:00
qemu_blockjob.h qemu: improve compile-time check of qemuBlockjobState mapping 2019-01-23 16:20:25 -06:00
qemu_capabilities.c qemu: add virQEMUCapsSetVAList 2019-03-21 12:43:01 -04:00
qemu_capabilities.h qemu: add virQEMUCapsSetVAList 2019-03-21 12:43:01 -04:00
qemu_capspriv.h qemu_capabilities: Introduce virQEMUCapsGetCPUModelInfo 2019-03-05 14:47:49 +01:00
qemu_cgroup.c Remove remaining references to kqemu 2019-02-19 08:33:50 +01:00
qemu_cgroup.h qemu: cgroup: Change qemu[Setup|Teardown]DiskCgroup to take virStorageSource 2019-01-30 17:20:38 +01:00
qemu_command.c snapshot: Rename virDomainSnapshotObjPtr 2019-03-22 01:18:34 -05:00
qemu_command.h snapshot: Rename virDomainSnapshotObjPtr 2019-03-22 01:18:34 -05:00
qemu_conf.c util: string: Use VIR_AUTOSTRINGLIST instead of VIR_AUTOPTR(virString) 2019-03-04 13:04:20 +01:00
qemu_conf.h qemu.conf: add vnc_tls_x509_secret_uuid 2019-01-22 12:18:28 +01:00
qemu_domain_address.c conf: Add a new 'xenbus' controller type 2019-03-13 12:06:52 -06:00
qemu_domain_address.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_domain.c snapshot: Rename virDomainSnapshotObjPtr 2019-03-22 01:18:34 -05:00
qemu_domain.h snapshot: Rename virDomainSnapshotObjPtr 2019-03-22 01:18:34 -05:00
qemu_driver.c qemu_hotplug: pull qemuDomainUpdateDeviceList out of qemuDomainDetachDeviceLive 2019-03-26 11:05:03 -04: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 qemuFirmwareFetchConfigs: Fix check for @privileged 2019-03-13 13:11:25 +01:00
qemu_firmware.h qemu_firmware: Introduce qemuFirmwareFillDomain() 2019-03-12 15:29:44 +01: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_hotplug: new function qemuDomainRemoveAuditDevice() 2019-03-26 11:05:04 -04: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 Use NULLSTR_EMPTY 2019-02-14 14:09:38 +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 Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_migration_params.c qemu: Don't set migration caps when changing postcopy bandwidth 2019-03-06 13:57:25 +01:00
qemu_migration_params.h util: Use a semicolon for all VIR_DEFINE_AUTOPTR_FUNC 2019-02-08 06:57:23 -05:00
qemu_migration_paramspriv.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_migration.c snapshot: Break out virDomainSnapshotObjList into its own file 2019-03-15 11:43:09 -05:00
qemu_migration.h qemu: Implement VIR_MIGRATE_PARAM_BANDWIDTH_POSTCOPY 2019-02-07 16:25:59 +01:00
qemu_monitor_json.c qemu: monitor: Remove unused qemuMonitor(JSON)SetVNCPassword 2019-03-26 14:12:05 +01:00
qemu_monitor_json.h qemu: monitor: Remove unused qemuMonitor(JSON)SetVNCPassword 2019-03-26 14:12:05 +01: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 Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00: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: monitor: Remove unused qemuMonitor(JSON)SetVNCPassword 2019-03-26 14:12:05 +01:00
qemu_monitor.h qemu: monitor: Remove unused qemuMonitor(JSON)SetVNCPassword 2019-03-26 14:12:05 +01:00
qemu_parse_command.c qemu: Replace virDomainChrSourceDefFree with virObjectUnref 2019-02-25 14:38:30 +01:00
qemu_parse_command.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_process.c snapshot: Rename virDomainSnapshotObjPtr 2019-03-22 01:18:34 -05: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: Allow selecting specifically optional schema entries in virQEMUQAPISchemaTraverse 2018-08-24 15:58:33 +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 Remove remaining references to kqemu 2019-02-19 08:33:50 +01: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