qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: "Xie, Huawei" <huawei.xie@intel.com>
Cc: "rusty@rustcorp.com.au" <rusty@rustcorp.com.au>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] Would virtio support 64 bit address for vring virtqueue?
Date: Wed, 28 Aug 2013 10:07:23 +0200	[thread overview]
Message-ID: <20130828080723.GD4696@stefanha-thinkpad.muc.redhat.com> (raw)
In-Reply-To: <C37D651A908B024F974696C65296B57B01980259@SHSMSX101.ccr.corp.intel.com>

On Wed, Aug 28, 2013 at 03:18:39AM +0000, Xie, Huawei wrote:
> I am developing virtio user space poll mode network driver. We allocate vring physical memory from huge page. On VMs with less than 4GB  memory, it works well.  But on VMs with like 8GB memory, huge page are all allocated from high end memory.
> So would virtio support 64bit address for vring virtqueue?

The vring takes guest physical addresses and the C type is __u64 (see
/usr/include/linux/virtio_ring.h).  64-bit addresses are fine.

Stefan

  reply	other threads:[~2013-08-28  8:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28  3:18 [Qemu-devel] Would virtio support 64 bit address for vring virtqueue? Xie, Huawei
2013-08-28  8:07 ` Stefan Hajnoczi [this message]
2013-08-28  9:22   ` Xie, Huawei
2013-08-28 11:45     ` Laszlo Ersek
2013-08-28 12:20       ` Christian Borntraeger
2013-08-28 15:30       ` Xie, Huawei
2013-08-28 17:35         ` Anthony Liguori
2013-08-28 21:02           ` H. Peter Anvin
2013-08-28 21:28             ` Anthony Liguori
2013-08-28 21:38               ` Richard Henderson
2013-08-28 10:16   ` Xie, Huawei
2013-09-04  6:52     ` Rusty Russell

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=20130828080723.GD4696@stefanha-thinkpad.muc.redhat.com \
    --to=stefanha@gmail.com \
    --cc=huawei.xie@intel.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rusty@rustcorp.com.au \
    --cc=stefanha@redhat.com \
    /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).