blob: 224efbb44f5336fb89f9b1721defe817b10c330c (
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
|
device: 0.889
graphic: 0.884
other: 0.732
performance: 0.640
semantic: 0.623
vnc: 0.396
PID: 0.381
network: 0.372
permissions: 0.308
debug: 0.296
socket: 0.287
KVM: 0.282
boot: 0.260
files: 0.181
undefined address access cause failure
Description of problem:
Hi,
I used serial device as below:
qemu/hw/char/serial.c
It defines only support 8 registers address space(offset 0x00-0x32). And in guest os, the hardware is synopsys dw_apb_uart which is compatible with 16550.
when it access low 8 registers, it works ok. but it may access high address(0x8c) which serial.c not defined, then fail occur.
Is there anyway to handle this, access address which device not defined, expect it no handle, but not cause system crash. like read is zero and write ignore.
|