On Fri, Oct 02, 2015 at 07:37:37PM +0100, Richard W.M. Jones wrote: > On Fri, Oct 02, 2015 at 02:15:20PM -0400, Gabriel L. Somlo wrote: > > Trying to adapt the command line used with 32-bit arm, I ran: > > > > bin/qemu-system-aarch64 -M virt,accel=tcg -m 2048 -cpu cortex-a57 \ > > -kernel ./vmlinuz-4.0.4-301.fc22.aarch64 \ > > -initrd ./initramfs-4.0.4-301.fc22.aarch64.img \ > > -append "console=ttyAMA0 root=/dev/vda3 ro" \ > > -device virtio-blk-device,drive=hd0 \ > > -drive id=hd0,if=none,snapshot=on,file=./fedora-22.aarch64.img \ > > -device virtio-net-device,netdev=usernet \ > > -netdev user,id=usernet \ > > -monitor stdio > > You're presenting a virtio-blk disk, but this guest wants a > virtio-scsi disk, and also needs UEFI. See here for more details: > > https://rwmj.wordpress.com/2015/05/26/fedora-22-aarch64-virt-builder-image/
Thanks, that helped. FTR, I can boot it even without UEFI: bin/qemu-system-aarch64 -M virt,accel=tcg -m 2048 -cpu cortex-a57 \ -kernel ./vmlinuz-4.0.4-301.fc22.aarch64 \ -initrd ./initramfs-4.0.4-301.fc22.aarch64.img \ -append "console=ttyAMA0 root=/dev/sda4 ro" \ -device virtio-scsi-device,id=scsi -device scsi-hd,drive=hd0 \ -drive id=hd0,if=none,snapshot=on,file=./fedora-22.aarch64.img \ -device virtio-net-device,netdev=usernet \ -netdev user,id=usernet \ -monitor stdio ... but UEFI is the reason I wanted to tinker with it in the first place :) Thanks much, --Gabriel