diff mbox series

[U-Boot,1/2] qemu-riscv: enable VIRTIO_PCI

Message ID 20190703125045.28116-2-david.abdurachmanov@sifive.com
State Accepted
Commit 1493b140e4a9211635964cd1c0276e599405f403
Delegated to: Tom Rini
Headers show
Series Enable booting from VirtIO PCI connected storage | expand

Commit Message

David Abdurachmanov July 3, 2019, 12:50 p.m. UTC
libvirt v.5.3.0 with QEMU 4.0.0 or above uses PCI automatically and
thus devices (network, storage, etc) are connected via PCI.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
---
 board/emulation/qemu-riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Bin Meng July 3, 2019, 1:31 p.m. UTC | #1
On Wed, Jul 3, 2019 at 8:51 PM David Abdurachmanov
<david.abdurachmanov@gmail.com> wrote:
>
> libvirt v.5.3.0 with QEMU 4.0.0 or above uses PCI automatically and

nits: v5.3.0 or just 5.3.0

> thus devices (network, storage, etc) are connected via PCI.
>
> Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
> ---
>  board/emulation/qemu-riscv/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tom Rini July 18, 2019, 11:58 p.m. UTC | #2
On Wed, Jul 03, 2019 at 03:50:44PM +0300, David Abdurachmanov wrote:

> libvirt v.5.3.0 with QEMU 4.0.0 or above uses PCI automatically and
> thus devices (network, storage, etc) are connected via PCI.
> 
> Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/board/emulation/qemu-riscv/Kconfig b/board/emulation/qemu-riscv/Kconfig
index 7f9a74dd48..6cc7c31dc6 100644
--- a/board/emulation/qemu-riscv/Kconfig
+++ b/board/emulation/qemu-riscv/Kconfig
@@ -24,6 +24,7 @@  config BOARD_SPECIFIC_OPTIONS # dummy
 	imply VIRTIO_MMIO
 	imply VIRTIO_NET
 	imply VIRTIO_BLK
+	imply VIRTIO_PCI
 	imply CMD_PING
 	imply CMD_FS_GENERIC
 	imply DOS_PARTITION