All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>,
	Xen-devel <xen-devel@lists.xen.org>
Cc: Wei Liu <wei.liu2@citrix.com>, Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: Re: [PATCH qemu-trad] Remove all use of xc_{get, set}_hvm_param()
Date: Wed, 31 May 2017 19:57:24 +0200	[thread overview]
Message-ID: <d818c144-369e-0df1-efab-93692953a6d4@suse.com> (raw)
In-Reply-To: <1496252862-14291-1-git-send-email-andrew.cooper3@citrix.com>

On 31/05/17 19:47, Andrew Cooper wrote:
> xc_{get,set}_hvm_param() are problematic because they truncate their values in
> a 32bit build.
> 
> Luckily, this isn't a problem in practice because all values in question
> should be below 2^32.
> 
> To expediate the removal of xc_{get,set}_hvm_param() from libxc, switch
> qemu-trad over to using xc_hvm_param_{get,set}() which don't suffer from
> truncation issues.
> 
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

cscope tells me qemu upstream is using those, too.


Juergen

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2017-05-31 17:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-31 17:47 [PATCH qemu-trad] Remove all use of xc_{get, set}_hvm_param() Andrew Cooper
2017-05-31 17:57 ` Juergen Gross [this message]
2017-05-31 17:58   ` Andrew Cooper

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=d818c144-369e-0df1-efab-93692953a6d4@suse.com \
    --to=jgross@suse.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.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.