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