VGA: Don't register deprecated VBE range
commit916452df46d7c1cec1357d3ec033f540db069156
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 20 Aug 2010 21:34:16 +0000 (20 15:34 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Sun, 22 Aug 2010 22:11:06 +0000 (22 17:11 -0500)
treeff643add29dd84491d4e0c6841114c94d0a94b17
parentd29f3196afddd356a8169780fa506f565adb5036
VGA: Don't register deprecated VBE range

Old versions of the BOCHs VGA BIOS (cira 2003) made use of VBE
registers at 0xff80/81.  In VBE API version 0xb0c2 these were
moved to 0x1ce/cf.  Unfortunately, QEMU still registers handlers
for the old range.  If a guest attempts to assign an I/O device
overlapping this region, QEMU exits with a hw_error.  Windows
guests seem to like to assign I/O devices to the high end of
the address space, so it's pretty easy to hot add an rtl8139
to a Win2k8 guest and trigger the bug.  I can't find any reason
to register these handlers, so let's remove the cruft.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/vga.c