diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 4e78083a9db89b3f1cb287659d8b7299a10790a1..484689264c36a137458130995ed36bcd94011292 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -956,6 +956,8 @@ static void virt_class_init(ObjectClass *oc, void *data) mc->init = machvirt_init; mc->max_cpus = 8; mc->has_dynamic_sysbus = true; + mc->block_default_type = IF_VIRTIO; + mc->no_cdrom = 1; } static const TypeInfo machvirt_info = {