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

Re: [Xen-devel] [PATCH v2 1/5] xen/domain: Introduce a new sanitise_domain_config() helper

>>> On 12.11.18 at 17:16, <andrew.cooper3@xxxxxxxxxx> wrote:
> Call it from the head of domain_create() (before doing any memory
> allocations), which will apply the checks to dom0 as well as domU's.
> For now, just subsume the XEN_DOMCTL_CDF_* check from 
> XEN_DOMCTL_createdomain.

And the needless assignment of a domain ID in case of error here
is deemed sufficiently minor? If so ...

> In an effort to aid future developoment, leave a debug printk() identifying
> the cause of sanitisation failures.
> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>


Xen-devel mailing list



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