Re: [PATCH] hw/riscv/virt: Fix the boot logic if pflash0 is specified

2023-05-17 Thread Li, Yong
On 2023/5/17 10:27, Alistair Francis wrote: On Sun, Apr 23, 2023 at 11:39 PM Yong Li wrote: The firmware may be specified with -bios and the plfash0 device with option -drive if=pflash. If both options are applied, it is intented that the pflash0 will store the secure variable and the firmware

Re: [PATCH] hw/riscv/virt: Fix the boot logic if pflash0 is specified

2023-05-16 Thread Alistair Francis
On Sun, Apr 23, 2023 at 11:39 PM Yong Li wrote: > > The firmware may be specified with -bios > and the plfash0 device with option -drive if=pflash. > If both options are applied, it is intented that the pflash0 will > store the secure variable and the firmware be the one specified > by -bios. Expl

[PATCH] hw/riscv/virt: Fix the boot logic if pflash0 is specified

2023-04-23 Thread Yong Li
The firmware may be specified with -bios and the plfash0 device with option -drive if=pflash. If both options are applied, it is intented that the pflash0 will store the secure variable and the firmware be the one specified by -bios. Explicitly specify "-bios none" if choose to boot from pflash0 S