]> git.proxmox.com Git - mirror_qemu.git/blob - memory_mapping-stub.c
block: add close notifiers
[mirror_qemu.git] / memory_mapping-stub.c
1 /*
2 * QEMU memory mapping
3 *
4 * Copyright Fujitsu, Corp. 2011, 2012
5 *
6 * Authors:
7 * Wen Congyang <wency@cn.fujitsu.com>
8 *
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
11 *
12 */
13
14 #include "cpu.h"
15 #include "cpu-all.h"
16 #include "memory_mapping.h"
17
18 int qemu_get_guest_memory_mapping(MemoryMappingList *list)
19 {
20 return -2;
21 }
22
23 int cpu_get_memory_mapping(MemoryMappingList *list,
24 CPUArchState *env)
25 {
26 return -1;
27 }
28
29 bool cpu_paging_enabled(CPUArchState *env)
30 {
31 return true;
32 }
33