qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: <stefano.stabellini@eu.citrix.com>
To: qemu-devel@nongnu.org
Cc: stefano.stabellini@eu.citrix.com
Subject: [Qemu-devel] [PATCH 3/4] xen: use uint64_t instead of target_ulong in cpu_ioreq_move
Date: Fri, 9 Sep 2011 14:40:08 +0100	[thread overview]
Message-ID: <1315575609-30317-3-git-send-email-stefano.stabellini@eu.citrix.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1109091420400.12963@kaball-desktop>

From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

cpu_ioreq_move might move 8 bytes at a time so we must make sure that
the temporary variable can hold 8 bytes.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---
 xen-all.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xen-all.c b/xen-all.c
index 9eaeac1..3611e19 100644
--- a/xen-all.c
+++ b/xen-all.c
@@ -620,7 +620,7 @@ static void cpu_ioreq_move(ioreq_t *req)
             }
         }
     } else {
-        target_ulong tmp;
+        uint64_t tmp;
 
         if (req->dir == IOREQ_READ) {
             for (i = 0; i < req->count; i++) {
-- 
1.7.2.3

  parent reply	other threads:[~2011-09-09 13:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-09 13:39 [Qemu-devel] [PULL 0/4] xen: old bug fixes Stefano Stabellini
2011-09-09 13:40 ` [Qemu-devel] [PATCH 1/4] Introduce a new 'connected' xendev op called when Connected stefano.stabellini
2011-09-09 13:40 ` [Qemu-devel] [PATCH 2/4] Move the xenfb pointer handler to the connected method stefano.stabellini
2011-09-09 13:40 ` stefano.stabellini [this message]
2011-09-09 13:40 ` [Qemu-devel] [PATCH 4/4] xen-mapcache: Fix rlimit set size stefano.stabellini
2011-09-09 18:29 ` [Qemu-devel] [PULL 0/4] xen: old bug fixes Anthony Liguori

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=1315575609-30317-3-git-send-email-stefano.stabellini@eu.citrix.com \
    --to=stefano.stabellini@eu.citrix.com \
    --cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).