commit | 1e08ec4a130e2745d96df169e67c58df98a07311 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Thu Sep 13 17:19:24 2012 +0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Sep 20 15:05:26 2012 +0300 |
tree | 362647f5b0bac59e7fe93ce66775afac2cd7da79 | |
parent | 1d86b5cc4c6d9a1be1458be3701ac9c915a9706f [diff] |
KVM: optimize apic interrupt delivery Most interrupt are delivered to only one vcpu. Use pre-build tables to find interrupt destination instead of looping through all vcpus. In case of logical mode loop only through vcpus in a logical cluster irq is sent to. Signed-off-by: Gleb Natapov <gleb@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>