[libvirt] [PATCH] Add virDomainEventRebootNew
Eric Blake
eblake at redhat.com
Mon Apr 25 16:50:54 UTC 2011
On 04/25/2011 05:36 AM, Matthias Bolte wrote:
> This will be used in the ESX driver event handling.
> ---
> src/conf/domain_event.c | 8 ++++++++
> src/conf/domain_event.h | 1 +
> 2 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/src/conf/domain_event.c b/src/conf/domain_event.c
> index f0380d3..688bf6c 100644
> --- a/src/conf/domain_event.c
> +++ b/src/conf/domain_event.c
> @@ -572,11 +572,19 @@ virDomainEventPtr virDomainEventNewFromDef(virDomainDefPtr def, int type, int de
> return virDomainEventNew(def->id, def->name, def->uuid, type, detail);
> }
>
> +virDomainEventPtr virDomainEventRebootNew(int id, const char *name,
> + const unsigned char *uuid)
> +{
> + return virDomainEventNewInternal(VIR_DOMAIN_EVENT_ID_REBOOT,
> + id, name, uuid);
ACK.
Do you also need to add it to src/libvirt_private.syms?
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110425/5db4c72b/attachment-0001.sig>
More information about the libvir-list
mailing list