Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-05 Thread BALATON Zoltan
On Wed, 5 Mar 2025, Thomas Huth wrote: On 03/03/2025 18.32, Philippe Mathieu-Daudé wrote: On 3/3/25 17:57, Peter Maydell wrote: On Mon, 3 Mar 2025 at 15:49, Cédric Le Goater wrote: Why are we keeping qemu-system-ppc and qemu-system-i386, and arm, since qemu-system-ppc64 and qemu-system-x86_64

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-04 Thread Thomas Huth
On 03/03/2025 18.32, Philippe Mathieu-Daudé wrote: On 3/3/25 17:57, Peter Maydell wrote: On Mon, 3 Mar 2025 at 15:49, Cédric Le Goater wrote: Why are we keeping qemu-system-ppc and qemu-system-i386, and arm, since qemu-system-ppc64 and qemu-system-x86_64 should be able to run the same machines

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Cédric Le Goater
I see PPC is defined in target/ppc/Kconfig so I think these mark the target not the host. Vfio-pci works with qemu-system-ppc Ah ! I am surprised. Which host and QEMU machine please ? I've seen people do this on x86_64 host with pegasos2, amigaone and mac99 running 32 bit guests (AmigaOS a

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Cédric Le Goater
On 3/3/25 17:57, Peter Maydell wrote: On Mon, 3 Mar 2025 at 15:49, Cédric Le Goater wrote: Why are we keeping qemu-system-ppc and qemu-system-i386, and arm, since qemu-system-ppc64 and qemu-system-x86_64 should be able to run the same machines ? They're not identical -- for example "-cpu max"

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Cédric Le Goater
On 3/3/25 17:50, Paolo Bonzini wrote: Il lun 3 mar 2025, 16:05 Cédric Le Goater mailto:c...@redhat.com>> ha scritto: On 3/3/25 15:46, Paolo Bonzini wrote: > On 3/3/25 15:30, Philippe Mathieu-Daudé wrote: > I see PPC is defined in target/ppc/Kconfig so I think these mark the

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Philippe Mathieu-Daudé
On 3/3/25 17:57, Peter Maydell wrote: On Mon, 3 Mar 2025 at 15:49, Cédric Le Goater wrote: Why are we keeping qemu-system-ppc and qemu-system-i386, and arm, since qemu-system-ppc64 and qemu-system-x86_64 should be able to run the same machines ? They're not identical -- for example "-cpu max"

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Peter Maydell
On Mon, 3 Mar 2025 at 15:49, Cédric Le Goater wrote: > Why are we keeping qemu-system-ppc and qemu-system-i386, and arm, > since qemu-system-ppc64 and qemu-system-x86_64 should be able to > run the same machines ? They're not identical -- for example "-cpu max" on qemu-system-arm is a 32-bit CPU

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Daniel P . Berrangé
On Mon, Mar 03, 2025 at 03:53:29PM +0100, Philippe Mathieu-Daudé wrote: > On 3/3/25 15:43, Paolo Bonzini wrote: > > On 2/26/25 17:26, Cédric Le Goater wrote: > > > On 2/26/25 15:12, BALATON Zoltan wrote: > > > > On Wed, 26 Feb 2025, Cédric Le Goater wrote: > > > > > VFIO PCI never worked on PPC32 n

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Paolo Bonzini
Il lun 3 mar 2025, 16:05 Cédric Le Goater ha scritto: > On 3/3/25 15:46, Paolo Bonzini wrote: > > On 3/3/25 15:30, Philippe Mathieu-Daudé wrote: > > I see PPC is defined in target/ppc/Kconfig so I think these mark the > target not the host. Vfio-pci works with qemu-system-ppc > >>> > >>> I've

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Cédric Le Goater
On 3/3/25 16:48, Cédric Le Goater wrote: On 3/3/25 16:26, BALATON Zoltan wrote: On Mon, 3 Mar 2025, Cédric Le Goater wrote: On 3/3/25 15:46, Paolo Bonzini wrote: On 3/3/25 15:30, Philippe Mathieu-Daudé wrote: I see PPC is defined in target/ppc/Kconfig so I think these mark the target not the h

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Cédric Le Goater
On 3/3/25 16:26, BALATON Zoltan wrote: On Mon, 3 Mar 2025, Cédric Le Goater wrote: On 3/3/25 15:46, Paolo Bonzini wrote: On 3/3/25 15:30, Philippe Mathieu-Daudé wrote: I see PPC is defined in target/ppc/Kconfig so I think these mark the target not the host. Vfio-pci works with qemu-system-ppc

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread BALATON Zoltan
On Mon, 3 Mar 2025, Cédric Le Goater wrote: On 3/3/25 15:46, Paolo Bonzini wrote: On 3/3/25 15:30, Philippe Mathieu-Daudé wrote: I see PPC is defined in target/ppc/Kconfig so I think these mark the target not the host. Vfio-pci works with qemu-system-ppc I've seen people do this on x86_64 ho

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Cédric Le Goater
On 3/3/25 15:43, Paolo Bonzini wrote: On 2/26/25 17:26, Cédric Le Goater wrote: On 2/26/25 15:12, BALATON Zoltan wrote: On Wed, 26 Feb 2025, Cédric Le Goater wrote: VFIO PCI never worked on PPC32 nor ARM, S390x is 64-bit, it might have worked on i386 long ago but we have no plans to further su

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Cédric Le Goater
On 3/3/25 15:46, Paolo Bonzini wrote: On 3/3/25 15:30, Philippe Mathieu-Daudé wrote: I see PPC is defined in target/ppc/Kconfig so I think these mark the target not the host. Vfio-pci works with qemu-system-ppc I've seen people do this on x86_64 host Since this patch does:    LINUX && PCI &

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Philippe Mathieu-Daudé
On 3/3/25 15:43, Paolo Bonzini wrote: On 2/26/25 17:26, Cédric Le Goater wrote: On 2/26/25 15:12, BALATON Zoltan wrote: On Wed, 26 Feb 2025, Cédric Le Goater wrote: VFIO PCI never worked on PPC32 nor ARM, S390x is 64-bit, it might have worked on i386 long ago but we have no plans to further su

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Paolo Bonzini
On 3/3/25 15:30, Philippe Mathieu-Daudé wrote: I see PPC is defined in target/ppc/Kconfig so I think these mark the target not the host. Vfio-pci works with qemu-system-ppc I've seen people do this on x86_64 host Since this patch does:   LINUX && PCI && (...  X86_64 ...) these users won't

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread BALATON Zoltan
On Mon, 3 Mar 2025, Philippe Mathieu-Daudé wrote: On 26/2/25 18:57, BALATON Zoltan wrote: On Wed, 26 Feb 2025, Cédric Le Goater wrote: On 2/26/25 15:12, BALATON Zoltan wrote: On Wed, 26 Feb 2025, Cédric Le Goater wrote: VFIO PCI never worked on PPC32 nor ARM, S390x is 64-bit, it might have wo

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Paolo Bonzini
On 2/26/25 17:26, Cédric Le Goater wrote: On 2/26/25 15:12, BALATON Zoltan wrote: On Wed, 26 Feb 2025, Cédric Le Goater wrote: VFIO PCI never worked on PPC32 nor ARM, S390x is 64-bit, it might have worked on i386 long ago but we have no plans to further support VFIO on any 32-bit host platforms

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-03-03 Thread Philippe Mathieu-Daudé
On 26/2/25 18:57, BALATON Zoltan wrote: On Wed, 26 Feb 2025, Cédric Le Goater wrote: On 2/26/25 15:12, BALATON Zoltan wrote: On Wed, 26 Feb 2025, Cédric Le Goater wrote: VFIO PCI never worked on PPC32 nor ARM, S390x is 64-bit, it might have worked on i386 long ago but we have no plans to furth

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-02-26 Thread BALATON Zoltan
On Wed, 26 Feb 2025, Cédric Le Goater wrote: On 2/26/25 15:12, BALATON Zoltan wrote: On Wed, 26 Feb 2025, Cédric Le Goater wrote: VFIO PCI never worked on PPC32 nor ARM, S390x is 64-bit, it might have worked on i386 long ago but we have no plans to further support VFIO on any 32-bit host platfo

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-02-26 Thread Cédric Le Goater
On 2/26/25 15:12, BALATON Zoltan wrote: On Wed, 26 Feb 2025, Cédric Le Goater wrote: VFIO PCI never worked on PPC32 nor ARM, S390x is 64-bit, it might have worked on i386 long ago but we have no plans to further support VFIO on any 32-bit host platforms. Restrict to 64-bit host platforms. Cc: H

Re: [PATCH 1/2] vfio: Make vfio-pci available on 64-bit host platforms only

2025-02-26 Thread BALATON Zoltan
On Wed, 26 Feb 2025, Cédric Le Goater wrote: VFIO PCI never worked on PPC32 nor ARM, S390x is 64-bit, it might have worked on i386 long ago but we have no plans to further support VFIO on any 32-bit host platforms. Restrict to 64-bit host platforms. Cc: Harsh Prateek Bora Cc: Tony Krowiak Cc: