From: Anthony Liguori Date: Thu, 06 Nov 2008 20:02:10 +0000 Subject: Re: [PATCH] qemu: define and use VIRTIO_PFN_SHIFT Message-Id: <49134D42.6080109@codemonkey.ws> List-Id: References: <1225968855.7284.15.camel@blaa> In-Reply-To: <1225968855.7284.15.camel@blaa> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ia64@vger.kernel.org Hollis Blanchard wrote: > I wanted to make sure people on non-x86 architectures couldn't run into > vring-size related problems that didn't also appear on x86. > Having a VRING_SHIFT and a VRING_PAGE_SIZE where VRING_PAGE_SIZE != (1 << VRING_SHIFT) is almost certainly going to break things in unexpected ways because it's going against common understanding of the relationship between shift and page_size. Regards, Anthony Liguori