[Xen-devel] [PATCH 02/32] cirrus_vga: default all I/O port reads to 0xff

2015-04-22 Thread Andrew Cooper
Some error paths in vga_ioport_read() would return undefined values. Always default the result to 0xff. Signed-off-by: Andrew Cooper --- hw/cirrus_vga.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index a26b051..11ce212 100644 --- a/hw

[Xen-devel] [PATCH 02/32] cirrus_vga: default all I/O port reads to 0xff

2015-04-22 Thread Andrew Cooper
Some error paths in vga_ioport_read() would return undefined values. Always default the result to 0xff. Signed-off-by: Andrew Cooper --- hw/cirrus_vga.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index a26b051..11ce212 100644 --- a/hw