From: Hollis Blanchard <hollisb@us.ibm.com>
To: rusty@rustcorp.com.au
Cc: kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, kvm-ia64@vger.kernel.org
Subject: Re: [PATCH] virtio: Define and use per-architecture "pfn shift" constants
Date: Wed, 5 Nov 2008 22:54:04 -0600 [thread overview]
Message-ID: <200811052254.04409.hollisb@us.ibm.com> (raw)
In-Reply-To: <f58566dfe20e841604e1.1225946982@localhost.localdomain>
On Wednesday 05 November 2008 22:49:42 Hollis Blanchard wrote:
> virtio: Define and use per-architecture "pfn shift" constants
>
> Both sides of the virtio interface must agree about how big a pfn really is.
> This is particularly an issue on architectures where the page size is
> configurable (e.g. PowerPC, IA64) -- the interface must be independent of
> PAGE_SHIFT.
I forgot to mention that with this patch and the corresponding qemu patch, I
can successfully use virtio with qemu TARGET_PAGE_BITS=12 and Linux
PAGE_SHIFT=16. (OK, actually I have other problems once I get to userspace,
but I don't believe it's a virtio issue.)
--
Hollis Blanchard
IBM Linux Technology Center
next prev parent reply other threads:[~2008-11-06 4:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-06 4:49 [PATCH] virtio: Define and use per-architecture "pfn shift" constants Hollis Blanchard
2008-11-06 4:54 ` Hollis Blanchard [this message]
[not found] ` <f58566dfe20e841604e1.1225946982-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-11-06 10:49 ` Mark McLoughlin
2008-11-06 15:50 ` Hollis Blanchard
[not found] ` <1225986626.8620.28.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2008-11-06 16:22 ` Anthony Liguori
2008-11-06 20:07 ` Anthony Liguori
2008-11-06 13:59 ` 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=200811052254.04409.hollisb@us.ibm.com \
--to=hollisb@us.ibm.com \
--cc=kvm-ia64@vger.kernel.org \
--cc=kvm-ppc@vger.kernel.org \
--cc=kvm@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/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