Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Constraints in page allocation, and code changes to use them; shadow paging allocati...
[palacios.git] / palacios / src / devices / paragraph.c
index 36e44d8..32f07f1 100644 (file)
@@ -452,7 +452,7 @@ static int paragraph_init(struct v3_vm_info * vm, v3_cfg_tree_t * cfg)
   if (state->mode==MEM || state->mode==GCONS_MEM) { 
     state->mem_size=MAXX*MAXY*MAXBPP;
     PrintDebug(vm, VCORE_NONE, "paragraph: allocating %llu bytes for local framebuffer\n", state->mem_size);
-    state->mem_paddr = V3_AllocPages(ceil_pages(state->mem_size));
+    state->mem_paddr = V3_AllocShadowSafePages(vm,ceil_pages(state->mem_size));
     if (!state->mem_paddr) { 
       PrintError(state->vm, VCORE_NONE, "paragraph: Cannot allocate memory for framebuffer\n");
       paragraph_free_internal(state);