diff mbox series

[v1,1/1] hw/riscv: Enalbe VIRTIO_VGA for RISC-V virt machine

Message ID 7ac26fafee8bd59d2a0640f3233f8ad1ab270e1e.1617367317.git.alistair.francis@wdc.com (mailing list archive)
State New, archived
Headers show
Series [v1,1/1] hw/riscv: Enalbe VIRTIO_VGA for RISC-V virt machine | expand

Commit Message

Alistair Francis April 2, 2021, 12:42 p.m. UTC
imply VIRTIO_VGA for the virt machine, this fixes the following error
when specifying `-vga virtio` as a command line argument:

qemu-system-riscv64: Virtio VGA not available

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 hw/riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Bin Meng April 6, 2021, 8:41 a.m. UTC | #1
On Fri, Apr 2, 2021 at 8:44 PM Alistair Francis
<alistair.francis@wdc.com> wrote:
>

typo in the commit title: Enalbe -> Enable

> imply VIRTIO_VGA for the virt machine, this fixes the following error
> when specifying `-vga virtio` as a command line argument:
>
> qemu-system-riscv64: Virtio VGA not available
>
> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
> ---
>  hw/riscv/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>

Otherwise,
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Alistair Francis April 7, 2021, 2:26 p.m. UTC | #2
On Tue, Apr 6, 2021 at 4:41 AM Bin Meng <bmeng.cn@gmail.com> wrote:
>
> On Fri, Apr 2, 2021 at 8:44 PM Alistair Francis
> <alistair.francis@wdc.com> wrote:
> >
>
> typo in the commit title: Enalbe -> Enable

Good catch, fixed.

>
> > imply VIRTIO_VGA for the virt machine, this fixes the following error
> > when specifying `-vga virtio` as a command line argument:
> >
> > qemu-system-riscv64: Virtio VGA not available
> >
> > Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
> > ---
> >  hw/riscv/Kconfig | 1 +
> >  1 file changed, 1 insertion(+)
> >
>
> Otherwise,
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Thanks!

Applied to riscv-to-apply.next

Alistair
diff mbox series

Patch

diff --git a/hw/riscv/Kconfig b/hw/riscv/Kconfig
index 1de18cdcf1..9dc1e7c244 100644
--- a/hw/riscv/Kconfig
+++ b/hw/riscv/Kconfig
@@ -22,6 +22,7 @@  config OPENTITAN
 config RISCV_VIRT
     bool
     imply PCI_DEVICES
+    imply VIRTIO_VGA
     imply TEST_DEVICES
     select GOLDFISH_RTC
     select MSI_NONBROKEN