]> Git Repo - qemu.git/commit
vga: do not dynamically allocate chain4_alias
authorPaolo Bonzini <[email protected]>
Wed, 11 Jun 2014 10:19:25 +0000 (12:19 +0200)
committerPaolo Bonzini <[email protected]>
Sun, 17 Aug 2014 21:25:24 +0000 (23:25 +0200)
commitad37168cbdaff061fd7c37be57de4692bd8c2c50
treeb88da81d302b0f01b27ae8cf53365b86376cce2b
parent1dd79a237eb84a70c21b7a640f237ee603b0e74a
vga: do not dynamically allocate chain4_alias

Instead, add a boolean variable to indicate the presence of the region.
This avoids a repeated malloc/free (later we can also avoid the
add_child/unparent by changing the offset/size of the alias).

Reviewed-by: Peter Crosthwaite <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/display/vga.c
hw/display/vga_int.h
This page took 0.022944 seconds and 4 git commands to generate.