Thread (53 messages) 53 messages, 2 authors, 2023-12-22

Re: [kvm-unit-tests PATCH v5 07/29] powerpc: Add a migration stress tester

From: "Nicholas Piggin" <npiggin@gmail.com>
Date: 2023-12-22 10:33:23
Also in: kvm

On Tue Dec 19, 2023 at 3:58 PM AEST, Thomas Huth wrote:
On 16/12/2023 14.42, Nicholas Piggin wrote:
quoted
This performs 1000 migrations a tight loop to flush out simple issues
in the multiple-migration code.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
  powerpc/Makefile.common |  1 +
  powerpc/migrate.c       | 64 +++++++++++++++++++++++++++++++++++++++++
  2 files changed, 65 insertions(+)
  create mode 100644 powerpc/migrate.c
You should likely add an entry to powerpc/unittests.cfg ...
also, wouldn't it be better to extend the sprs.elf test for this, so that it 
e.g. changes some stuff for each migration?
It was supposed to be kind of a dumb stress tester for the harness
that just runs as quickly as possible for a long time :) I'll see if
it can be massaged into something more useful.

sprs (and others) probably should get better migration stressing
when multi-migration support lands in the harness, but I was
thinking that could be follow up patches.

Thanks,
Nick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help