From: Pekka Enberg Date: Thu, 1 Apr 2010 14:23:38 +0000 (+0300) Subject: kvm: Ignore PIC init during boot X-Git-Tag: next-20110824~3^2~528^2~195 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e284304fa96f27661457fcafc4f56f5800c938da;p=karo-tx-linux.git kvm: Ignore PIC init during boot We don't have interrupt injection so we can safely ignore PIC interrupt masking during bootup. Signed-off-by: Pekka Enberg --- diff --git a/tools/kvm/ioport.c b/tools/kvm/ioport.c index d59436d74cf3..a627e8c17211 100644 --- a/tools/kvm/ioport.c +++ b/tools/kvm/ioport.c @@ -42,6 +42,12 @@ static struct ioport_operations dummy_write_only_ioport_ops = { static struct ioport_operations *ioport_ops[USHRT_MAX] = { [0x70] = &cmos_ram_rtc_ops, + /* 0x0020 - 0x003F - 8259A PIC 1 */ + [0x21] = &dummy_write_only_ioport_ops, + + /* 0x00A0 - 0x00AF - 8259A PIC 2 */ + [0xA1] = &dummy_write_only_ioport_ops, + /* 0x00F0 - 0x00FF - Math co-processor */ [0xF0] = &dummy_write_only_ioport_ops, [0xF1] = &dummy_write_only_ioport_ops,