Re: [PATCH] hw/riscv/virt.c: Make block devices default to virtio

2024-06-20 Thread Alistair Francis
On Thu, Jun 20, 2024 at 4:48 PM Sunil V L wrote: > > RISC-V virt is currently missing default type for block devices. Without > this being set, proper backend is not created when option like -cdrom > is used. So, make the virt board's default block device type be > IF_VIRTIO similar to other archi

Re: [PATCH] hw/riscv/virt.c: Make block devices default to virtio

2024-06-20 Thread Alistair Francis
On Thu, Jun 20, 2024 at 4:48 PM Sunil V L wrote: > > RISC-V virt is currently missing default type for block devices. Without > this being set, proper backend is not created when option like -cdrom > is used. So, make the virt board's default block device type be > IF_VIRTIO similar to other archi

Re: [PATCH] hw/riscv/virt.c: Make block devices default to virtio

2024-06-20 Thread Daniel Henrique Barboza
On 6/20/24 3:47 AM, Sunil V L wrote: RISC-V virt is currently missing default type for block devices. Without this being set, proper backend is not created when option like -cdrom is used. So, make the virt board's default block device type be IF_VIRTIO similar to other architectures. We also

[PATCH] hw/riscv/virt.c: Make block devices default to virtio

2024-06-19 Thread Sunil V L
RISC-V virt is currently missing default type for block devices. Without this being set, proper backend is not created when option like -cdrom is used. So, make the virt board's default block device type be IF_VIRTIO similar to other architectures. We also need to set no_cdrom to avoid getting a d