]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Replace @dom argument with @driver in qemuDomainUpdateDeviceLive()
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 20 Apr 2023 15:29:57 +0000 (17:29 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Apr 2023 06:46:27 +0000 (08:46 +0200)
commitc8b286935d5b1b05ec3bdb0138174b86d9f1f8c6
tree3f71b4be4fc3a12c8fbd1abc4319c40901a120f1
parentc4bc4d3b82fbe22e03c986ca896090f481df5c10
qemu: Replace @dom argument with @driver in qemuDomainUpdateDeviceLive()

The qemuDomainUpdateDeviceLive() accepts virDomainPtr as one of
its arguments, but use it only to get QEMU driver out of it.
Well, the only caller already does that and thus can pass it
instead of virDomainPtr.

This also makes it look like the rest of device hot(un-)plug
functions: qemuDomainAttachDeviceLive() and
qemuDomainUpdateDeviceLive().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
src/qemu/qemu_driver.c