Paul Durrant writes ("[PATCH 3/6] domctl: return EEXIST from XEN_DOMCTL_createdomain..."): > ...if a specified domid is already in use. > > XEN_DOMCTL_createdomain allows a domid to be specified by its caller and > will correctly fail if that domid is already in use. However the errno > returned in this case will be EINVAL, making it indistinguishable from > several other failures. Also a value of EINVAL does not seem appropriate > as the specified domid is valid [1] but just not (transiently) available. > > [1] any invalid value passed in is ignored and causes Xen to choose an > unused and valid value.
Acked-by: Ian Jackson <ian.jack...@eu.citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel