On 12/01/2011 02:57 PM, Carsten Otte wrote:
> This patch exports the SIE hardware control block to userspace
> via the mapping of the vcpu file descriptor.
>       else if (vmf->pgoff == KVM_COALESCED_MMIO_PAGE_OFFSET)
>               page = virt_to_page(vcpu->kvm->coalesced_mmio_ring);
>  #endif
> +#if defined(CONFIG_S390) && defined(CONFIG_KVM_UCONTROL)
> +     else if ((vmf->pgoff == KVM_SIE_PAGE_OFFSET)
> +              && (!(vcpu->kvm->arch.gmap)))

Is the second test "kvm_is_ucontrol()"?

> +             page = virt_to_page(vcpu->arch.sie_block);
> +#endif
>       else
>               return VM_FAULT_SIGBUS;
>       get_page(page);
>


-- 
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to