From 9bf68e1c5c9cfbed0d96618d7865efcf0d20266b Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Sun, 11 Apr 2010 15:21:09 +0300 Subject: [PATCH] kvm: Ignore CMOS RAM/RTC ioports Signed-off-by: Pekka Enberg --- tools/kvm/ioport.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/kvm/ioport.c b/tools/kvm/ioport.c index 251972d00032..e04be41b62da 100644 --- a/tools/kvm/ioport.c +++ b/tools/kvm/ioport.c @@ -50,7 +50,9 @@ static struct ioport_operations dummy_write_only_ioport_ops = { }; static struct ioport_operations *ioport_ops[USHRT_MAX] = { + /* PORT 0070-007F - CMOS RAM/RTC (REAL TIME CLOCK) */ [0x70] = &cmos_ram_rtc_ops, + [0x71] = &dummy_read_write_ioport_ops, /* 0x0020 - 0x003F - 8259A PIC 1 */ [0x20] = &dummy_read_write_ioport_ops, -- 2.39.5