[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] migration: Boost SaveStateEntry.instance_id to 64 bits
From: |
Peter Xu |
Subject: |
Re: [PATCH 1/2] migration: Boost SaveStateEntry.instance_id to 64 bits |
Date: |
Tue, 15 Oct 2019 18:28:01 +0800 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
On Tue, Oct 15, 2019 at 10:34:57AM +0200, Juan Quintela wrote:
> Peter Xu <address@hidden> wrote:
> > It was "int" and used as 32bits fields (see save_section_header()).
> > It's unsafe already because sizeof(int) could be 2 on i386,
>
> i386 is 32bits, so int is 32bits O:-)
Right it should be 16 bits systems. And yes I don't think we need to
consider that! :)
--
Peter Xu