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

Re: [Xen-devel] [PATCH v3 07/15] xen/mem_access: Abstract architecture specific sanity check



>>> On 01.09.14 at 16:22, <tklengyel@xxxxxxxxxxxxx> wrote:
> --- a/xen/common/mem_access.c
> +++ b/xen/common/mem_access.c
> @@ -43,9 +43,11 @@ int mem_access_memop(unsigned long cmd,
>      if ( rc )
>          return rc;
>  
> -    rc = -EINVAL;
> -    if ( !is_hvm_domain(d) )
> +    if ( !p2m_mem_access_sanity_check(d) )
> +    {
> +        rc = -EINVAL;
>          goto out;
> +    }

Please keep the original code structure and only replace the function
name.

Jan


_______________________________________________
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®.