[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [PATCH v2 3/5] tools/misc: add xen-domctx to present domain context
> -----Original Message----- > From: Jan Beulich <jbeulich@xxxxxxxx> > Sent: 29 April 2020 16:04 > To: Paul Durrant <paul@xxxxxxx> > Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx; Paul Durrant <pdurrant@xxxxxxxxxx>; Ian > Jackson > <ian.jackson@xxxxxxxxxxxxx>; Wei Liu <wl@xxxxxxx> > Subject: Re: [PATCH v2 3/5] tools/misc: add xen-domctx to present domain > context > > On 07.04.2020 19:38, Paul Durrant wrote: > > +int main(int argc, char **argv) > > +{ > > + uint32_t domid; > > + unsigned int entry; > > + xc_interface *xch; > > + int rc; > > + > > + if ( argc != 2 || !argv[1] || (rc = atoi(argv[1])) < 0 ) > > + { > > + fprintf(stderr, "usage: %s <domid>\n", argv[0]); > > + exit(1); > > + } > > Perhaps also allow dumping just a single (vCPU or other) ID? > Yes, I can add optional type and instance arguments. Paul > Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |