From: Pekka Enberg Date: Sun, 11 Apr 2010 12:21:09 +0000 (+0300) Subject: kvm: Ignore CMOS RAM/RTC ioports X-Git-Tag: next-20110824~3^2~528^2~171 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9bf68e1c5c9cfbed0d96618d7865efcf0d20266b;p=karo-tx-linux.git kvm: Ignore CMOS RAM/RTC ioports Signed-off-by: Pekka Enberg --- 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,