--- tools/virsh-domain.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 1d8225c..9e8d9d1 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -6522,14 +6522,14 @@ cmdVcpuPin(vshControl *ctl, const vshCmd *cmd) vshPrintExtra(ctl, "%s %s\n", _("VCPU:"), _("CPU Affinity")); vshPrintExtra(ctl, "----------------------------------\n"); for (i = 0; i < ncpus; i++) { - if (got_vcpu && i != vcpu) - continue; - - vshPrint(ctl, "%4zu: ", i); - ret = vshPrintPinInfo(cpumap, cpumaplen, maxcpu, i); - vshPrint(ctl, "\n"); - if (!ret) - break; + if (got_vcpu && i != vcpu) + continue; + + vshPrint(ctl, "%4zu: ", i); + ret = vshPrintPinInfo(cpumap, cpumaplen, maxcpu, i); + vshPrint(ctl, "\n"); + if (!ret) + break; } } } else { -- 2.0.5 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list