On Thu, Nov 11, 2010 at 06:38:47PM +, Prasad Joshi wrote:
> Hello All,
>
> I have question on code of rmap_add
>
> Here is the code of the function
>
> 613 static int rmap_add(struct kvm_vcpu *vcpu, u64 *spte, gfn_t gfn)
> 614 {
>
> 624 rmapp = gfn_to_rmap(vcpu->kvm, gfn, sp->role.lev
Hello All,
I have question on code of rmap_add
Here is the code of the function
613 static int rmap_add(struct kvm_vcpu *vcpu, u64 *spte, gfn_t gfn)
614 {
624 rmapp = gfn_to_rmap(vcpu->kvm, gfn, sp->role.level);
625 if (!*rmapp) {
626 rmap_printk("rmap_add: %p %llx 0->1\n",