qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 00/10] Add make check tests for Migration


From: Juan Quintela
Subject: [Qemu-devel] [PATCH v2 00/10] Add make check tests for Migration
Date: Thu, 26 Oct 2017 09:52:12 +0200

Hi

This is on top of my set_cache_size series.

big changes is this v2:
- to make review easier, I started renaming postcopy-test.c to migration-test.c
- Did cleanups/refactoring there
- Don't use global-qtest anymore
- check that the parameters that we sent got really set
- RFH: comrpress threads tests is not working for some weird reason.  Using the 
same code on command line works.
  still investigating why.

ToDoo:

- tcp: after discussions with dave, we ended in conclusion that we
  need to use the 0 port and let the system gives us a free one

  But .... that means that we need to be able to get that port back somehow.
  "info migrate" woring on destination side?

- compression threads.  There is some weird interaction with the test
  hardness and every migration thread get waiting in a different
  semaphore.  Investigating if it is a race/bug/whateverr

- deprecated commands: There was a suggestion to make
  migrate_set_parameter look at the parameter name and test old/new
  depending on something.  Not sure what to do here.

- testing commands: Is there a way to launch qemu and just sent
  qmp/hmp commands without having to really run anything else?

Please review,.

Later, Juan.

[v1]
- add test for precopy for unix/tcp
  exec and fd to came, don't know how to test rdma without hardware
- add tests using deprecated interfaces
- add test for xbzrle
  Note to myself, there is no way to set the cache size with 
migraton_set_parameters
- Add test for compress threads
  disabled on the series, right now it appears that compression is not working 
at all
- Move postcopy to use new results
  Idea is to move it on top of migration-test.c, but first I want some reviews 
on basic idea

Please, review.

Juan.



*** BLURB HERE ***

Juan Quintela (10):
  tests: rename postcopy-test to migration-test
  tests: Refactor setting of parameters/capabilities
  tests: Factorize out migrate_test_start/end
  tests: Don't abuse global_qtest
  tests: check that migration parameters are really assigned
  tests: Add migration precopy test
  tests: Add basic migration precopy tcp test
  tests: Add precopy test using deprecated commands
  tests: Add migration xbzrle test
  [RFH] tests: Add migration compress threads tests

 MAINTAINERS                                 |   1 +
 tests/Makefile.include                      |   6 +-
 tests/{postcopy-test.c => migration-test.c} | 492 ++++++++++++++++++++++------
 3 files changed, 394 insertions(+), 105 deletions(-)
 rename tests/{postcopy-test.c => migration-test.c} (59%)

-- 
2.13.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]