public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Chris Wright <chrisw@redhat.com>, Avi Kivity <avi@redhat.com>,
	Dor Laor <dlaor@redhat.com>,
	kvm@vger.kernel.org
Subject: Re: qemu-kvm: require 4K aligned resource size for memory
Date: Thu, 22 Oct 2009 14:37:39 -0200	[thread overview]
Message-ID: <20091022163739.GA4353@amt.cnet> (raw)
In-Reply-To: <20091020171508.GD13378@redhat.com>

On Tue, Oct 20, 2009 at 07:15:09PM +0200, Michael S. Tsirkin wrote:
> KVM does not virtualize low address bits for memory accesses, so we must
> require that PCI BAR size is a multiple of 4K for passthrough to work
> (this also guarantees that address is 4K aligned).
> 
> Users of recent linux kernels can force resource size up to 4K
> using:
> 
> 	commit 32a9a682bef2f6fce7026bd94d1ce20028b0e52d
> 	Author: Yuji Shimada <shimada-yxb@necst.nec.co.jp>
> 	Date:   Mon Mar 16 17:13:39 2009 +0900
> 	PCI: allow assignment of memory resources with a specified alignment
> 
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

Applied, thanks.


      parent reply	other threads:[~2009-10-22 16:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-20 17:15 qemu-kvm: require 4K aligned resource size for memory Michael S. Tsirkin
2009-10-22  6:42 ` Chris Wright
2009-10-22  9:18   ` Michael S. Tsirkin
2009-10-22 16:37 ` Marcelo Tosatti [this message]

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=20091022163739.GA4353@amt.cnet \
    --to=mtosatti@redhat.com \
    --cc=avi@redhat.com \
    --cc=chrisw@redhat.com \
    --cc=dlaor@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mst@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