On 01.12.2011 14:26, Avi Kivity wrote:
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()"?
Yes it is, but that is defined in arch/s390/kvm/kvm-s390.h which
I do not dare to include here.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html