[libvirt] [PATCH libvirt-glib] Add support for shutdown event to avoid console warnings
Christophe Fergeau
cfergeau at redhat.com
Wed Jan 11 14:34:01 UTC 2012
On Tue, Jan 10, 2012 at 04:34:56PM +0000, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> ---
> libvirt-gobject/libvirt-gobject-connection.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/libvirt-gobject/libvirt-gobject-connection.c b/libvirt-gobject/libvirt-gobject-connection.c
> index d5f9c45..f0c9ff6 100644
> --- a/libvirt-gobject/libvirt-gobject-connection.c
> +++ b/libvirt-gobject/libvirt-gobject-connection.c
> @@ -376,6 +376,9 @@ static int domain_event_cb(virConnectPtr conn G_GNUC_UNUSED,
> }
> break;
>
> + case VIR_DOMAIN_EVENT_SHUTDOWN:
> + break;
> +
> default:
> g_warn_if_reached();
ACK
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120111/830eca76/attachment-0001.sig>
More information about the libvir-list
mailing list