Zhang, Xiantao wrote: > diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c > index 530c391..2d2ff55 100644 > --- a/drivers/kvm/kvm_main.c > +++ b/drivers/kvm/kvm_main.c > @@ -670,7 +670,7 @@ static int kvm_vcpu_fault(struct vm_area_struct > *vma, struct vm_fault *vmf) > if (vmf->pgoff == 0) > page = virt_to_page(vcpu->run); > else if (vmf->pgoff == KVM_PIO_PAGE_OFFSET) > - page = virt_to_page(vcpu->pio_data); > + page = virt_to_page(vcpu->arch.pio_data); > else > return VM_FAULT_SIGBUS; > get_page(page); Nothing that needs to be dealt with in this patch, just a thing that I ran into when reading this patch: The fact that we're accessing vcpu->arch here in kvm_main.c indicates that kvm_vcpu_fault() needs to go to arch. In fact, we'll be using the regular userspace fault path for guest pages on s390.
------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
