diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-08-14 13:43:12 +0200 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2012-08-21 15:36:34 -0500 |
commit | 5a1800cf1cc7869d29e6bd299dddbab7a3acbb2b (patch) | |
tree | 6e13a875ae38027c88333807670879dbe23ae7c8 /hw/apic_internal.h | |
parent | 97ac3b1af57a4cdbf04ad55c308dff72bc9f1a61 (diff) |
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>
(cherry picked from commit a9605e0317c7a6d5e68f3a3b6708c8ef1096f4bc)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Diffstat (limited to 'hw/apic_internal.h')
0 files changed, 0 insertions, 0 deletions