Re: [Qemu-devel] [PATCH 0/2] add "nopin" option in the memory-backend-file

2017-10-18 Thread Zhong Yang
On Wed, Oct 18, 2017 at 11:48:11AM +0200, Paolo Bonzini wrote: > On 18/10/2017 07:57, Zhong Yang wrote: > > Your suggestion can avoid DMA target to nvdimm if the nvdimm memory region > > was skipped during VFIO hotplug. It is valuable to try this solution. by > > the > > way, please share me

Re: [Qemu-devel] [PATCH 0/2] add "nopin" option in the memory-backend-file

2017-10-18 Thread Paolo Bonzini
On 18/10/2017 07:57, Zhong Yang wrote: > Your suggestion can avoid DMA target to nvdimm if the nvdimm memory region > was skipped during VFIO hotplug. It is valuable to try this solution. by the > way, please share me some clue for PCI address space related with memory > region, > below ad

Re: [Qemu-devel] [PATCH 0/2] add "nopin" option in the memory-backend-file

2017-10-17 Thread Zhong Yang
On Mon, Oct 16, 2017 at 01:58:59PM +0200, Paolo Bonzini wrote: > On 16/10/2017 12:20, Xiao Guangrong wrote: > > > >> Qemu does not need pin NVDIMM memory for VFIO device during VFIO > >> hotplug, what's more, if there is no NVDIMM hw in the test machine, > >> the VFIO hotplug operation will need a

Re: [Qemu-devel] [PATCH 0/2] add "nopin" option in the memory-backend-file

2017-10-17 Thread Zhong Yang
On Mon, Oct 16, 2017 at 06:20:32PM +0800, Xiao Guangrong wrote: > > > On 10/16/2017 04:56 PM, Yang Zhong wrote: > >Qemu does not need pin NVDIMM memory for VFIO device during VFIO > >hotplug, what's more, if there is no NVDIMM hw in the test machine, > >the VFIO hotplug operation will need at lea

Re: [Qemu-devel] [PATCH 0/2] add "nopin" option in the memory-backend-file

2017-10-16 Thread Alex Williamson
On Mon, 16 Oct 2017 16:56:21 +0800 Yang Zhong wrote: > Qemu does not need pin NVDIMM memory for VFIO device during VFIO > hotplug, what's more, if there is no NVDIMM hw in the test machine, > the VFIO hotplug operation will need at least 10 minutes to pin RAM > as the NVDIMM, this time is not acc

Re: [Qemu-devel] [PATCH 0/2] add "nopin" option in the memory-backend-file

2017-10-16 Thread Paolo Bonzini
On 16/10/2017 12:20, Xiao Guangrong wrote: > >> Qemu does not need pin NVDIMM memory for VFIO device during VFIO >> hotplug, what's more, if there is no NVDIMM hw in the test machine, >> the VFIO hotplug operation will need at least 10 minutes to pin RAM >> as the NVDIMM, this time is not accepted

Re: [Qemu-devel] [PATCH 0/2] add "nopin" option in the memory-backend-file

2017-10-16 Thread Xiao Guangrong
On 10/16/2017 04:56 PM, Yang Zhong wrote: Qemu does not need pin NVDIMM memory for VFIO device during VFIO hotplug, what's more, if there is no NVDIMM hw in the test machine, the VFIO hotplug operation will need at least 10 minutes to pin RAM as the NVDIMM, this time is not accepted. So we add

[Qemu-devel] [PATCH 0/2] add "nopin" option in the memory-backend-file

2017-10-16 Thread Yang Zhong
Qemu does not need pin NVDIMM memory for VFIO device during VFIO hotplug, what's more, if there is no NVDIMM hw in the test machine, the VFIO hotplug operation will need at least 10 minutes to pin RAM as the NVDIMM, this time is not accepted. So we add "nopin=on" option in the memory-backed-file, w