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

Re: [Xen-devel] [PATCH 3/4] xen/arm: support vcpu_op hypercalls



On Thu, 2013-03-21 at 18:42 +0000, Stefano Stabellini wrote:

It's possible that we might want to restrict the available operations?
e.g. remove VPCUOP_initialize/up if we are doing this via PSCI instead?

My concern is that there have been security bugs in VCPUOP_initialize on
x86 in the past and if we don't have to expose that possibility on ARM
lets not.

Ian.

> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> ---
>  xen/arch/arm/traps.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/xen/arch/arm/traps.c b/xen/arch/arm/traps.c
> index 1deb92c..4ac4af3 100644
> --- a/xen/arch/arm/traps.c
> +++ b/xen/arch/arm/traps.c
> @@ -496,6 +496,7 @@ static arm_hypercall_t arm_hypercall_table[] = {
>      HYPERCALL(sysctl, 2),
>      HYPERCALL(hvm_op, 2),
>      HYPERCALL(grant_table_op, 3),
> +    HYPERCALL(vcpu_op, 3),
>  };
>  
>  #define __PSCI_cpu_suspend 0



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.