]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm: Ignore CRT control ioports
authorPekka Enberg <penberg@cs.helsinki.fi>
Sun, 11 Apr 2010 12:22:38 +0000 (15:22 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Sun, 11 Apr 2010 12:22:48 +0000 (15:22 +0300)
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
tools/kvm/ioport.c

index e04be41b62dac4f3b4c047373fa1c3bc16992fab..d913c8545b2f35f85d2bbfaef5571ccac715b2ee 100644 (file)
@@ -66,6 +66,10 @@ static struct ioport_operations *ioport_ops[USHRT_MAX] = {
        [0xF0]          = &dummy_write_only_ioport_ops,
        [0xF1]          = &dummy_write_only_ioport_ops,
 
+       /* PORT 03D4-03D5 - COLOR VIDEO - CRT CONTROL REGISTERS */
+       [0x3D4]         = &dummy_read_write_ioport_ops,
+       [0x3D5]         = &dummy_write_only_ioport_ops,
+
        /* PORT 0CF8-0CFF - PCI Configuration Mechanism 1 - Configuration Registers */
        [0x0CF8]        = &dummy_write_only_ioport_ops,
        [0x0CFC]        = &dummy_read_write_ioport_ops,