]> git.proxmox.com Git - mirror_qemu.git/commit - kvm-all.c
kvm: skip system call when msi route is unchanged
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 4 Jun 2013 11:52:35 +0000 (14:52 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 3 Jul 2013 08:38:20 +0000 (10:38 +0200)
commit40509f7f52672fe41c2cce895e187352fc09f53a
treee031437f9c3136e81c1656f613162aecc66e9c2d
parent0fbc20740342713f282b118b4a446c4c43df3f4a
kvm: skip system call when msi route is unchanged

Some guests do a large number of mask/unmask
calls which currently trigger expensive route update
system calls.
Detect that route in unchanged and skip the system call.

Reported-by: "Zhanghaoyu (A)" <haoyu.zhang@huawei.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
kvm-all.c