]> xenbits.xensource.com Git - libvirt.git/commit
qemu: shared: Split out insertion code to the shared device list
authorPeter Krempa <pkrempa@redhat.com>
Wed, 6 Aug 2014 11:57:42 +0000 (13:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 Aug 2014 07:28:04 +0000 (09:28 +0200)
commitf36a94f236adf27b243f852f52a13d3514161fb1
treea24b065d14cc4f077663edd2e4657e3cd21de7cb
parentb57ca1320c8201e6e127868f7b0495c65eaa5056
qemu: shared: Split out insertion code to the shared device list

To allow reuse split the code into a separate function and refactor it.
To update an existing entry there's no need to copy it first, just
update it inplace.
src/qemu/qemu_conf.c