Re: [Qemu-devel] [PATCH v2] pci/bus: let it has higher migration priority

2018-02-07 Thread Auger Eric
Hi, On 07/02/18 10:56, Dr. David Alan Gilbert wrote: > * Michael S. Tsirkin (m...@redhat.com) wrote: >> On Tue, Feb 06, 2018 at 03:39:33PM +0800, Peter Xu wrote: >>> In the past, we prioritized IOMMU migration so that we have such a >>> priority order: >>> >>> IOMMU > PCI Devices >>> >>> When

Re: [Qemu-devel] [PATCH v2] pci/bus: let it has higher migration priority

2018-02-07 Thread Dr. David Alan Gilbert
* Michael S. Tsirkin (m...@redhat.com) wrote: > On Tue, Feb 06, 2018 at 03:39:33PM +0800, Peter Xu wrote: > > In the past, we prioritized IOMMU migration so that we have such a > > priority order: > > > > IOMMU > PCI Devices > > > > When migrating a guest with both vIOMMU and a pcie-root-port

Re: [Qemu-devel] [PATCH v2] pci/bus: let it has higher migration priority

2018-02-06 Thread Michael S. Tsirkin
On Tue, Feb 06, 2018 at 03:39:33PM +0800, Peter Xu wrote: > In the past, we prioritized IOMMU migration so that we have such a > priority order: > > IOMMU > PCI Devices > > When migrating a guest with both vIOMMU and a pcie-root-port, we'll > always migrate vIOMMU first, since pci buses will

Re: [Qemu-devel] [PATCH v2] pci/bus: let it has higher migration priority

2018-02-06 Thread Marcel Apfelbaum
On 06/02/2018 9:39, Peter Xu wrote: > In the past, we prioritized IOMMU migration so that we have such a > priority order: > > IOMMU > PCI Devices > > When migrating a guest with both vIOMMU and a pcie-root-port, we'll > always migrate vIOMMU first, since pci buses will be seen to have the >

[Qemu-devel] [PATCH v2] pci/bus: let it has higher migration priority

2018-02-05 Thread Peter Xu
In the past, we prioritized IOMMU migration so that we have such a priority order: IOMMU > PCI Devices When migrating a guest with both vIOMMU and a pcie-root-port, we'll always migrate vIOMMU first, since pci buses will be seen to have the same priority of general PCI devices. That's proble