[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/22] hw/arm: Select VIRTIO_BLK for virt machine
From: |
Alex Bennée |
Subject: |
[PATCH 06/22] hw/arm: Select VIRTIO_BLK for virt machine |
Date: |
Wed, 3 May 2023 10:12:28 +0100 |
From: Fabiano Rosas <farosas@suse.de>
The virt machine has IF_VIRTIO as block_default_type, which causes the
generic code to try to create a virtio-blk-pci device pair at
configure_blockdev()/qemu_create_cli_devices().
Select VIRTIO_BLK and VIRTIO_PCI from CONFIG_ARM_VIRT to avoid errors
when PCI_DEVICES=n (due to e.g. --without-default-devices):
$ ./qemu-system-aarch64 -M virt -accel tcg -cpu max -nodefaults -cdrom foo.qcow2
qemu-system-aarch64: -cdrom foo.qcow2: 'virtio-blk' (alias
'virtio-blk-pci') is not a valid device model name
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230208192654.8854-7-farosas@suse.de>
---
hw/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig
index 4c23fbf800..168c1e8089 100644
--- a/hw/arm/Kconfig
+++ b/hw/arm/Kconfig
@@ -34,6 +34,7 @@ config ARM_VIRT
select ACPI_HMAT
select VIRTIO_PCI
select VIRTIO_NET
+ select VIRTIO_BLK
config CHEETAH
bool
--
2.39.2
- Re: [PATCH 03/22] docs: document breakpoint and watchpoint support, (continued)
- [PATCH 04/22] scripts/ci: add gitlab-runner to kvm group, Alex Bennée, 2023/05/03
- [PATCH 09/22] hw/arm: Select e1000e for sbsa-ref machine, Alex Bennée, 2023/05/03
- [PATCH 08/22] hw/arm: Select GICV3_TCG for sbsa-ref machine, Alex Bennée, 2023/05/03
- [PATCH 10/22] hw/arm: Select VGA_PCI for sbsa-ref machine, Alex Bennée, 2023/05/03
- [PATCH 07/22] hw/arm: Select XLNX_USB_SUBSYS for xlnx-zcu102 machine, Alex Bennée, 2023/05/03
- [PATCH 06/22] hw/arm: Select VIRTIO_BLK for virt machine,
Alex Bennée <=
- [PATCH 11/22] hw/alpha: make E1000_PCI a hard dependency for clipper, Alex Bennée, 2023/05/03
- [PATCH 18/22] scripts/ci: clean-up the 20.04/22.04 confusion in ansible, Alex Bennée, 2023/05/03
- [PATCH 14/22] hw/loongarch: add VIRTIO as a dependency for LOONGARCH_VIRT, Alex Bennée, 2023/05/03
- [PATCH 15/22] hw/sh4: make RTL8139 a hard dependency for RD2, Alex Bennée, 2023/05/03
- [PATCH 12/22] hw/hppa: add TULIP as a dependency for HPPA_B160L, Alex Bennée, 2023/05/03