[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V2 5/6] cpr: reboot mode
|
From: |
Juan Quintela |
|
Subject: |
Re: [PATCH V2 5/6] cpr: reboot mode |
|
Date: |
Tue, 31 Oct 2023 14:21:25 +0100 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) |
Steve Sistare <steven.sistare@oracle.com> wrote:
> Add the cpr-reboot migration mode. Usage:
>
> $ qemu-system-$arch -monitor stdio ...
> QEMU 8.1.50 monitor - type 'help' for more information
> (qemu) migrate_set_capability x-ignore-shared on
> (qemu) migrate_set_parameter mode cpr-reboot
> (qemu) migrate -d file:vm.state
> (qemu) info status
> VM status: paused (postmigrate)
> (qemu) quit
>
> $ qemu-system-$arch -monitor stdio -incoming defer ...
> QEMU 8.1.50 monitor - type 'help' for more information
> (qemu) migrate_set_capability x-ignore-shared on
> (qemu) migrate_set_parameter mode cpr-reboot
> (qemu) migrate_incoming file:vm.state
> (qemu) info status
> VM status: running
>
> In this mode, the migrate command saves state to a file, allowing one
> to quit qemu, reboot to an updated kernel, and restart an updated version
> of qemu. The caller must specify a migration URI that writes to and reads
> from a file. Unlike normal mode, the use of certain local storage options
> does not block the migration, but the caller must not modify guest block
> devices between the quit and restart. To avoid saving guest RAM to the
> file, the memory backend must be shared, and the @x-ignore-shared migration
> capability must be set. Guest RAM must be non-volatile across reboot, such
> as by backing it with a dax device, but this is not enforced. The restarted
> qemu arguments must match those used to initially start qemu, plus the
> -incoming option.
>
> Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
- [PATCH V2 0/6] Live Update reboot mode, Steve Sistare, 2023/10/25
- [PATCH V2 1/6] migration: mode parameter, Steve Sistare, 2023/10/25
- [PATCH V2 4/6] cpr: relax vhost migration blockers, Steve Sistare, 2023/10/25
- [PATCH V2 3/6] cpr: relax blockdev migration blockers, Steve Sistare, 2023/10/25
- [PATCH V2 5/6] cpr: reboot mode, Steve Sistare, 2023/10/25
- Re: [PATCH V2 5/6] cpr: reboot mode,
Juan Quintela <=
- [PATCH V2 6/6] tests/qtest: migration: add reboot mode test, Steve Sistare, 2023/10/25
- [PATCH V2 2/6] migration: per-mode blockers, Steve Sistare, 2023/10/25
- [PATCH V2 0/6] Live Update reboot mode, Steve Sistare, 2023/10/26
- [PATCH V2 6/6] tests/qtest: migration: add reboot mode test, Steve Sistare, 2023/10/26
- [PATCH V2 3/6] cpr: relax blockdev migration blockers, Steve Sistare, 2023/10/26
- [PATCH V2 1/6] migration: mode parameter, Steve Sistare, 2023/10/26
- [PATCH V2 4/6] cpr: relax vhost migration blockers, Steve Sistare, 2023/10/26
- [PATCH V2 5/6] cpr: reboot mode, Steve Sistare, 2023/10/26
- [PATCH V2 2/6] migration: per-mode blockers, Steve Sistare, 2023/10/26