From: Peter Dinda Date: Wed, 28 Aug 2013 13:56:18 +0000 (-0500) Subject: mptable no longer errors out if it doesn't find the mptable target area X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=aabc934443b56e393ff21430545257c50c3d4392 mptable no longer errors out if it doesn't find the mptable target area in the VM. This area does not exist if the seabios is used. With this fix if you have an mptable in a VM that is instantiated with seabios, it will just not create an mptable. instead, the seabios will create one --- diff --git a/palacios/src/devices/mptable.c b/palacios/src/devices/mptable.c index c4cdc42..2eb0206 100644 --- a/palacios/src/devices/mptable.c +++ b/palacios/src/devices/mptable.c @@ -538,8 +538,9 @@ static int mptable_init(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) { } if (!check_for_cookie(target)) { - PrintError(vm, VCORE_NONE, "Cookie mismatch in writing mptable, aborting (probably wrong guest BIOS).\n"); - return -1; + PrintError(vm, VCORE_NONE, "Cookie mismatch in writing mptable, aborting (probably just wrong guest BIOS, so this is not a hard error).\n"); + // we pretend we were sucesssful + return 0; } if (vm->num_cores > 32) {