diff options
author | Peter Xu <peterx@redhat.com> | 2016-07-14 13:56:32 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-07-21 20:44:19 +0300 |
commit | e1d4fb2de594ab0cbe78846bc79617b9bd50c867 (patch) | |
tree | 3369f93474f9b692104f7b84cf957dab44472dcc /target-i386/trace-events | |
parent | 38d87493f37e5dc442c7419c5843fcf60bb39d63 (diff) |
kvm-irqchip: x86: add msi route notify fn
One more IEC notifier is added to let msi routes know about the IEC
changes. When interrupt invalidation happens, all registered msi routes
will be updated for all PCI devices.
Since both vfio and vhost are possible gsi route consumers, this patch
will go one step further to keep them safe in split irqchip mode and
when irqfd is enabled.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
[move trace-events lines into target-i386/trace-events]
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'target-i386/trace-events')
-rw-r--r-- | target-i386/trace-events | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-i386/trace-events b/target-i386/trace-events index 818058c4ac..ccc49e31e8 100644 --- a/target-i386/trace-events +++ b/target-i386/trace-events @@ -4,3 +4,4 @@ kvm_x86_fixup_msi_error(uint32_t gsi) "VT-d failed to remap interrupt for GSI %" PRIu32 kvm_x86_add_msi_route(int virq) "Adding route entry for virq %d" kvm_x86_remove_msi_route(int virq) "Removing route entry for virq %d" +kvm_x86_update_msi_routes(int num) "Updated %d MSI routes" |