Re: [RFC PATCH 0/3] Deprecate the qemu-system-i386 binary

2024-06-19 Thread Philippe Mathieu-Daudé
On 26/4/23 12:59, Paolo Bonzini wrote: On 4/25/23 15:38, Thomas Huth wrote: - CPU types have different suffixes between the -x86_64 and -i386    variant (see TYPE_X86_CPU in cpu-qom.h) ... do we need to care    about this in the new qemu-system-i386 symlink run mode? - The code in

Re: [RFC PATCH 0/3] Deprecate the qemu-system-i386 binary

2023-04-27 Thread Daniel P . Berrangé
On Thu, Apr 27, 2023 at 02:12:59PM +0200, Thomas Huth wrote: > On 27/04/2023 10.33, Daniel P. Berrangé wrote: > > On Thu, Apr 27, 2023 at 10:31:00AM +0200, Paolo Bonzini wrote: > > > On Thu, Apr 27, 2023 at 10:28 AM Daniel P. Berrangé > > > wrote: > > > > > I wonder if we should take this a step

Re: [RFC PATCH 0/3] Deprecate the qemu-system-i386 binary

2023-04-27 Thread Thomas Huth
On 27/04/2023 10.33, Daniel P. Berrangé wrote: On Thu, Apr 27, 2023 at 10:31:00AM +0200, Paolo Bonzini wrote: On Thu, Apr 27, 2023 at 10:28 AM Daniel P. Berrangé wrote: I wonder if we should take this a step further and rename qemu-system-x86_64 to qemu-system-x86! Distros can if they wish

Re: [RFC PATCH 0/3] Deprecate the qemu-system-i386 binary

2023-04-27 Thread Paolo Bonzini
On 4/27/23 10:33, Daniel P. Berrangé wrote: On Thu, Apr 27, 2023 at 10:31:00AM +0200, Paolo Bonzini wrote: On Thu, Apr 27, 2023 at 10:28 AM Daniel P. Berrangé wrote: I wonder if we should take this a step further and rename qemu-system-x86_64 to qemu-system-x86! Distros can if they wish

Re: [RFC PATCH 0/3] Deprecate the qemu-system-i386 binary

2023-04-27 Thread Daniel P . Berrangé
On Thu, Apr 27, 2023 at 10:31:00AM +0200, Paolo Bonzini wrote: > On Thu, Apr 27, 2023 at 10:28 AM Daniel P. Berrangé > wrote: > > > I wonder if we should take this a step further and rename > > > qemu-system-x86_64 > > > to qemu-system-x86! Distros can if they wish create symlinks to both > >

Re: [RFC PATCH 0/3] Deprecate the qemu-system-i386 binary

2023-04-27 Thread Paolo Bonzini
On Thu, Apr 27, 2023 at 10:28 AM Daniel P. Berrangé wrote: > > I wonder if we should take this a step further and rename qemu-system-x86_64 > > to qemu-system-x86! Distros can if they wish create symlinks to both > > qemu-system-i386 and qemu-system-x86_64. > > I can't help feeling this just

Re: [RFC PATCH 0/3] Deprecate the qemu-system-i386 binary

2023-04-27 Thread Daniel P . Berrangé
On Wed, Apr 26, 2023 at 12:59:13PM +0200, Paolo Bonzini wrote: > On 4/25/23 15:38, Thomas Huth wrote: > > - CPU types have different suffixes between the -x86_64 and -i386 > >variant (see TYPE_X86_CPU in cpu-qom.h) ... do we need to care > >about this in the new qemu-system-i386 symlink

Re: [RFC PATCH 0/3] Deprecate the qemu-system-i386 binary

2023-04-27 Thread Paolo Bonzini
On 4/27/23 10:13, Thomas Huth wrote: On 26/04/2023 12.59, Paolo Bonzini wrote: On 4/25/23 15:38, Thomas Huth wrote: - CPU types have different suffixes between the -x86_64 and -i386    variant (see TYPE_X86_CPU in cpu-qom.h) ... do we need to care    about this in the new qemu-system-i386

Re: [RFC PATCH 0/3] Deprecate the qemu-system-i386 binary

2023-04-27 Thread Thomas Huth
On 26/04/2023 12.59, Paolo Bonzini wrote: On 4/25/23 15:38, Thomas Huth wrote: - CPU types have different suffixes between the -x86_64 and -i386    variant (see TYPE_X86_CPU in cpu-qom.h) ... do we need to care    about this in the new qemu-system-i386 symlink run mode? - The code in

Re: [RFC PATCH 0/3] Deprecate the qemu-system-i386 binary

2023-04-26 Thread Paolo Bonzini
On 4/25/23 15:38, Thomas Huth wrote: - CPU types have different suffixes between the -x86_64 and -i386 variant (see TYPE_X86_CPU in cpu-qom.h) ... do we need to care about this in the new qemu-system-i386 symlink run mode? - The code in target/i386/tcg/sysemu/smm_helper.c looks like it

[RFC PATCH 0/3] Deprecate the qemu-system-i386 binary

2023-04-25 Thread Thomas Huth
Allow running qemu-system-x86_64 in 32-bit-only mode (by renaming or symlinking the binary to "qemu-system-i386"). After doing this, qemu-system-x86_64 should be a proper superset of qemu-system-i386 (apart from 32-bit KVM support, which however is not really required anymore, see