summaryrefslogtreecommitdiff
path: root/hw/net/dp8393x.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-06-11 12:19:25 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2014-08-17 23:25:24 +0200
commitad37168cbdaff061fd7c37be57de4692bd8c2c50 (patch)
treeb88da81d302b0f01b27ae8cf53365b86376cce2b /hw/net/dp8393x.c
parent1dd79a237eb84a70c21b7a640f237ee603b0e74a (diff)
downloadqemu-ad37168cbdaff061fd7c37be57de4692bd8c2c50.tar.gz
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 'hw/net/dp8393x.c')
0 files changed, 0 insertions, 0 deletions