]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Refactor qemuDomainHelperGetVcpus by reusing virBitmapToDataBuf
authorPeter Krempa <pkrempa@redhat.com>
Fri, 29 May 2015 12:01:32 +0000 (14:01 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 3 Jun 2015 07:42:07 +0000 (09:42 +0200)
commit9f8196ace23092b4aa446696cfa101fca4468601
tree27c38a3ccd12570385907b49b15f9e875b6dcfc8
parentf79bfd9b51c762410030131d9850e96856bec45c
qemu: Refactor qemuDomainHelperGetVcpus by reusing virBitmapToDataBuf

Get rid of the unnecessary allocation and copying of the bitmap and
clean up some unnecesary temporary variables.
src/qemu/qemu_driver.c