blob: 428b6a1b7915b5d03f1df4fbbb42bd19d3eb40f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
kernel: 0.866
ppc: 0.795
device: 0.746
boot: 0.708
graphic: 0.644
network: 0.607
semantic: 0.524
architecture: 0.500
socket: 0.449
PID: 0.311
vnc: 0.298
performance: 0.296
files: 0.289
register: 0.279
debug: 0.263
permissions: 0.258
mistranslation: 0.250
user-level: 0.235
hypervisor: 0.227
peripherals: 0.197
virtual: 0.193
i386: 0.178
risc-v: 0.171
arm: 0.162
x86: 0.158
VMM: 0.149
assembly: 0.109
TCG: 0.094
KVM: 0.089
bad switch, segfault in hw/pci-host/bonito.c bonito_readl
http://git.qemu.org/?p=qemu.git;a=blob;f=hw/pci-host/bonito.c;h=56292adb03cd1a9873c2c9e5a0b2978fd0572214;hb=master#l301
The switch statement is error-prone, since two branches return the same result.
Segfault reproducing steps:
1. make a Linux kernel(for example 3.16.0-rc2) with fuloong2e_defconfig
2. use 'qemu-system-mips64el -machine fulong2e' to boot the vmlinux
qemu versions tried: 2.0.0, 1.6.2
I think this might have been fixed with this commit here:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=0ca4f94195cce77b624ed
Or can you still reproduce it with the current version of QEMU?
[Expired for QEMU because there has been no activity for 60 days.]
|