[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 21/21] postcopy: implement postcopy livemigratio
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [PATCH 21/21] postcopy: implement postcopy livemigration |
Date: |
Thu, 29 Dec 2011 18:06:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 |
On 12/29/2011 03:26 AM, Isaku Yamahata wrote:
> This patch implements postcopy livemigration.
>
>
> +/* RAM is allocated via umem for postcopy incoming mode */
> +#define RAM_POSTCOPY_UMEM_MASK (1 << 1)
> +
> typedef struct RAMBlock {
> uint8_t *host;
> ram_addr_t offset;
> @@ -485,6 +488,10 @@ typedef struct RAMBlock {
> #if defined(__linux__) && !defined(TARGET_S390X)
> int fd;
> #endif
> +
> +#ifdef CONFIG_POSTCOPY
> + UMem *umem; /* for incoming postcopy mode */
> +#endif
> } RAMBlock;
Is it possible to implement this via the MemoryListener API (which
replaces CPUPhysMemoryClient)? This is how kvm, vhost, and xen manage
their memory tables.
>
--
error compiling committee.c: too many arguments to function
- [Qemu-devel] [PATCH 15/21] migration: factor out parameters into MigrationParams, (continued)
- [Qemu-devel] [PATCH 15/21] migration: factor out parameters into MigrationParams, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 12/21] savevm: qemu_pending_size() to return pending buffered size, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 18/21] configure: add CONFIG_POSTCOPY option, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 16/21] umem.h: import Linux umem.h, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 14/21] migration: export migrate_fd_completed() and migrate_fd_cleanup(), Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 19/21] postcopy: introduce -postcopy and -postcopy-flags option, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 09/21] exec.c: factor out qemu_get_ram_ptr(), Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 01/21] arch_init: export sort_ram_list() and ram_save_block(), Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 21/21] postcopy: implement postcopy livemigration, Isaku Yamahata, 2011/12/28
- [Qemu-devel] [PATCH 13/21] savevm, buffered_file: introduce method to drain buffer of buffered file, Isaku Yamahata, 2011/12/28
- Re: [Qemu-devel] [PATCH 00/21][RFC] postcopy live migration, Anthony Liguori, 2011/12/29