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

2023-05-26 Thread Sunil V L
On Fri, May 26, 2023 at 11:53:18AM +0200, Philippe Mathieu-Daudé wrote: > On 25/5/23 18:48, Sunil V L wrote: > > Currently, pflash devices can be configured only via -pflash > > or if=pflash options. This is the legacy way and the > > better way is to use -blockdev as in other architectures. > > li

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

2023-05-26 Thread Philippe Mathieu-Daudé
On 25/5/23 18:48, Sunil V L wrote: Currently, pflash devices can be configured only via -pflash or if=pflash options. This is the legacy way and the better way is to use -blockdev as in other architectures. libvirt also has moved to -blockdev method. To support -blockdev option, pflash devices n

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

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