diff --git a/src/libxl/libxl_migration.c b/src/libxl/libxl_migration.c index d7a380e4addc9a28c269995e4136b3dc8a2fe2fb..b5d8edfcb75b20948e36f729750dddcd2e327e2f 100644 --- a/src/libxl/libxl_migration.c +++ b/src/libxl/libxl_migration.c @@ -515,6 +515,11 @@ libxlDomainMigrationFinish(virConnectPtr dconn, if (virDomainSaveStatus(driver->xmlopt, cfg->stateDir, vm) < 0) goto cleanup; + if (event) { + libxlDomainEventQueue(driver, event); + event = NULL; + } + dom = virGetDomain(dconn, vm->def->name, vm->def->uuid); if (dom == NULL) {