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
..
2019-09-06 12:47:47 +02:00
2017-03-08 17:33:07 +01:00
2019-09-06 12:47:47 +02:00
2019-09-06 12:47:47 +02:00
2019-09-06 12:47:47 +02:00
2019-09-06 12:47:47 +02:00
2019-09-06 12:47:47 +02:00
2019-08-23 10:48:27 +02:00
2019-08-23 10:48:27 +02:00
2019-09-06 12:47:47 +02:00
2019-09-06 12:47:47 +02:00