Re: Question about physical page allocation to the guest

2014-12-01 Thread Steven
On Wed, Oct 22, 2014 at 12:39 PM, Xiao Guangrong wrote: > > > On 10/20/14 2:09 AM, Steven wrote: >> >> Hi, Eric, >> I am trying to understand how KVM allocates physical pages to the >> guest and your slides clarify a lot of questions. >> >> (https://events.linuxfoundation.org/slides/2011/linuxcon-

Re: Question about physical page allocation to the guest

2014-10-27 Thread Wanpeng Li
Hi Xiao, On Thu, Oct 23, 2014 at 12:39:56AM +0800, Xiao Guangrong wrote: I'm not sure if jump into this thread is good. ;-) One question about mmio spte. set_spte -> set_mmio_spte -> if (unlikely(is_noslot_pfn(pfn))) mark_mmio_spte(); If mmio doesn't have memslot? Regards, Wanpeng Li

Re: Question about physical page allocation to the guest

2014-10-22 Thread Xiao Guangrong
On 10/20/14 2:09 AM, Steven wrote: Hi, Eric, I am trying to understand how KVM allocates physical pages to the guest and your slides clarify a lot of questions. (https://events.linuxfoundation.org/slides/2011/linuxcon-japan/lcj2011_guangrong.pdf) However, I still have some difficulty in figuri