Re: [Qemu-devel] [PATCH RFC 0/2] enable iommu with -device

2016-06-02 Thread Marcel Apfelbaum
On 05/31/2016 04:44 AM, Peter Xu wrote: On Mon, May 30, 2016 at 05:14:15PM +0300, Marcel Apfelbaum wrote: On 05/30/2016 04:43 PM, Peter Xu wrote: On Mon, May 23, 2016 at 05:01:28PM +0300, Marcel Apfelbaum wrote: This is a proposal on how to create the iommu with '-device intel-iommu' instead

Re: [Qemu-devel] [PATCH RFC 0/2] enable iommu with -device

2016-05-30 Thread Peter Xu
On Mon, May 30, 2016 at 05:14:15PM +0300, Marcel Apfelbaum wrote: > On 05/30/2016 04:43 PM, Peter Xu wrote: > >On Mon, May 23, 2016 at 05:01:28PM +0300, Marcel Apfelbaum wrote: > >>This is a proposal on how to create the iommu with > >>'-device intel-iommu' instead of '-machine,iommu=on'. > >> >

Re: [Qemu-devel] [PATCH RFC 0/2] enable iommu with -device

2016-05-30 Thread Marcel Apfelbaum
On 05/30/2016 04:43 PM, Peter Xu wrote: On Mon, May 23, 2016 at 05:01:28PM +0300, Marcel Apfelbaum wrote: This is a proposal on how to create the iommu with '-device intel-iommu' instead of '-machine,iommu=on'. The device is part of the machine properties because we wanted to ensure it is

Re: [Qemu-devel] [PATCH RFC 0/2] enable iommu with -device

2016-05-30 Thread Peter Xu
On Mon, May 23, 2016 at 05:01:28PM +0300, Marcel Apfelbaum wrote: > This is a proposal on how to create the iommu with > '-device intel-iommu' instead of '-machine,iommu=on'. > > The device is part of the machine properties because we wanted > to ensure it is created before any other PCI device.

[Qemu-devel] [PATCH RFC 0/2] enable iommu with -device

2016-05-23 Thread Marcel Apfelbaum
This is a proposal on how to create the iommu with '-device intel-iommu' instead of '-machine,iommu=on'. The device is part of the machine properties because we wanted to ensure it is created before any other PCI device. The alternative is to skip the bus_master_enable_region at the time the