Skip to content

Use virtio-blk-device for m68k #7008

@eschaton

Description

@eschaton

I'm trying to use UTM to run a NetBSD-current virt68k live-image, rather than use QEMU on the command line, but it doesn't work because even though I specify VirtIO for the storage device corresponding to the image, UTM tells QEMU to use virtio-blk-pci rather than virtio-blk-device. Similarly I can't connect a SCSI CD-ROM because UTM tells QEMU to a SCSI bus without one being established via

Here's the typical QEMU command line for running the virt6k live-image:

qemu-system-m68k -machine virt -cpu m68040 -m 512 \
    -drive file=NetBSD-10.99.12-virt68k-live.img,if=none,format=raw,id=disk0 \
    -device virtio-blk-device,drive=disk0 \
    -netdev user,id=net0,hostfwd=tcp::10022-:22 \
    -device virtio-net-device,netdev=net0 \
    -drive if=none,id=cdrom0 \
    -device virtio-scsi-device,id=scsi0 \
    -device scsi-cd,bus=scsi0.0,drive=cdrom0 \
    -device virtio-rng-device \
    -kernel netbsd-GENERIC -append "root=ld0" -nographic

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions