On 12/16/2011 09:59 AM, shaohef(a)linux.vnet.ibm.com wrote:
From: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
Signed-off-by: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
---
python/generator.py | 28 +++++----
python/libvirt-qemu-override.c | 140 +++++++++++++++++++++++++++++++++++++++
python/libvirt-qemu-override.py | 55 +++++++++++++++
python/libvirt_qemu.py | 105 +++++++++++++++++++++++++++++
4 files changed, 316 insertions(+), 12 deletions(-)
create mode 100644 python/libvirt-qemu-override.py
create mode 100644 python/libvirt_qemu.py
I haven't read this closely; I suspect it is similar to existing event
handling, which helps.
I also wonder if it is possible to set up a virsh binding for event
registration, although I don't know that we have really done that in the
past.
--
Eric Blake eblake(a)redhat.com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org