libvirt/src/qemu
Cole Robinson 6a4d938dd3 Require a semicolon for VIR_ENUM_IMPL calls
Missing semicolon at the end of macros can confuse some analyzers
(like cppcheck <filename>), and we have a mix of semicolon and
non-semicolon usage through the code. Let's standardize on using
a semicolon for VIR_ENUM_IMPL calls.

Move the verify() statement to the end of the macro and drop
the semicolon, so the compiler will require callers to add a
semicolon.

While we are touching these call sites, standardize on putting
the closing parenth on its own line, as discussed here:
https://www.redhat.com/archives/libvir-list/2019-January/msg00750.html

Reviewed-by: John Ferlan <jferlan@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2019-02-03 17:46:29 -05: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 src/qemu: Fix indentation in Makefile.inc.am 2019-01-09 17:56:09 +01:00
MIGRATION.txt
qemu_agent.c Require a semicolon for VIR_ENUM_IMPL 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 qemu: domain: Allow overriding disk source in qemuDomainDetermineDiskChain 2019-01-30 17:20:38 +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: caps: Use CAP_DAC_OVERRIDE for probing to avoid permission issues 2019-02-01 12:44:28 +01:00
qemu_capabilities.h qemu: Introduce QEMU_CAPS_DEVICE_NVDIMM_UNARMED capability 2019-01-02 09:00:34 -05:00
qemu_capspriv.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_cgroup.c qemu: cgroup: Expose /dev/sev/ only to domains that require SEV 2019-02-01 12:40:18 +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 Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
qemu_command.h Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -05:00
qemu_conf.c qemu.conf: add vnc_tls_x509_secret_uuid 2019-01-22 12:18:28 +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 qemu: Add PCI support for RISC-V guests 2019-02-01 11:57:50 +01:00
qemu_domain_address.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_domain.c qemu: domain: Add /dev/sev into the domain mount namespace selectively 2019-02-01 12:40:20 +01:00
qemu_domain.h Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -05:00
qemu_driver.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
qemu_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_extdevice.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
qemu_extdevice.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00: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: Refactor qemuHotplugPrepareDiskAccess to work on virStorageSource 2019-01-30 17:20:38 +01:00
qemu_hotplug.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_hotplugpriv.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_interface.c conf: Add virDomainNetIsVirtioModel 2019-01-24 18:59:38 -05:00
qemu_interface.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_migration_cookie.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05: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 Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -05:00
qemu_migration_params.h Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -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 lib: Use more of VIR_STEAL_PTR() 2019-01-28 14:46:58 +01:00
qemu_migration.h Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -05:00
qemu_monitor_json.c Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
qemu_monitor_json.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00: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 Require a semicolon for VIR_ENUM_IMPL calls 2019-02-03 17:46:29 -05:00
qemu_monitor.h Require a semicolon to VIR_ENUM_DECL calls 2019-02-03 17:46:29 -05:00
qemu_parse_command.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00: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: Rework setting process affinity 2019-02-01 12:53:46 +01:00
qemu_process.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu_processpriv.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00: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 Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
qemu_tpm.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
qemu.conf qemu: conf: Remove /dev/sev from the default cgroup device acl list 2019-02-01 12:39:41 +01:00
test_libvirtd_qemu.aug.in qemu: conf: Remove /dev/sev from the default cgroup device acl list 2019-02-01 12:39:41 +01:00
THREADS.txt qemu: Introduce APIs for manipulating qemuDomainAgentJob 2018-06-20 13:24:17 +02:00