> -----Original Message-----
> From: Roger Pau Monne <roger....@citrix.com>
> Sent: 21 August 2019 15:59
> To: xen-devel@lists.xenproject.org
> Cc: Roger Pau Monne <roger....@citrix.com>; Jan Beulich <jbeul...@suse.com>; 
> Andrew Cooper
> <andrew.coop...@citrix.com>; Wei Liu <w...@xen.org>; Paul Durrant 
> <paul.durr...@citrix.com>
> Subject: [PATCH 2/7] ioreq: add internal ioreq initialization support
> 
> Add support for internal ioreq servers to initialization and
> deinitialization routines, prevent some functions from being executed
> against internal ioreq servers and add guards to only allow internal
> callers to modify internal ioreq servers. External callers (ie: from
> hypercalls) are only allowed to deal with external ioreq servers.

It's kind of ugly to have the extra 'internal' argument passed to anything 
other than the create function so I wonder whether it would be neater to encode 
it in the ioreq server id. I.e. we have distinct id ranges for internal and 
external servers. What do you think?

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

Reply via email to