summaryrefslogtreecommitdiffstats
path: root/target-i386/kvm-stub.c
diff options
context:
space:
mode:
authorAlex Williamson2013-11-12 19:53:24 +0100
committerPaolo Bonzini2013-11-21 17:39:04 +0100
commit8d07d6c46597a885eb38d99cc6fff399ce69cd21 (patch)
treedf3cb7351ac8464d2541a925f99b19660e4c7f94 /target-i386/kvm-stub.c
parentatomic.h: Fix build with clang (diff)
downloadqemu-8d07d6c46597a885eb38d99cc6fff399ce69cd21.tar.gz
qemu-8d07d6c46597a885eb38d99cc6fff399ce69cd21.tar.xz
qemu-8d07d6c46597a885eb38d99cc6fff399ce69cd21.zip
vfio-pci: Fix multifunction=on
When an assigned device is initialized it copies the device config space into the emulated config space. Unfortunately multifunction is setup prior to the device initfn and gets clobbered. We need to restore it just like pci-assign does. Cc: qemu-stable@nongnu.org Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386/kvm-stub.c')
0 files changed, 0 insertions, 0 deletions