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

Re: [Xen-devel] [PATCH v4 14/15] xenctx: Add output of vcpu value and state for --all-vcpus



>>> On 18.03.14 at 23:15, Don Slutz <dslutz@xxxxxxxxxxx> wrote:
> --- a/tools/xentrace/xenctx.c
> +++ b/tools/xentrace/xenctx.c
> @@ -1046,8 +1046,13 @@ static void dump_all_vcpus(void)
>      {
>          if ( xc_vcpu_getinfo(xenctx.xc_handle, xenctx.domid, vcpu, &vinfo) )
>              continue;
> -        if ( vinfo.online )
> +        if ( vinfo.online ) {
> +            printf("vcpu=%d online\n", vcpu);

I'd drop the "=" here (and below), and omit the "online" (but keep
the "offline" below), perhaps in favor of a ":".

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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