]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: shared: Split out shared device list remove code
authorPeter Krempa <pkrempa@redhat.com>
Thu, 7 Aug 2014 15:55:12 +0000 (17:55 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 Aug 2014 07:28:04 +0000 (09:28 +0200)
commit62046c1267a14920c629e7b3e0302e5563db79c6
tree6b4c79ce367e887127860a4eb7422310d6c3829a
parentf36a94f236adf27b243f852f52a13d3514161fb1
qemu: shared: Split out shared device list remove code

Split it out into a separate function and simplify the code. There's no
need to copy the entry to update it as the hash returns pointer to the
existing item.

Also remove the now unused qemuSharedDeviceEntryCopy function.
src/qemu/qemu_conf.c