Re: [Qemu-devel] [PATCH for-1.7] vfio-pci: Fix multifunction=on

2013-11-13 Thread Bandan Das
Alex Williamson writes: > 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. > > Signed-off-by: Alex W

[Qemu-devel] [PATCH for-1.7] vfio-pci: Fix multifunction=on

2013-11-12 Thread Alex Williamson
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. Signed-off-by: Alex Williamson Cc: qemu-sta...@nongnu.org