]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Switch over to passing a callback table to QEMU monitor
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 15 Oct 2009 17:56:52 +0000 (18:56 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 8 Dec 2009 13:46:55 +0000 (13:46 +0000)
commite9f4c9430140bccb8371c1d94d829cde26cbd74b
tree466bf3f02e727fc95ea64880b4f38304ed398b61
parent3a4f172fddd7acd6aa8c867004ad8ec5f21b67f1
Switch over to passing a callback table to QEMU monitor

With addition of events there will be alot of callbacks.
To avoid having to add many APIs to register callbacks,
provide them all at once in a big table

* src/qemu/qemu_driver.c: Pass in a callback table to QEMU
  monitor code
* src/qemu/qemu_monitor.c, src/qemu/qemu_monitor.h Replace
  the EOF and disk secret callbacks with a callback table
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h