]> git.proxmox.com Git - qemu.git/commit
kvm: shorten the parameter list for get_real_device()
authorWei Yang <weiyang@linux.vnet.ibm.com>
Thu, 22 Aug 2013 16:40:12 +0000 (18:40 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 23 Aug 2013 09:37:35 +0000 (11:37 +0200)
commit867c47cbba5d5ff8f27cc22634f30da56d09c2c4
tree76a98f872ee1b6b020d0356b8184efc40600a4cc
parent7477cd3897082d2650d520a4e9aa7f8affa3dd5d
kvm: shorten the parameter list for get_real_device()

get_real_device() has 5 parameters with the last 4 is contained in the first
structure.

This patch removes the last 4 parameters and directly use them from the first
parameter.

Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/kvm/pci-assign.c