Re: [libvirt] PATCH: Support events for define/undefine in QEMU

2008-11-17 Thread Daniel Veillard
On Fri, Nov 14, 2008 at 05:51:22PM +, Daniel P. Berrange wrote: This patch adds support for the DEFINED and UNDEFINED events in the QEMU drive. This was more involved than I expected, because when the daemon gets SIGHUP it re-loads config files and we need to broadcast events for each new

Re: [libvirt] PATCH: Support events for define/undefine in QEMU

2008-11-17 Thread Daniel P. Berrange
On Mon, Nov 17, 2008 at 01:05:42PM +0100, Daniel Veillard wrote: On Fri, Nov 14, 2008 at 05:51:22PM +, Daniel P. Berrange wrote: This patch adds support for the DEFINED and UNDEFINED events in the QEMU drive. This was more involved than I expected, because when the daemon gets SIGHUP it

[libvirt] PATCH: Support events for define/undefine in QEMU

2008-11-14 Thread Daniel P. Berrange
This patch adds support for the DEFINED and UNDEFINED events in the QEMU drive. This was more involved than I expected, because when the daemon gets SIGHUP it re-loads config files and we need to broadcast events for each new config file it finds. So I had to add a callback to the internal