Re: [PATCH 2/4] x86/iommu: Make x86-iommu a singleton object

2024-11-08 Thread Markus Armbruster
Peter Xu writes: > On Thu, Nov 07, 2024 at 12:12:10PM +0100, Markus Armbruster wrote: >> Peter Xu writes: >> >> > On Fri, Oct 25, 2024 at 05:55:59PM -0400, Peter Xu wrote: >> >> On Fri, Oct 25, 2024 at 11:25:23AM +0200, Markus Armbruster wrote: >> >> > Peter Xu writes: >> >> > >> >> > > X86 I

Re: [PATCH 2/4] x86/iommu: Make x86-iommu a singleton object

2024-11-07 Thread Peter Xu
On Thu, Nov 07, 2024 at 12:12:10PM +0100, Markus Armbruster wrote: > Peter Xu writes: > > > On Fri, Oct 25, 2024 at 05:55:59PM -0400, Peter Xu wrote: > >> On Fri, Oct 25, 2024 at 11:25:23AM +0200, Markus Armbruster wrote: > >> > Peter Xu writes: > >> > > >> > > X86 IOMMUs cannot be created more

Re: [PATCH 2/4] x86/iommu: Make x86-iommu a singleton object

2024-11-07 Thread Markus Armbruster
Peter Xu writes: > On Fri, Oct 25, 2024 at 05:55:59PM -0400, Peter Xu wrote: >> On Fri, Oct 25, 2024 at 11:25:23AM +0200, Markus Armbruster wrote: >> > Peter Xu writes: >> > >> > > X86 IOMMUs cannot be created more than one on a system yet. Make it a >> > > singleton so it guards the system fr

Re: [PATCH 2/4] x86/iommu: Make x86-iommu a singleton object

2024-10-29 Thread Peter Xu
On Tue, Oct 29, 2024 at 10:47:06AM +, Daniel P. Berrangé wrote: > On Thu, Oct 24, 2024 at 12:56:25PM -0400, Peter Xu wrote: > > X86 IOMMUs cannot be created more than one on a system yet. Make it a > > singleton so it guards the system from accidentally create yet another > > IOMMU object when

Re: [PATCH 2/4] x86/iommu: Make x86-iommu a singleton object

2024-10-29 Thread Daniel P . Berrangé
On Thu, Oct 24, 2024 at 12:56:25PM -0400, Peter Xu wrote: > X86 IOMMUs cannot be created more than one on a system yet. Make it a > singleton so it guards the system from accidentally create yet another > IOMMU object when one already presents. > > Now if someone tries to create more than one, e.

Re: [PATCH 2/4] x86/iommu: Make x86-iommu a singleton object

2024-10-25 Thread Peter Xu
On Fri, Oct 25, 2024 at 05:55:59PM -0400, Peter Xu wrote: > On Fri, Oct 25, 2024 at 11:25:23AM +0200, Markus Armbruster wrote: > > Peter Xu writes: > > > > > X86 IOMMUs cannot be created more than one on a system yet. Make it a > > > singleton so it guards the system from accidentally create yet

Re: [PATCH 2/4] x86/iommu: Make x86-iommu a singleton object

2024-10-25 Thread Peter Xu
On Fri, Oct 25, 2024 at 11:25:23AM +0200, Markus Armbruster wrote: > Peter Xu writes: > > > X86 IOMMUs cannot be created more than one on a system yet. Make it a > > singleton so it guards the system from accidentally create yet another > > IOMMU object when one already presents. > > > > Now if

Re: [PATCH 2/4] x86/iommu: Make x86-iommu a singleton object

2024-10-25 Thread Markus Armbruster
Peter Xu writes: > X86 IOMMUs cannot be created more than one on a system yet. Make it a > singleton so it guards the system from accidentally create yet another > IOMMU object when one already presents. > > Now if someone tries to create more than one, e.g., via: > > ./qemu -M q35 -device int

[PATCH 2/4] x86/iommu: Make x86-iommu a singleton object

2024-10-24 Thread Peter Xu
X86 IOMMUs cannot be created more than one on a system yet. Make it a singleton so it guards the system from accidentally create yet another IOMMU object when one already presents. Now if someone tries to create more than one, e.g., via: ./qemu -M q35 -device intel-iommu -device intel-iommu T