virt-manager and virt-install: Unable to Import SPARC images.

Asked by Aaron on 2018-08-03

I get the following error when I attempt to use virt-manager or virt-install:

2018-08-03T22:05:01.123838Z qemu-system-sparc: -device virtio-blk-pci,bus=pci,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0: 'virtio-blk-pci' is not a valid device model name.

Steps to reproduce

virt-install -n debian-etch-sparc -r 1024 --arch=sparc --machine=SS-10 --os-type=linux --os-variant=debianetch --disk debian_etch_sparc.qcow2,device=disk,bus=virtio,format=qcow2 --import

The same error is given from virt-manager when attempting to import the image and not providing additional hardware past the minimal default. There is also a similiar error when installing a SPARC image from ISO with default minimal hardware.

I've searched for a way to import this image and have found no solution or answer to this error. Im not sure if it's a bug or if it's something I'm missing.

The following qemu command works to start VM image, but I need it reachable from "virsh -c qemu:///system"

qemu-system-sparc -hda debian_etch_sparc_small.qcow2

Thank you for your time.

Image to Import: debian_etch_sparc_small.qcow2

Link: https://people.debian.org/~aurel32/qemu/sparc/

System Information:

Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz
Stepping: 9
CPU MHz: 800.043
CPU max MHz: 4200.0000
CPU min MHz: 800.0000
BogoMIPS: 7584.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7

vmx and smx are both in Flags.

kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

VT-x and VT-d are both enabled in BIOS.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2018-08-03
Last reply:
2018-08-19
Launchpad Janitor (janitor) said : #1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.