Re: [PATCH v3] hw/riscv: virt: Exit if the user provided -bios in combination with KVM

2022-04-11 Thread Alistair Francis
On Fri, Apr 1, 2022 at 10:18 PM Ralf Ramsauer wrote: > > The -bios option is silently ignored if used in combination with -enable-kvm. > The reason is that the machine starts in S-Mode, and the bios typically runs > in > M-Mode. > > Better exit in that case to not confuse the user. > > Signed-off

Re: [PATCH v3] hw/riscv: virt: Exit if the user provided -bios in combination with KVM

2022-04-11 Thread Anup Patel
On Fri, Apr 1, 2022 at 5:48 PM Ralf Ramsauer wrote: > > The -bios option is silently ignored if used in combination with -enable-kvm. > The reason is that the machine starts in S-Mode, and the bios typically runs > in > M-Mode. > > Better exit in that case to not confuse the user. > > Signed-off-

Re: [PATCH v3] hw/riscv: virt: Exit if the user provided -bios in combination with KVM

2022-04-11 Thread Bin Meng
On Fri, Apr 1, 2022 at 8:19 PM Ralf Ramsauer wrote: > > The -bios option is silently ignored if used in combination with -enable-kvm. > The reason is that the machine starts in S-Mode, and the bios typically runs > in > M-Mode. > > Better exit in that case to not confuse the user. > > Signed-off-

Re: [PATCH v3] hw/riscv: virt: Exit if the user provided -bios in combination with KVM

2022-04-11 Thread Alistair Francis
On Fri, Apr 1, 2022 at 10:18 PM Ralf Ramsauer wrote: > > The -bios option is silently ignored if used in combination with -enable-kvm. > The reason is that the machine starts in S-Mode, and the bios typically runs > in > M-Mode. > > Better exit in that case to not confuse the user. > > Signed-off

[PATCH v3] hw/riscv: virt: Exit if the user provided -bios in combination with KVM

2022-04-01 Thread Ralf Ramsauer
The -bios option is silently ignored if used in combination with -enable-kvm. The reason is that the machine starts in S-Mode, and the bios typically runs in M-Mode. Better exit in that case to not confuse the user. Signed-off-by: Ralf Ramsauer --- hw/riscv/virt.c | 14 ++ 1 file ch