mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
exec: Change cpu_memory_rw_debug() argument to CPUState
Propagate X86CPU in kvmvapic for simplicity. Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
00b941e581
commit
f17ec444c3
13 changed files with 77 additions and 73 deletions
|
@ -1164,7 +1164,7 @@ static void memory_dump(Monitor *mon, int count, int format, int wsize,
|
|||
cpu_physical_memory_read(addr, buf, l);
|
||||
} else {
|
||||
env = mon_get_cpu();
|
||||
if (cpu_memory_rw_debug(env, addr, buf, l, 0) < 0) {
|
||||
if (cpu_memory_rw_debug(ENV_GET_CPU(env), addr, buf, l, 0) < 0) {
|
||||
monitor_printf(mon, " Cannot access memory\n");
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue