diff options
author | Alex Williamson | 2013-11-12 19:53:24 +0100 |
---|---|---|
committer | Paolo Bonzini | 2013-11-21 17:39:04 +0100 |
commit | 8d07d6c46597a885eb38d99cc6fff399ce69cd21 (patch) | |
tree | df3cb7351ac8464d2541a925f99b19660e4c7f94 /target-i386/kvm-stub.c | |
parent | atomic.h: Fix build with clang (diff) | |
download | qemu-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