commit | c9eab58f6466cef3d9cd760a96e4de5e060e5195 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Nov 24 15:27:17 2014 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Nov 24 16:53:50 2014 +0100 |
tree | 42f8f5d3830d4601d986e73e29d071f29f491185 | |
parent | b65d6e17fe2239c9b2051727903955d922083fbf [diff] |
KVM: x86: move device assignment out of kvm_host.h Create a new header, and hide the device assignment functions there. Move struct kvm_assigned_dev_kernel to assigned-dev.c by modifying arch/x86/kvm/iommu.c to take a PCI device struct. Based on a patch by Radim Krcmar <rkrcmark@redhat.com>. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>