Re: [PATCH] Add virDomainEventRebootNew

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/4/25 Eric Blake <eblake@xxxxxxxxxx>:
> 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?
>

Yes, I missed that. I add it and pushed the result.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]