X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fcga.c;h=36bec5141e9750888c3c69bc89e111e661547f88;hb=d3d6d09894dba66f4e2361bb2f903139a2d83684;hp=0513b8cbd6235dc180794eadd7bd2a62cb5a4c06;hpb=4454a172129d12e97793c9c353339b85d3335af4;p=palacios.git diff --git a/palacios/src/devices/cga.c b/palacios/src/devices/cga.c index 0513b8c..36bec51 100644 --- a/palacios/src/devices/cga.c +++ b/palacios/src/devices/cga.c @@ -1252,7 +1252,7 @@ static int cga_init(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) { video_state->dev = dev; - video_state->framebuf_pa = (addr_t)V3_AllocShadowSafePages(vm,FRAMEBUF_SIZE / 4096); + video_state->framebuf_pa = (addr_t)V3_AllocPages(FRAMEBUF_SIZE / 4096); if (!video_state->framebuf_pa) { PrintError(vm, VCORE_NONE, "Cannot allocate frame buffer\n");