Re: [PATCH] target/riscv/cpu.c: do not run 'host' CPU with TCG

2023-07-23 Thread Alistair Francis
On Fri, Jul 21, 2023 at 11:35 PM Daniel Henrique Barboza wrote: > > The 'host' CPU is available in a CONFIG_KVM build and it's currently > available for all accels, but is a KVM only CPU. This means that in a > RISC-V KVM capable host we can do things like this: > > $ ./build/qemu-system-riscv64 -

Re: [PATCH] target/riscv/cpu.c: do not run 'host' CPU with TCG

2023-07-23 Thread Alistair Francis
On Fri, Jul 21, 2023 at 11:35 PM Daniel Henrique Barboza wrote: > > The 'host' CPU is available in a CONFIG_KVM build and it's currently > available for all accels, but is a KVM only CPU. This means that in a > RISC-V KVM capable host we can do things like this: > > $ ./build/qemu-system-riscv64 -

Re: [PATCH] target/riscv/cpu.c: do not run 'host' CPU with TCG

2023-07-21 Thread Daniel Henrique Barboza
On 7/21/23 11:37, Philippe Mathieu-Daudé wrote: On 21/7/23 15:34, Daniel Henrique Barboza wrote: The 'host' CPU is available in a CONFIG_KVM build and it's currently available for all accels, but is a KVM only CPU. This means that in a RISC-V KVM capable host we can do things like this: $ ./

Re: [PATCH] target/riscv/cpu.c: do not run 'host' CPU with TCG

2023-07-21 Thread Philippe Mathieu-Daudé
On 21/7/23 15:34, Daniel Henrique Barboza wrote: The 'host' CPU is available in a CONFIG_KVM build and it's currently available for all accels, but is a KVM only CPU. This means that in a RISC-V KVM capable host we can do things like this: $ ./build/qemu-system-riscv64 -M virt,accel=tcg -cpu hos

[PATCH] target/riscv/cpu.c: do not run 'host' CPU with TCG

2023-07-21 Thread Daniel Henrique Barboza
The 'host' CPU is available in a CONFIG_KVM build and it's currently available for all accels, but is a KVM only CPU. This means that in a RISC-V KVM capable host we can do things like this: $ ./build/qemu-system-riscv64 -M virt,accel=tcg -cpu host --nographic qemu-system-riscv64: H extension requ