[RESEND] Fix vga segfaults or screen corruption with large memory guests
commit12c7e75a7c7048c0beb9196bbbedf0070ab29f53
authorAvi Kivity <avi@redhat.com>
Mon, 27 Apr 2009 17:57:12 +0000 (27 17:57 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 27 Apr 2009 17:57:12 +0000 (27 17:57 +0000)
tree65e916ba28c6b9d690450876e80ac8e3f05e54f0
parent918a608b10607b1db528946689c9b591ca59cd7d
[RESEND] Fix vga segfaults or screen corruption with large memory guests

page0 and friends are ram addresses; a smaller size will overflow and
cause a segfault or random corruption.

Change them to ram_addr_t.

Signed-off-by: Avi Kivity <avi@redhat.com>
hw/vga.c