All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yi Sun <yi.y.sun@linux.intel.com>
To: Peter Xu <peterx@redhat.com>
Cc: qemu-devel@nongnu.org, pbonzini@redhat.com, rth@twiddle.net,
	ehabkost@redhat.com, mst@redhat.com, marcel.apfelbaum@gmail.com,
	jasowang@redhat.com, kevin.tian@intel.com, yi.l.liu@intel.com,
	yi.y.sun@intel.com
Subject: Re: [Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode
Date: Tue, 5 Mar 2019 14:27:48 +0800	[thread overview]
Message-ID: <20190305062748.GL26129@yi.y.sun> (raw)
In-Reply-To: <20190305053611.GJ1657@xz-x1>

On 19-03-05 13:36:12, Peter Xu wrote:
> On Tue, Mar 05, 2019 at 01:15:53PM +0800, Yi Sun wrote:
> 
> [...]
> 
> > > > w/o passthr
> > > >     -device intel-iommu \
> > > >     -netdev tap,id=net1,vhost=off|on \
> > > >     -device virtio-net-pci,netdev=net1 \
> > > 
> > > Virtio devices require explicit enabling of DMAR:
> > > 
> > > https://wiki.qemu.org/Features/VT-d#With_Virtio_Devices
> > > 
> > > Otherwise it could probably still be bypassing the translation unit.
> > > 
> > > If you retest any, please feel free to skip some of the tests like
> > > kernel build.  Quick netperf should work, which can save you time.
> > > 
> > Thanks! Just made a quick test. It works well. Please check below
> > command.
> > 
> >     -device intel-iommu,intremap=on,device-iotlb=on \
> >     -netdev tap,id=net1,vhost=off \
> >     -device ioh3420,id=pcie.1,chassis=1 \
> >     -device
> > virtio-net-pci,bus=pcie.1,netdev=net1,disable-legacy=on,disable-modern=off,iommu_platform=on,ats=on
> > \
> 
> Please also consider to try vhost=on with/without iommu=pt.
> 
Just tested vhost=on/off with/without iommu=pt for legacy mode. All pass.

> Regards,
> 
> -- 
> Peter Xu

  reply	other threads:[~2019-03-05  6:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-05  2:34 [Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode Yi Sun
2019-03-05  2:34 ` [Qemu-devel] [PATCH v1 1/3] intel_iommu: scalable mode emulation Yi Sun
2019-03-05  3:06   ` Peter Xu
2019-03-05  2:34 ` [Qemu-devel] [PATCH v1 2/3] intel_iommu: add 256 bits qi_desc support Yi Sun
2019-03-05  2:34 ` [Qemu-devel] [PATCH v1 3/3] intel_iommu: add scalable-mode option to make scalable mode work Yi Sun
2019-03-05  3:07   ` Peter Xu
2019-03-05  3:09 ` [Qemu-devel] [PATCH v1 0/3] intel_iommu: support scalable mode Peter Xu
2019-03-05  3:23   ` Michael S. Tsirkin
2019-03-05  3:24   ` Yi Sun
2019-03-05  4:48     ` Peter Xu
2019-03-05  5:15       ` Yi Sun
2019-03-05  5:36         ` Peter Xu
2019-03-05  6:27           ` Yi Sun [this message]
2019-03-05  6:39             ` Peter Xu

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=20190305062748.GL26129@yi.y.sun \
    --to=yi.y.sun@linux.intel.com \
    --cc=ehabkost@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=kevin.tian@intel.com \
    --cc=marcel.apfelbaum@gmail.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peterx@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=yi.l.liu@intel.com \
    --cc=yi.y.sun@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.