[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 01/29] RAMBlock/migration: Add migration flags
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [RFC 01/29] RAMBlock/migration: Add migration flags |
Date: |
Mon, 10 Jul 2017 17:28:13 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Wed, Jun 28, 2017 at 08:00:19PM +0100, Dr. David Alan Gilbert (git) wrote:
[...]
> diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h
> index af5bf26080..0cb6c5cb73 100644
> --- a/include/exec/ram_addr.h
> +++ b/include/exec/ram_addr.h
> @@ -32,6 +32,8 @@ struct RAMBlock {
> ram_addr_t max_length;
> void (*resized)(const char*, uint64_t length, void *host);
> uint32_t flags;
> + /* These flags are owned by migration, initialised to 0 */
> + uint32_t migration_flags;
Since we have RAMBlock.flags, would it be possible to use that
directly? Currently it only used 3 bits. Thanks,
--
Peter Xu
- Re: [Qemu-devel] [RFC 01/29] RAMBlock/migration: Add migration flags,
Peter Xu <=