Re: [PATCH v7 2/3] riscv/virt: Support using pflash via -blockdev option

2023-05-31 Thread Alistair Francis
On Thu, Jun 1, 2023 at 3:01 PM Sunil V L wrote: > > Currently, pflash devices can be configured only via -pflash > or -drive options. This is the legacy way and the > better way is to use -blockdev as in other architectures. > libvirt also has moved to use -blockdev method. > > To support -blockde

[PATCH v7 2/3] riscv/virt: Support using pflash via -blockdev option

2023-05-31 Thread Sunil V L
Currently, pflash devices can be configured only via -pflash or -drive options. This is the legacy way and the better way is to use -blockdev as in other architectures. libvirt also has moved to use -blockdev method. To support -blockdev option, pflash devices need to be created in instance_init i