diff options
author | Paolo Bonzini | 2014-06-11 12:19:25 +0200 |
---|---|---|
committer | Paolo Bonzini | 2014-08-17 23:25:24 +0200 |
commit | ad37168cbdaff061fd7c37be57de4692bd8c2c50 (patch) | |
tree | b88da81d302b0f01b27ae8cf53365b86376cce2b /qemu-coroutine-io.c | |
parent | sysbus: remove unused function sysbus_del_io (diff) | |
download | qemu-ad37168cbdaff061fd7c37be57de4692bd8c2c50.tar.gz qemu-ad37168cbdaff061fd7c37be57de4692bd8c2c50.tar.xz qemu-ad37168cbdaff061fd7c37be57de4692bd8c2c50.zip |
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 <peter.crosthwaite@xilinx.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-coroutine-io.c')
0 files changed, 0 insertions, 0 deletions