public inbox for qemu-devel@nongnu.org
 help / color / mirror / Atom feed
* migration-stress tests
@ 2026-01-16 20:35 John Snow
  2026-01-16 22:07 ` Fabiano Rosas
  0 siblings, 1 reply; 3+ messages in thread
From: John Snow @ 2026-01-16 20:35 UTC (permalink / raw)
  To: Peter Xu, Fabiano Rosas; +Cc: qemu-devel

Heya folks:

I'm working on a series that removes the qemu.qmp package from the
qemu.git tree and notice that
tests/migration-stress/guestperf/engine.py makes use of the
QEMUMachine class (which depends on qemu.qmp) -- Can you please let me
know which test(s) utilize this code so I can ensure that there are no
disruptions to these tests after the pivot to utilizing an external
library?

If they aren't executed by "make check", could you please give me some
instructions for how they are normally run?

Thanks,
--js



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: migration-stress tests
  2026-01-16 20:35 migration-stress tests John Snow
@ 2026-01-16 22:07 ` Fabiano Rosas
  2026-01-19 17:19   ` John Snow
  0 siblings, 1 reply; 3+ messages in thread
From: Fabiano Rosas @ 2026-01-16 22:07 UTC (permalink / raw)
  To: John Snow, Peter Xu; +Cc: qemu-devel

John Snow <jsnow@redhat.com> writes:

> Heya folks:
>
> I'm working on a series that removes the qemu.qmp package from the
> qemu.git tree and notice that
> tests/migration-stress/guestperf/engine.py makes use of the
> QEMUMachine class (which depends on qemu.qmp) -- Can you please let me
> know which test(s) utilize this code so I can ensure that there are no
> disruptions to these tests after the pivot to utilizing an external
> library?
>
> If they aren't executed by "make check", could you please give me some
> instructions for how they are normally run?
>
> Thanks,
> --js

Hi!

This is a little benchmarking tool we have. You need to first build the
guest workload (might need to install a couple static libraries):

cd build
make ./tests/migration-stress/initrd-stress.img

Then:

./run ../tests/migration-stress/guestperf.py --debug --verbose --output
output.json

It starts a guest and migrates it, but with the --debug flag you'll
already see lots of qemu.qmp debug messages flying past.

Beware this is poorly maintained, I just checked it's working, but it
might bite you. Let's us know!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: migration-stress tests
  2026-01-16 22:07 ` Fabiano Rosas
@ 2026-01-19 17:19   ` John Snow
  0 siblings, 0 replies; 3+ messages in thread
From: John Snow @ 2026-01-19 17:19 UTC (permalink / raw)
  To: Fabiano Rosas; +Cc: Peter Xu, qemu-devel

On Fri, Jan 16, 2026 at 5:07 PM Fabiano Rosas <farosas@suse.de> wrote:
>
> John Snow <jsnow@redhat.com> writes:
>
> > Heya folks:
> >
> > I'm working on a series that removes the qemu.qmp package from the
> > qemu.git tree and notice that
> > tests/migration-stress/guestperf/engine.py makes use of the
> > QEMUMachine class (which depends on qemu.qmp) -- Can you please let me
> > know which test(s) utilize this code so I can ensure that there are no
> > disruptions to these tests after the pivot to utilizing an external
> > library?
> >
> > If they aren't executed by "make check", could you please give me some
> > instructions for how they are normally run?
> >
> > Thanks,
> > --js
>
> Hi!
>
> This is a little benchmarking tool we have. You need to first build the
> guest workload (might need to install a couple static libraries):
>
> cd build
> make ./tests/migration-stress/initrd-stress.img
>
> Then:
>
> ./run ../tests/migration-stress/guestperf.py --debug --verbose --output
> output.json

Oh, fantastic, you're already using the new runscript. That makes
things an awful lot easier for me. This is soon going to become
effectively *required* for you to run this script; I will add a little
error message into the script that makes this obvious in case you
forget it.

>
> It starts a guest and migrates it, but with the --debug flag you'll
> already see lots of qemu.qmp debug messages flying past.
>
> Beware this is poorly maintained, I just checked it's working, but it
> might bite you. Let's us know!
>

Thanks!
--js



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-01-19 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-16 20:35 migration-stress tests John Snow
2026-01-16 22:07 ` Fabiano Rosas
2026-01-19 17:19   ` John Snow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox