xen-devel
Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup
On Thu, 2011-01-27 at 20:01 +0000, Ian Jackson wrote:
>
> +static inline int libxl_domid_valid_guest(uint32_t domid) {
> + /* returns 1 if the value _could_ be a valid guest domid, 0 otherwise
> + * does not check whether the domain actually exists */
> + return domid > 0 && domid < DOMID_FIRST_RESERVED;
> +}
Looks good to me, apart from coding style (opening brace)...
Gianni
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 0/6] libxl, xl: fix domain name uniqueness check, Ian Jackson
- [Xen-devel] [PATCH 1/6] xl: Revert "xl: avoid creating domains with duplicate names", Ian Jackson
- Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values), Stefano Stabellini
- Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values), Ian Jackson
- Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values), Ian Jackson
- Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values),
Gianni Tedesco <=
- Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values), Stefano Stabellini
- Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values), Ian Jackson
- Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values), Stefano Stabellini
- Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values), Ian Jackson
- Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values), Stefano Stabellini
- Re: [Xen-devel] [PATCH 3/6] libxl, xl: fixes to domain creation cleanup logic (domid values), Ian Jackson
|
|
|