libvirt/src/qemu
Daniel Henrique Barboza 807a6dd31a qemu_conf.c: introduce qemuAddRemoveSharedDeviceInternal
After the previous commits, qemuAddSharedDevice() and
qemuRemoveSharedDevice() are now the same code with a different
flag to call the internal functions.

This patch aggregates the common code into a new function called
qemuAddRemoveSharedDeviceInternal() to further reduce
code repetition. Both qemuAddSharedDevice() and
qemuRemoveSharedDevice() are kept since they are public
functions used elsewhere.

No functional change was made.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
2019-09-09 14:52:32 +02:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug qemu-conf: add configurable slirp-helper location 2019-09-06 12:47:47 +02:00
Makefile.inc.am qemu: add slirp helper unit 2019-09-06 12:47:47 +02:00
MIGRATION.txt
qemu_agent.c qemu: Validate arg in qemuAgentErrorComandUnsupported() 2019-08-30 17:23:03 -04:00
qemu_agent.h qemu: add helper for getting full FSInfo 2019-08-26 17:27:40 +02:00
qemu_alias.c qemu: add dbus-vmstate 2019-09-06 12:47:47 +02:00
qemu_alias.h qemu: add dbus-vmstate 2019-09-06 12:47:47 +02:00
qemu_block.c qemu: block: explicitly pass backing store to qemuBlockStorageSourceAttachPrepareBlockdev 2019-09-06 08:12:21 +02:00
qemu_block.h qemu: block: explicitly pass backing store to qemuBlockStorageSourceAttachPrepareBlockdev 2019-09-06 08:12:21 +02:00
qemu_blockjob.c qemu_blockjob: Remove secdriver metadata more frequently 2019-08-31 10:11:37 +02:00
qemu_blockjob.h qemu: Add blockdev support for the block copy job 2019-08-16 13:26:10 +02:00
qemu_capabilities.c qemu: add dbus-vmstate capability 2019-09-06 12:47:47 +02:00
qemu_capabilities.h qemu: add dbus-vmstate capability 2019-09-06 12:47:47 +02:00
qemu_capspriv.h
qemu_cgroup.c
qemu_cgroup.h
qemu_command.c qemu-command: use -net socket, fd= with slirp-helper 2019-09-06 12:47:47 +02:00
qemu_command.h qemu-command: use -net socket, fd= with slirp-helper 2019-09-06 12:47:47 +02:00
qemu_conf.c qemu_conf.c: introduce qemuAddRemoveSharedDeviceInternal 2019-09-09 14:52:32 +02:00
qemu_conf.h qemu-conf: add slirp state dir 2019-09-06 12:47:47 +02:00
qemu_dbus.c qemu: add dbus-vmstate 2019-09-06 12:47:47 +02:00
qemu_dbus.h qemu: add dbus-vmstate 2019-09-06 12:47:47 +02:00
qemu_domain_address.c
qemu_domain_address.h
qemu_domain.c qemu: add a flag to the cookie to prevent slirp-helper setup 2019-09-06 12:47:47 +02:00
qemu_domain.h qemu: add a flag to the cookie to prevent slirp-helper setup 2019-09-06 12:47:47 +02:00
qemu_driver.c lib: Grab write lock when modifying list of domains 2019-09-07 08:22:30 +02:00
qemu_driver.h
qemu_extdevice.c qemu-extdevice: prepare, start and stop slirp-helper 2019-09-06 12:47:47 +02:00
qemu_extdevice.h qemu-extdevice: prepare, start and stop slirp-helper 2019-09-06 12:47:47 +02:00
qemu_firmware.c
qemu_firmware.h
qemu_hostdev.c qemu: Drop KVM assignment 2019-08-23 10:48:27 +02:00
qemu_hostdev.h qemu: Drop KVM assignment 2019-08-23 10:48:27 +02:00
qemu_hotplug.c qemu-hotplug: handle hotplugging of slirp-helper 2019-09-06 12:47:47 +02:00
qemu_hotplug.h qemu: add dbus-vmstate 2019-09-06 12:47:47 +02:00
qemu_hotplugpriv.h
qemu_interface.c qemu-process: prepare slirp-helper 2019-09-06 12:47:47 +02:00
qemu_interface.h qemu-process: prepare slirp-helper 2019-09-06 12:47:47 +02:00
qemu_migration_cookie.c qemu: Fix crash on incoming migration 2019-08-14 09:28:22 +02:00
qemu_migration_cookie.h
qemu_migration_params.c
qemu_migration_params.h
qemu_migration_paramspriv.h
qemu_migration.c qemu-migration: prevent migration if slirp cannot be migrated 2019-09-06 12:47:47 +02:00
qemu_migration.h
qemu_monitor_json.c qemu: monitor: Fix formatting of 'offset' in qemuMonitorJSONSaveMemory 2019-09-04 09:13:49 +02:00
qemu_monitor_json.h
qemu_monitor_priv.h
qemu_monitor_text.c
qemu_monitor_text.h
qemu_monitor.c qemu-hotplug: handle hotplugging of slirp-helper 2019-09-06 12:47:47 +02:00
qemu_monitor.h qemu-hotplug: handle hotplugging of slirp-helper 2019-09-06 12:47:47 +02:00
qemu_process.c lib: Grab write lock when modifying list of domains 2019-09-07 08:22:30 +02:00
qemu_process.h
qemu_processpriv.h
qemu_qapi.c qemu: qapi: Limit traversal depth for QAPI schema queries 2019-09-06 12:14:29 +02:00
qemu_qapi.h
qemu_security.c qemu-security: add qemuSecurityCommandRun() 2019-09-06 12:47:47 +02:00
qemu_security.h qemu-security: add qemuSecurityCommandRun() 2019-09-06 12:47:47 +02:00
qemu_slirp.c qemu_slirp: Drop unused variable in qemuSlirpStart() 2019-09-06 17:05:22 +02:00
qemu_slirp.h qemu: add slirp helper unit 2019-09-06 12:47:47 +02:00
qemu_tpm.c qemu: replace logCtxt with qemuDomainLogAppendMessage() 2019-09-06 12:47:46 +02:00
qemu_tpm.h qemu: replace logCtxt with qemuDomainLogAppendMessage() 2019-09-06 12:47:46 +02:00
qemu.conf qemu-conf: add configurable slirp-helper location 2019-09-06 12:47:47 +02:00
test_libvirtd_qemu.aug.in qemu-conf: add configurable slirp-helper location 2019-09-06 12:47:47 +02:00
THREADS.txt qemu: update threading info about domain object refs 2019-09-09 13:01:09 +02:00
virtqemud.service.in qemu: introduce virtqemud daemon 2019-08-09 14:06:31 +01:00