Re: [Qemu-devel] Questions about 'emulated_config_bits' in vfio pci

2019-08-30 Thread Alex Williamson
On Sat, 31 Aug 2019 09:31:59 +0800 Li Qiang wrote: > Hi Alex and all, > > My understanding for ‘emulated_config_bits’ in ‘VFIOPCIDevice’ is > that this is the mask for PCI config space. If the bits is set in ‘ > emulated_config_bits’ then we can just use the qemu’s > ‘vdev->pdev.config’, it the

[Qemu-devel] Questions about 'emulated_config_bits' in vfio pci

2019-08-30 Thread Li Qiang
Hi Alex and all, My understanding for ‘emulated_config_bits’ in ‘VFIOPCIDevice’ is that this is the mask for PCI config space. If the bits is set in ‘ emulated_config_bits’ then we can just use the qemu’s ‘vdev->pdev.config’, it the bits is not set, we need to ask the physical device. But the