From: Ian Campbell Subject: Re: [PATCH 25/29] tools/libxl: Stream v2 format Date: Thu, 11 Sep 2014 13:06:51 +0100 Message-ID: <1410437211.25388.8.camel@kazak.uk.xensource.com> References: <1410369067-1330-1-git-send-email-andrew.cooper3@citrix.com> <1410369067-1330-26-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1410369067-1330-26-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Ross Lagerwall , Ian Jackson , Xen-devel List-Id: xen-devel@lists.xenproject.org On Wed, 2014-09-10 at 18:11 +0100, Andrew Cooper wrote: > +#define ROUNDUP(_x,_w) (((unsigned long)(_x)+(1UL<<(_w))-1) & ~((1UL<<(_w))-1)) I thought we ended up with a common version of this somewhere, but I can't find it now. > + > +#define EMULATOR_UNKNOWN 0x00000000U > +#define EMULATOR_QEMU_TRADITIONAL 0x00000001U > +#define EMULATOR_QEMU_UPSTREAM 0x00000002U > + > +#define RESTORE_STREAM_IDENT 0x4c6962786c466d74UL Does this compile without warnings for 32-bit? Ian.