[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/7] runstate: migration allows more transitions
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH 4/7] runstate: migration allows more transitions now |
Date: |
Wed, 15 Oct 2014 08:42:21 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
On 10/15/2014 01:55 AM, Juan Quintela wrote:
> Next commit would allow to move from incoming migration to error happening on
> source.
>
> Should we add more states to this transition? Luiz?
Does this mean we can finally do S3 migration without forcing the guest
to wake up from S3 on the destination?
>
> Signed-off-by: Juan Quintela <address@hidden>
> ---
> vl.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/vl.c b/vl.c
> index c4bc43c..1788b6a 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -618,6 +618,8 @@ static const RunStateTransition
> runstate_transitions_def[] = {
>
> { RUN_STATE_INMIGRATE, RUN_STATE_RUNNING },
> { RUN_STATE_INMIGRATE, RUN_STATE_PAUSED },
> + { RUN_STATE_INMIGRATE, RUN_STATE_INTERNAL_ERROR },
> + { RUN_STATE_INMIGRATE, RUN_STATE_IO_ERROR },
>
> { RUN_STATE_INTERNAL_ERROR, RUN_STATE_PAUSED },
> { RUN_STATE_INTERNAL_ERROR, RUN_STATE_FINISH_MIGRATE },
>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [RFC 0/7] Optional toplevel sections, Juan Quintela, 2014/10/15
- [Qemu-devel] [PATCH 2/7] runstate: Add runstate store, Juan Quintela, 2014/10/15
- [Qemu-devel] [PATCH 1/7] migration: Create optional sections, Juan Quintela, 2014/10/15
- [Qemu-devel] [PATCH 3/7] runstate: create runstate_index function, Juan Quintela, 2014/10/15
- [Qemu-devel] [PATCH 4/7] runstate: migration allows more transitions now, Juan Quintela, 2014/10/15
- Re: [Qemu-devel] [PATCH 4/7] runstate: migration allows more transitions now,
Eric Blake <=
- [Qemu-devel] [PATCH 7/7] vmstate: Create optional sections, Juan Quintela, 2014/10/15
- [Qemu-devel] [PATCH 5/7] migration: create now section to store global state, Juan Quintela, 2014/10/15
- [Qemu-devel] [PATCH 6/7] global_state: Make section optional, Juan Quintela, 2014/10/15
- Re: [Qemu-devel] [RFC 0/7] Optional toplevel sections, Eric Blake, 2014/10/15