commit | ed027bc57acba0af4af920400a71eead4f463a4f | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Wed Apr 11 14:44:24 2012 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed May 02 17:51:46 2012 +0300 |
tree | 10b3e9ef283d0f507112ed6efb8dcac987f1beb4 | |
parent | 57d3ee522717d3402786043ba8f11851597ed0db [diff] |
kvm: remove an atomic on EOI TMR is set with IRR but does not need to be cleared on EOI. So we can save an atomic operation on EOI by checking whether ioapic needs a specific vector first. For consistency, don't clear TMR for handled vectors either: the spec doesn't say that it needs to be cleared on EOI. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>