From: Patrick Bridges Date: Thu, 29 Jul 2010 19:03:45 +0000 (-0600) Subject: Minor change to shadow paging to make sure it initializes unless nested X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=570f2903178711d599b0ba465901f52bdc6d66a6;p=palacios.git Minor change to shadow paging to make sure it initializes unless nested explicitly requested --- diff --git a/palacios/src/palacios/vmm_shadow_paging.c b/palacios/src/palacios/vmm_shadow_paging.c index f4e9f32..da219c2 100644 --- a/palacios/src/palacios/vmm_shadow_paging.c +++ b/palacios/src/palacios/vmm_shadow_paging.c @@ -146,8 +146,8 @@ int v3_init_shdw_impl(struct v3_vm_info * vm) { struct v3_shdw_pg_impl * impl = NULL; PrintDebug("Checking if shadow paging requested.\n"); - if (type_name && (strcasecmp(type_name, "shadow") != 0)) { - PrintDebug("Shadow paging not specified for VM.\n"); + if (type_name && (strcasecmp(type_name, "nested") == 0)) { + PrintDebug("Nested paging specified - not initializing shadow paging.\n"); return 0; }