]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: conf: Split out code to retrieve hostdev key and reuse it
authorPeter Krempa <pkrempa@redhat.com>
Thu, 7 Aug 2014 16:16:38 +0000 (18:16 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 Aug 2014 07:28:04 +0000 (09:28 +0200)
commitd49e27a3eda9b36495fa72a3f76083654cc004cb
tree43578cf83722cb39ac9b92697e0cfb3d7b261d91
parentf05de1ef2731f017c28d91a0bf2f24a699321e75
qemu: conf: Split out code to retrieve hostdev key and reuse it

Both addition and removal of a shared hostdev share the code to generate
the hostdev key. Split it out into a separate function and refactor
them.
src/qemu/qemu_conf.c