[libvirt] [PATCH V3 4/5] libxl: fix mapping of lifecycle actions

Jim Fehlig jfehlig at suse.com
Thu Sep 11 21:56:36 UTC 2014


Daniel P. Berrange wrote:
> On Wed, Sep 03, 2014 at 09:07:38PM -0600, Jim Fehlig wrote:
>   
>> The libxl driver was blindly assigning libvirt's
>> virDomainLifecycleAction to libxl's libxl_action_on_shutdown, when
>> in fact the various actions take on different values in these enums.
>>
>> Introduce helpers to properly map the enum values.
>>
>> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
>> ---
>>  src/libxl/libxl_conf.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++---
>>  1 file changed, 59 insertions(+), 3 deletions(-)
>>     
>
> ACK
>   

Thanks.  I've pushed 2-4.

Regards,
Jim




More information about the libvir-list mailing list