diff options
author | Jan Kiszka | 2012-08-14 13:43:12 +0200 |
---|---|---|
committer | Marcelo Tosatti | 2012-08-15 00:23:17 +0200 |
commit | a9605e0317c7a6d5e68f3a3b6708c8ef1096f4bc (patch) | |
tree | 604f2b364d360c639eadb0bbc0528db418d66f0f /hw/mips_malta.c | |
parent | kvm: i8254: Finish time conversion fix (diff) | |
download | qemu-a9605e0317c7a6d5e68f3a3b6708c8ef1096f4bc.tar.gz qemu-a9605e0317c7a6d5e68f3a3b6708c8ef1096f4bc.tar.xz qemu-a9605e0317c7a6d5e68f3a3b6708c8ef1096f4bc.zip |
kvmvapic: Disable if there is insufficient memory
We need at least 1M of RAM to map the option ROM. Otherwise, we will
corrupt host memory or even crash:
$ qemu-system-x86_64 -nodefaults --enable-kvm -vnc :0 -m 640k
Segmentation fault (core dumped)
Reported-and-tested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'hw/mips_malta.c')
0 files changed, 0 insertions, 0 deletions