qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] PCI error running qemu to emulate sparc64


From: Rocky Hotas
Subject: [Qemu-discuss] PCI error running qemu to emulate sparc64
Date: Tue, 25 Sep 2018 23:15:50 +0200

Hello!
I am new both to QEMU and to the mailing-list. Hoping this is the right
place to ask.
I am running QEMU on a Linux Ubuntu 18.04 amd64 host. I would like to create
and run a sparc64 VM with NetBSD. Starting from this guide,

https://wiki.qemu.org/Hosts/BSD#NetBSD

I adapted it as follows:

$ qemu-img create -f qcow2 disk_sp.qcow2 15G
$ wget http://cdn.netbsd.org/pub/NetBSD/NetBSD-7.1/images/NetBSD-8.0-sparc64.iso

$ qemu-system-sparc64 -m 2048 -enable-kvm \
    -drive if=virtio,file=disk_sp.qcow2,format=qcow2 \
    -netdev user,id=mynet0,hostfwd=tcp::7722-:22 \
    -device e1000,netdev=mynet0 \
    -cdrom NetBSD-8.0-sparc64.iso

First, this error is generated:

qemu-system-sparc64: -machine accel=kvm: No accelerator found

Is it normal?
Then, erasing the `-enable-kvm' option:

qemu-system-sparc64: -device e1000,netdev=mynet0: PCI: no slot/function 
available for e1000, all in use or reserved

Even without `-cdrom' and without `-device':

$ qemu-system-sparc64 -m 2048 \
    -drive if=virtio,file=disk_sp.qcow2,format=qcow2 \
    -netdev user,id=mynet0,hostfwd=tcp::7722-:22
qemu-system-sparc64: -drive if=virtio,file=disk_sp.qcow2,format=qcow2: PCI: no 
slot/function available for virtio-blk-pci, all in use or reserved

Why does it always generate this error? What can be wrong?
Thank you,

Rocky



reply via email to

[Prev in Thread] Current Thread [Next in Thread]