summary refs log tree commit diff stats
path: root/include/exec/cpu-common.h
diff options
context:
space:
mode:
authorPeter Xu <peterx@redhat.com>2016-05-10 18:21:22 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2016-05-23 16:53:43 +0200
commited1263c363c970a7ad5226b8f41dbbf0c92c1e17 (patch)
treed3426dde2691f11680bb7cfb93e355f4e1bfb36a /include/exec/cpu-common.h
parent479c2a1cb7fb82d23e66eab78b00fc5b0638439b (diff)
downloadfocaccia-qemu-ed1263c363c970a7ad5226b8f41dbbf0c92c1e17.tar.gz
focaccia-qemu-ed1263c363c970a7ad5226b8f41dbbf0c92c1e17.zip
ioapic: clear remote irr bit for edge-triggered interrupts
This is to better emulate IOAPIC version 0x1X hardware. Linux kernel
leveraged this "feature" to do explicit EOI since EOI register is still
not introduced at that time. This will also fix the issue that level
triggered interrupts failed to work when IR enabled (tested with Linux
kernel version 4.5).

Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <1462875682-1349-3-git-send-email-peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/cpu-common.h')
0 files changed, 0 insertions, 0 deletions