[libvirt] [PATCH] qemu: keep pre-migration domain state after failed migration
Eric Blake
eblake at redhat.com
Thu Feb 6 20:43:36 UTC 2014
On 02/06/2014 09:33 AM, Martin Kletzander wrote:
> Couple of codepaths shared the same code which can be moved out to a
> function and on one of such places, qemuMigrationConfirmPhase(), the
> domain was resumed even if it wasn't running before the migration
> started.
>
> + if (state == VIR_DOMAIN_PAUSED &&
> + priv->preMigrationState == VIR_DOMAIN_RUNNING) {
> + /* This is basically the only restore possibility that's safe
> + * and we should attemt to do */
s/attemt/attempt/
--
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/20140206/2d2938a3/attachment-0001.sig>
More information about the libvir-list
mailing list