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

index f0fed925a155ec0e09fcf176906727ffef3216d2..170529f8ca7e746d300611f493c35caaead6eaef 100644 (file)
@@ -58,6 +58,10 @@ static struct ioport_operations *ioport_ops[USHRT_MAX] = {
        [0x20]          = &dummy_read_write_ioport_ops,
        [0x21]          = &dummy_read_write_ioport_ops,
 
+       /* PORT 0040-005F - PIT - PROGRAMMABLE INTERVAL TIMER (8253, 8254) */
+       [0x0040]        = &dummy_read_write_ioport_ops,
+       [0x0043]        = &dummy_read_write_ioport_ops,
+
        /* 0x00A0 - 0x00AF - 8259A PIC 2 */
        [0xA0]          = &dummy_read_write_ioport_ops,
        [0xA1]          = &dummy_read_write_ioport_ops,