qemu-system-s390x fails when running without kvm: fatal: EXECUTE on instruction prefix 0x7f4 not implemented
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
just wondering if TCG implements instruction prefix 0x7f4
server3:~ # zcat /boot/vmlinux-
--> starting qemu with kvm enabled works fine
server3:~ # qemu-system-s390x -nographic -kernel /tmp/kernel -initrd /boot/initrd -enable-kvm
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 4.4.162-
setup.289988: Linux is running under KVM in 64-bit mode
setup.b050d0: The maximum memory size is 128MB
numa.196305: NUMA mode: plain
Write protected kernel read-only data: 8692k
[...]
--> but starting qemu without kvm enabled works fails
server3:~ # qemu-system-s390x -nographic -kernel /tmp/kernel -initrd /boot/initrd
qemu: fatal: EXECUTE on instruction prefix 0x7f4 not implemented
PSW=mask 0000000180000000 addr 000000000067ed6e cc 00
R00=00000000800
R04=00000000001
R08=00000000000
R12=0000000000a
F00=00000000000
F04=00000000000
F08=00000000000
F12=00000000000
V00=00000000000
V02=00000000000
V04=00000000000
V06=00000000000
V08=00000000000
V10=00000000000
V12=00000000000
V14=00000000000
V16=00000000000
V18=00000000000
V20=00000000000
V22=00000000000
V24=00000000000
V26=00000000000
V28=00000000000
V30=00000000000
C00=00000000000
C04=00000000000
C08=00000000000
C12=00000000000
Aborted (core dumped)
server3:~ # lscpu
Architecture: s390x
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Big Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s) per book: 1
Book(s) per drawer: 1
Drawer(s): 2
NUMA node(s): 1
Vendor ID: IBM/S390
Machine type: 2964
BogoMIPS: 20325.00
Hypervisor: z/VM 6.4.0
Hypervisor vendor: IBM
Virtualization type: full
Dispatching mode: horizontal
L1d cache: 128K
L1i cache: 96K
L2d cache: 2048K
L2i cache: 2048K
L3 cache: 65536K
L4 cache: 491520K
NUMA node0 CPU(s): 0-63
Flags: esan3 zarch stfle msa ldisp eimm dfp edat etf3eh highgprs te vx sie
server3:~ # uname -a
Linux server3 4.4.126-
server3:~ #
Which version of QEMU are you using here? I think this should be working fine with the latest version of QEMU (>= v2.10).