On 16/07/18 11:26, Roger Pau Monné wrote: > On Fri, Jul 13, 2018 at 09:03:14PM +0100, Andrew Cooper wrote: >> @@ -309,11 +311,13 @@ int main(int argc, char **argv) >> { >> enum { MODE_UNKNOWN, MODE_INFO, MODE_DETAIL, MODE_INTERPRET, >> MODE_POLICY } >> mode = MODE_UNKNOWN; >> + int domid = -1; > Using domid_t and DOMID_INVALID would be better IMO.
Please see 5b42c82f5584ca8b0e169c6de1b6d81214ea07f2 for why domid_t is unusable in toolstack code. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel