Re: [PATCH] virtio: Define and use per-architecture "pfn shift" constants
Hollis Blanchard <[email protected]>
| Newsgroups | org.kernel.vger.kvm-ia64,org.kernel.vger.kvm,org.kernel.vger.kvm-ppc |
|---|---|
| Message-ID | <[email protected]> |
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 and Linux PAGE_SHIFT. (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