]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Dump vCPUs in order
authorIngo Molnar <mingo@elte.hu>
Mon, 9 May 2011 07:45:32 +0000 (09:45 +0200)
committerPekka Enberg <penberg@kernel.org>
Mon, 9 May 2011 14:31:12 +0000 (17:31 +0300)
commit1d8d90dfa775adaf7348e125a148b6e5ed4f698e
tree2a17476fa2f239b7d5feff51f0df9691628a9763
parent4cd62c73f933334427a548fa0bfcf6da27971975
kvm tools: Dump vCPUs in order

* Ingo Molnar <mingo@elte.hu> wrote:

> The patch below addresses these concerns, serializes the output, tidies up the
> printout, resulting in this new output:

There's one bug remaining that my patch does not address: the vCPUs are not
printed in order:

# vCPU #0's dump:
# vCPU #2's dump:
# vCPU #24's dump:
# vCPU #5's dump:
# vCPU #39's dump:
# vCPU #38's dump:
# vCPU #51's dump:
# vCPU #11's dump:
# vCPU #10's dump:
# vCPU #12's dump:

This is undesirable as the order of printout is highly random, so successive
dumps are difficult to compare.

The patch below serializes the signalling itself. (this is on top of the
previous patch)

The patch also tweaks the vCPU printout line a bit so that it does not start
with '#', which is discarded if such messages are pasted into Git commit
messages.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/kvm-run.c