[libvirt] [PATCH] libxl: always use libxlVmCleanupJob in shutdown thread

Eric Blake eblake at redhat.com
Thu Feb 20 05:14:37 UTC 2014


On 02/19/2014 07:54 PM, Jim Fehlig wrote:
> Commit e4a0e900 missed calling libxlVmCleanupJob in the shutdown
> handler when processing a reboot event.
> 
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
>  src/libxl/libxl_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK

> 
> diff --git a/src/libxl/libxl_driver.c b/src/libxl/libxl_driver.c
> index f7ca91c..9f87e71 100644
> --- a/src/libxl/libxl_driver.c
> +++ b/src/libxl/libxl_driver.c
> @@ -393,7 +393,7 @@ libxlDomainShutdownThread(void *opaque)
>              break;
>          case LIBXL_SHUTDOWN_REASON_REBOOT:
>              libxl_domain_destroy(ctx, vm->def->id, NULL);
> -            libxlVmCleanup(driver, vm, VIR_DOMAIN_SHUTOFF_SHUTDOWN);
> +            libxlVmCleanupJob(driver, vm, VIR_DOMAIN_SHUTOFF_SHUTDOWN);
>              libxlVmStart(driver, vm, 0, -1);
>              break;
>          default:
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140219/6164afb3/attachment-0001.sig>


More information about the libvir-list mailing list