Re: [Qemu-devel] [[PATCH v2]] Add option to slow qemu down

2013-05-07 Thread Wolfgang Mauerer
On 07/05/13 12:56, Markus Armbruster wrote: (...) >> +if (slowdown_option && (kvm_enabled() || xen_enabled())) { >> +fprintf(stderr, "-slowdown is not allowed with kvm or xen\n"); >> +exit(1); > > Suggest to mention this in the commit message, and perhaps the manual > (STEXI.

Re: [Qemu-devel] [[PATCH v2]] Add option to slow qemu down

2013-05-07 Thread Markus Armbruster
Wolfgang Mauerer writes: > Hello, > > On 17/01/13 21:21, Stefan Weil wrote: >> Am 17.01.2013 18:10, schrieb Wolfgang Mauerer: >>> For slow targets and fast hosts, the emulation may be faster >>> than the actual hardware, which can be undesirable for various >>> reasons. Add a run-time option to s

Re: [Qemu-devel] [[PATCH v2]] Add option to slow qemu down

2013-05-07 Thread Wolfgang Mauerer
Hello, On 17/01/13 21:21, Stefan Weil wrote: > Am 17.01.2013 18:10, schrieb Wolfgang Mauerer: >> For slow targets and fast hosts, the emulation may be faster >> than the actual hardware, which can be undesirable for various >> reasons. Add a run-time option to slow down the emulation >> by sleepin

Re: [Qemu-devel] [[PATCH v2]] Add option to slow qemu down

2013-01-18 Thread Wolfgang Mauerer
Hello Stefan, On 17/01/13 21:21, Stefan Weil wrote: > Please test your patch using scripts/checkpatch.pl before sending it. embarrassingly, I did not do that, true. Stylistically correct version follows. Best regards, Wolfgang

Re: [Qemu-devel] [[PATCH v2]] Add option to slow qemu down

2013-01-17 Thread Stefan Weil
Hello Wolfgang, please see comment below. Am 17.01.2013 18:10, schrieb Wolfgang Mauerer: For slow targets and fast hosts, the emulation may be faster than the actual hardware, which can be undesirable for various reasons. Add a run-time option to slow down the emulation by sleeping in the CPU e

[Qemu-devel] [[PATCH v2]] Add option to slow qemu down

2013-01-17 Thread Wolfgang Mauerer
For slow targets and fast hosts, the emulation may be faster than the actual hardware, which can be undesirable for various reasons. Add a run-time option to slow down the emulation by sleeping in the CPU emulation. Signed-off-by: Wolfgang Mauerer --- cpus.c| 29 +++