| commit | 8d07d6c46597a885eb38d99cc6fff399ce69cd21 | [log] [tgz] |
|---|---|---|
| author | Alex Williamson <alex.williamson@redhat.com> | Tue Nov 12 11:53:24 2013 -0700 |
| committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Nov 21 17:39:04 2013 +0100 |
| tree | df3cb7351ac8464d2541a925f99b19660e4c7f94 | |
| parent | 392a4d5b9a1860aae82429d09321dac302d70396 [diff] |
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>