[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm
From: |
Dietmar Maurer |
Subject: |
Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm |
Date: |
Wed, 12 Dec 2012 08:50:50 +0000 |
> > 1.) qmp: savevm-start [statefile]
> >
> > This save the VM state into [statefile] and then stops the VM.
>
> That's migrate exec:cat>statefile (or similar)
Basic functionality is the same, but we support saving state to block devices.
But there are many migration related patches in the last months,
so I decide to not touch that code for now, and write my own.
But yes, in future, we can try to merge things.
> > 2.) qga freezefs
>
> How can freezefs run while the VM is stopped?
Oh, good point ;-) So we need to call that inside savevm-start
> > 3.) create snapshots: either using external tools or by qmp:
> > snapshot-drive
> >
> > 4.) gqa unfreezefs
>
> Same as above, this should be done after step (5).
yes
> > 5.) qmp: savevm-end
> >
> > This restarts/resumes the VM
>
> That's simply "cont".
Yes - the plan was to do extra checks here. If it is not needed, we can remove
it later.
I also want to avoid that a user can resume a VM which was suspended for taking
snapshots,
but I am not sure how to do that.
- [Qemu-devel] [RFC PATCH 2/2] live backup vm, snapshots all lively, (continued)
- [Qemu-devel] [RFC PATCH 2/2] live backup vm, snapshots all lively, Wenchao Xia, 2012/12/07
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm, Dietmar Maurer, 2012/12/07
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm, Wenchao Xia, 2012/12/08
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm, Dietmar Maurer, 2012/12/09
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm, Wenchao Xia, 2012/12/09
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm, Dietmar Maurer, 2012/12/10
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm, Wenchao Xia, 2012/12/11
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm, Dietmar Maurer, 2012/12/11
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm, Wenchao Xia, 2012/12/11
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm, Paolo Bonzini, 2012/12/12
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm,
Dietmar Maurer <=
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm, Dietmar Maurer, 2012/12/12
- Re: [Qemu-devel] [RFC PATCH 0/2] live backup vm, Paolo Bonzini, 2012/12/12