Paolo Bonzini 76dfafd536 KVM: x86: do not scan IRR twice on APICv vmentry
Calls to apic_find_highest_irr are scanning IRR twice, once
in vmx_sync_pir_from_irr and once in apic_search_irr.  Change
sync_pir_from_irr to get the new maximum IRR from kvm_apic_update_irr;
now that it does the computation, it can also do the RVI write.

In order to avoid complications in svm.c, make the callback optional.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-02-15 14:54:35 +01:00
..
2016-12-15 13:49:34 -08:00
2016-07-27 11:35:37 -07:00
2014-12-11 11:35:02 +01:00
2015-05-28 15:31:53 +02:00
2016-01-20 11:39:14 +01:00
2015-10-21 11:17:32 +02:00
2015-04-24 15:36:55 +02:00
2012-06-25 13:48:30 +02:00
2016-01-12 12:17:28 +01:00
2015-07-31 13:31:10 +02:00
2016-12-17 12:29:56 +01:00
2014-02-27 08:07:39 -08:00
2016-12-17 12:29:56 +01:00
2016-11-16 10:23:02 +01:00
2015-12-19 11:53:40 +01:00
2014-09-01 10:15:31 +02:00
2016-09-05 11:47:31 +02:00
2015-05-19 15:47:30 +02:00
2016-01-30 11:22:17 +01:00
2016-11-01 07:47:55 +01:00
2016-09-05 11:47:31 +02:00
2016-06-16 00:04:31 +02:00
2015-07-31 13:31:10 +02:00
2016-06-16 00:04:31 +02:00
2015-05-19 15:47:30 +02:00