qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v18 12/14] qapi: add HostMemPolicy enum type


From: Igor Mammedov
Subject: Re: [Qemu-devel] [PATCH v18 12/14] qapi: add HostMemPolicy enum type
Date: Wed, 19 Feb 2014 12:23:01 +0100

On Wed, 19 Feb 2014 15:54:03 +0800
Hu Tao <address@hidden> wrote:

> From: Wanlong Gao <address@hidden>
> 
> This new enum type will be used to set host memory policy of
> backend host memory.
perhaps squashing it into the next path would be better.

> 
> Signed-off-by: Wanlong Gao <address@hidden>
> Signed-off-by: Hu Tao <address@hidden>
> ---
>  qapi-schema.json | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/qapi-schema.json b/qapi-schema.json
> index 498ea9b..9d6370f 100644
> --- a/qapi-schema.json
> +++ b/qapi-schema.json
> @@ -4454,3 +4454,23 @@
>     '*cpus':   ['uint16'],
>     '*memdev': 'str',
>     '*mem':    'str' }}
> +
> +##
> +# @HostMemPolicy
> +#
> +# Host memory policy types
> +#
> +# @default: restore default policy, remove any nondefault policy
> +#
> +# @preferred: set the preferred host node for allocation
> +#
> +# @membind: a strict policy that restricts memory allocation to the
> +#           host nodes specified
> +#
> +# @interleave: the page allocations is interleaved across the set
> +#              of host nodes specified
> +#
> +# Since 2.0
> +##
> +{ 'enum': 'HostMemPolicy',
> +  'data': [ 'default', 'preferred', 'membind', 'interleave' ] }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]