|
From: | Juan Quintela |
Subject: | Re: [PATCH 06/22] hw/arm: Select VIRTIO_BLK for virt machine |
Date: | Wed, 03 May 2023 12:31:21 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Alex Bennée <alex.bennee@linaro.org> wrote: > 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> Reviewed-by: Juan Quintela <quintela@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |