summaryrefslogtreecommitdiffstats
path: root/memory_mapping-stub.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-05-28 14:53:32 +0200
committerAndreas Färber <afaerber@suse.de>2013-06-11 18:10:44 +0200
commitc22d8e0448aecb48a91f3936419ad1b63fbb4a6a (patch)
tree43e42f72bd6cf2195193fc92f4010cb3bf1a71c3 /memory_mapping-stub.c
parenta23bbfda75118eb738acce84afd64965934828f0 (diff)
downloadhqemu-c22d8e0448aecb48a91f3936419ad1b63fbb4a6a.zip
hqemu-c22d8e0448aecb48a91f3936419ad1b63fbb4a6a.tar.gz
memory_mapping: Drop qemu_get_memory_mapping() stub
dump.c:dump_init() never checked for the return code anyway. If paging is not enabled, it will fall back to an identity map. If paging is enabled and getting memory mapping list is not implemented, qemu_get_guest_memory_mapping() will return an error. Since the targets not implementing memory mapping also don't implement dump support, we will not reach this code today and can worry about changing cpu_paging_enabled() default when the need arises. This allows us to drop CONFIG_HAVE_GET_MEMORY_SUPPORT. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'memory_mapping-stub.c')
-rw-r--r--memory_mapping-stub.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/memory_mapping-stub.c b/memory_mapping-stub.c
deleted file mode 100644
index 989dc00..0000000
--- a/memory_mapping-stub.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * QEMU memory mapping
- *
- * Copyright Fujitsu, Corp. 2011, 2012
- *
- * Authors:
- * Wen Congyang <wency@cn.fujitsu.com>
- *
- * This work is licensed under the terms of the GNU GPL, version 2 or later.
- * See the COPYING file in the top-level directory.
- *
- */
-
-#include "cpu.h"
-#include "exec/cpu-all.h"
-#include "sysemu/memory_mapping.h"
-
-int qemu_get_guest_memory_mapping(MemoryMappingList *list)
-{
- return -2;
-}
OpenPOWER on IntegriCloud