From: Ian Campbell <ian.campbell@citrix.com>
To: "Roger Pau Monné" <roger.pau@citrix.com>,
"Wei Liu" <wei.liu2@citrix.com>
Cc: xen-devel@lists.xenproject.org, Ian Jackson <ian.jackson@eu.citrix.com>
Subject: Re: [PATCH v2] libxc: fix the types used in xc_dom_image to build HVM guests
Date: Fri, 16 Oct 2015 10:10:58 +0100 [thread overview]
Message-ID: <1444986658.12442.12.camel@citrix.com> (raw)
In-Reply-To: <5620BD7A.3010701@citrix.com>
On Fri, 2015-10-16 at 11:03 +0200, Roger Pau Monné wrote:
> El 16/10/15 a les 11.00, Wei Liu ha escrit:
> > On Fri, Oct 16, 2015 at 09:57:02AM +0100, Ian Campbell wrote:
> > > On Thu, 2015-10-15 at 19:23 +0200, Roger Pau Monne wrote:
> > > > Fix the types used to store the memory parameters of an HVM guest,
> > > > previously they defaulted to unsigned long on 32bit toolstack
> > > > builds, which
> > > > is wrong because a 32bit value cannot hold a 64bit memory address
> > > > that
> > > > crosses the 4GB boundary.
> > >
> > > Just for my own interest, I suppose this was a latent issue even
> > > before the
> > > dom builder rework, but what was the change which exposed it now?
> > >
> >
> > I don't think this is a latent issue.
> >
> > During the refactoring a bunch of types were changed to unsigned long.
> > The original types used were uint64_t, which is of the same width on 32
> > bit and 64 bit.
>
> Yes, those fields were in xc_hvm_build_args as uint64_t, and during the
> rework of the HVM builder I had changed them to xen_pfn_t, so it's
> completely my fault, previous code should be fine.
Ah ok, thanks.
> I will keep an eye on the smoke OSSTest tests.
Thank you.
Ian.
>
> Roger.
>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
prev parent reply other threads:[~2015-10-16 9:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-15 17:23 [PATCH v2] libxc: fix the types used in xc_dom_image to build HVM guests Roger Pau Monne
2015-10-16 8:48 ` Ian Campbell
2015-10-16 8:50 ` Wei Liu
2015-10-16 8:55 ` Ian Campbell
2015-10-16 8:57 ` Ian Campbell
2015-10-16 9:00 ` Wei Liu
2015-10-16 9:03 ` Roger Pau Monné
2015-10-16 9:10 ` Ian Campbell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1444986658.12442.12.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=roger.pau@citrix.com \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.