]> xenbits.xensource.com Git - qemu-xen-4.6-testing.git/commit
cirrus_vga: default all I/O port reads to 0xff
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 4 Nov 2014 11:39:43 +0000 (11:39 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 16 Oct 2015 15:52:05 +0000 (16:52 +0100)
commitc615d81a3c0fca9ca4706f6505cc032c737cf0c9
treef3ca53d8d1fae69f0deecfe623a0f72113479afc
parent835928ed5d9a707c95e19213e1a201366678cb1c
cirrus_vga: default all I/O port reads to 0xff

Some error paths in vga_ioport_read() would return undefined values.
Always default the result to 0xff.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
hw/cirrus_vga.c