]> xenbits.xensource.com Git - libvirt.git/commit
Turn QEMU capabilities object into a full virObjectPtr
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 20 Aug 2012 16:44:14 +0000 (17:44 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 13 Sep 2012 11:24:12 +0000 (12:24 +0100)
commitbeac09fd68ed259ab8d669d218c348a0788f806f
tree65049de5445922121a509453bf35666fe3b6761b
parentf4780c12dc17fa356905d1651715518c122d1be3
Turn QEMU capabilities object into a full virObjectPtr

The current qemu capabilities are stored in a virBitmapPtr
object, whose type is exposed to callers. We want to store
more data besides just the flags, so we need to move to a
struct type. This object will also need to be reference
counted, since we'll be maintaining a cache of data per
binary. This change introduces a 'qemuCapsPtr' virObject
class. Most of the change is just renaming types and
variables in all the callers

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
17 files changed:
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
src/qemu/qemu_command.h
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_driver.c
src/qemu/qemu_hotplug.c
src/qemu/qemu_migration.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
src/qemu/qemu_process.c
tests/qemuhelptest.c
tests/qemuxml2argvtest.c
tests/qemuxmlnstest.c