Re: [PATCH] bsd-user/main: Allow setting tb-size

2024-08-01 Thread Warner Losh
On Thu, Aug 1, 2024 at 2:25 AM Ilya Leoshkevich wrote: > On Wed, 2024-07-31 at 15:21 -0600, Warner Losh wrote: > > On Wed, Jul 31, 2024 at 8: 45 AM Ilya Leoshkevich > wrote: While qemu-system can set tb-size using -accel tcg,tb-size=n, there > is no similar knob for qemu-bsd-user. Add one in a w

Re: [PATCH] bsd-user/main: Allow setting tb-size

2024-08-01 Thread Ilya Leoshkevich
On Wed, 2024-07-31 at 15:21 -0600, Warner Losh wrote: > On Wed, Jul 31, 2024 at 8: 45 AM Ilya Leoshkevich > wrote: While qemu-system can set tb-size using > -accel tcg,tb-size=n, there is no similar knob for qemu-bsd-user. Add > one in a way similar to how one-insn-per-tb is already > > > > On

Re: [PATCH] bsd-user/main: Allow setting tb-size

2024-07-31 Thread Warner Losh
On Wed, Jul 31, 2024 at 3:42 PM Philippe Mathieu-Daudé wrote: > On 31/7/24 23:21, Warner Losh wrote: > > On Wed, Jul 31, 2024 at 8:45 AM Ilya Leoshkevich > > wrote: > > > > While qemu-system can set tb-size using -accel tcg,tb-size=n, there > > is no similar kn

Re: [PATCH] bsd-user/main: Allow setting tb-size

2024-07-31 Thread Philippe Mathieu-Daudé
On 31/7/24 23:21, Warner Losh wrote: On Wed, Jul 31, 2024 at 8:45 AM Ilya Leoshkevich > wrote: While qemu-system can set tb-size using -accel tcg,tb-size=n, there is no similar knob for qemu-bsd-user. Add one in a way similar to how one-insn-per-tb is alrea

Re: [PATCH] bsd-user/main: Allow setting tb-size

2024-07-31 Thread Warner Losh
On Wed, Jul 31, 2024 at 8:45 AM Ilya Leoshkevich wrote: > While qemu-system can set tb-size using -accel tcg,tb-size=n, there > is no similar knob for qemu-bsd-user. Add one in a way similar to how > one-insn-per-tb is already handled. > Cool! Are you using bsd-user and need this for some reason

Re: [PATCH] bsd-user/main: Allow setting tb-size

2024-07-31 Thread Philippe Mathieu-Daudé
On 31/7/24 16:45, Ilya Leoshkevich wrote: While qemu-system can set tb-size using -accel tcg,tb-size=n, there is no similar knob for qemu-bsd-user. Add one in a way similar to how one-insn-per-tb is already handled. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Ilya Leoshkevich --- bsd

[PATCH] bsd-user/main: Allow setting tb-size

2024-07-31 Thread Ilya Leoshkevich
While qemu-system can set tb-size using -accel tcg,tb-size=n, there is no similar knob for qemu-bsd-user. Add one in a way similar to how one-insn-per-tb is already handled. Suggested-by: Philippe Mathieu-Daudé Signed-off-by: Ilya Leoshkevich --- bsd-user/main.c | 9 + 1 file changed, 9