qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Zhong Yang
Subject: Re: [Qemu-devel] [PATCH 0/2] add "nopin" option in the memory-backend-file
Date: Wed, 18 Oct 2017 17:56:42 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

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 some clue for PCI address space related with memory 
> > region,
> >   below address_space_mem is right?  Many thanks!
> > 
> >   static void pci_bus_init(PCIBus *bus, DeviceState *parent,
> >                          MemoryRegion *address_space_mem,
> >                          MemoryRegion *address_space_io,
> >                          uint8_t devfn_min)  
> 
> Yes.  You would have to add the region directly to the CPU address
> space, and not to address_space_memory (which is included in both the
> CPU and PCI address spaces).
> 
> Paolo
  
  Thanks Paolo for your great help! I will try this solution in next week, 
thanks again.

  Regards,

  Yang



reply via email to

[Prev in Thread] Current Thread [Next in Thread]