Re: [PATCH 1/3] KVM: PPC: Book3S: Controls for in-kernel PAPR hypercall handling

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

 




> Am 29.05.2014 um 07:27 schrieb Paul Mackerras <paulus@xxxxxxxxx>:
> 
>> On Wed, May 28, 2014 at 03:27:32PM +0200, Alexander Graf wrote:
>> 
>>> On 26.05.14 14:17, Paul Mackerras wrote:
>>> +6.8 KVM_CAP_PPC_ENABLE_HCALL
>>> +
>>> +Architectures: ppc
>>> +Parameters: args[0] is the PAPR hcall number
>>> +        args[1] is 0 to disable, 1 to enable in-kernel handling
>>> +
>>> +This capability controls whether individual PAPR hypercalls (hcalls)
>>> +get handled by the kernel or not.  Enabling or disabling in-kernel
>>> +handling of an hcall is effective across the VM.  On creation, an
>> 
>> Hrm. Could we move the CAP to vm level then?
> 
> You mean, define a VM ioctl instead of using a capability?  Or are you
> suggesting something else?

I'm suggesting ENABLE_CAP on the vm fd :)

Alex

> 
> Paul.
--
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