commit | a343c9b7673e2228bc8a9ac65aae42140f6f9977 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Jul 16 13:03:29 2013 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jul 29 09:01:14 2013 +0200 |
tree | 4298fd4fb854c7f7880d4112e5dd0370ef5ab659 | |
parent | 9576c4cd6b6fa5716400e63618757b76cff6a813 [diff] |
KVM: introduce __kvm_io_bus_sort_cmp kvm_io_bus_sort_cmp is used also directly, not just as a callback for sort and bsearch. In these cases, it is handy to have a type-safe variant. This patch introduces such a variant, __kvm_io_bus_sort_cmp, and uses it throughout kvm_main.c. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>