Re: [patch 04/12] [PATCH] kvm-s390-ucontrol: export SIE control block to user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/01/2011 03:59 PM, Carsten Otte wrote:
> 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.
>

Oh, so kvm_arch_vcpu_fault() will help.  The pio stuff sets a bad
example, but we needn't follow it.

-- 
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux