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

Re: [Xen-devel] [PATCH v3] x86/hvm: remove default ioreq server



>>> On 07.08.18 at 17:42, <paul.durrant@xxxxxxxxxx> wrote:
> My recent patch [1] to qemu-xen-traditional removes the last use of the
> 'default' ioreq server in Xen. (This is a catch-all ioreq server that is
> used if no explicitly registered I/O range is targetted).
> 
> This patch can be applied once that patch is committed, to remove the
> (>100 lines of) redundant code in Xen.
> 
> NOTE: The removal of the special case for HVM_PARAM_DM_DOMAIN in
>       hvm_allow_set_param() is not directly related to removal of
>       default ioreq servers. It could have been cleaned up at any time
>       after commit 9a422c03 "x86/hvm: stop passing explicit domid to
>       hvm_create_ioreq_server()". It is now added to the new
>       deprecated sets introduced by this patch.
> 
> [1] 
> https://lists.xenproject.org/archives/html/xen-devel/2018-08/msg00270.html 
> 
> Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
with one more cosmetic adjustment:

> --- a/xen/include/public/hvm/params.h
> +++ b/xen/include/public/hvm/params.h
> @@ -81,9 +81,13 @@
>  #define HVM_PARAM_PAE_ENABLED  4
>  
>  #define HVM_PARAM_IOREQ_PFN    5
> -
>  #define HVM_PARAM_BUFIOREQ_PFN 6
> +
> +#ifdef __XEN__
> +/* These parameters is deprecated and its meaning is undefined */
> +#define HVM_PARAM_DM_DOMAIN 13
>  #define HVM_PARAM_BUFIOREQ_EVTCHN 26
> +#endif

The comment was only partly switched to plural.

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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