mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
Unbreak large mem support by removing kqemu
kqemu introduces a number of restrictions on the i386 target. The worst is that it prevents large memory from working in the default build. Furthermore, kqemu is fundamentally flawed in a number of ways. It relies on the TSC as a time source which will not be reliable on a multiple processor system in userspace. Since most modern processors are multicore, this severely limits the utility of kqemu. kvm is a viable alternative for people looking to accelerate qemu and has the benefit of being supported by the upstream Linux kernel. If someone can implement work arounds to remove the restrictions introduced by kqemu, I'm happy to avoid and/or revert this patch. N.B. kqemu will still function in the 0.11 series but this patch removes it from the 0.12 series. Paul, please Ack or Nack this patch. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
0953a80f04
commit
4a1418e07b
24 changed files with 8 additions and 1722 deletions
|
|
@ -10,12 +10,7 @@
|
|||
#include "bswap.h"
|
||||
|
||||
/* address in the RAM (different from a physical address) */
|
||||
#ifdef CONFIG_KQEMU
|
||||
/* FIXME: This is wrong. */
|
||||
typedef uint32_t ram_addr_t;
|
||||
#else
|
||||
typedef unsigned long ram_addr_t;
|
||||
#endif
|
||||
|
||||
/* memory API */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue