qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/9] ahci: enable migration
@ 2015-02-26 23:49 John Snow
  2015-02-26 23:49 ` [Qemu-devel] [PATCH v2 1/9] libqos/ahci: Add halted command helpers John Snow
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: John Snow @ 2015-02-26 23:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: kwolf, marc.mari.barcelo, mst, armbru, stefanha, pbonzini,
	John Snow

This patchset currently depends on stefanha/block.

The day we all feared is here, and I am proposing we allow the
migration of the AHCI device. The series that precedes this
which fixes AHCI migration has improved the stability of the
device and as this test series proves, is stable.

I am justifying this checkin based on a series of ping-pong
migration tests I ran under heavy load (using google's stressapptest)
and saw over 300 successful migrations without a single failure.

This series does a few things:
(1) Add migration facilities to libqos
(2) Enable AHCI and ICH9 migration
(3) Add a series of migration tests to ahci-test

v2:
 - Added a URI parameter to the migrate() helper
 - Adjust ahci_shutdown to set qtest context for itself
 - Make sure verify() is part of ahci_migrate() and redundant
   calls are eliminated
 - Add new helpers to make tests with blkdebug injections more
   succint
 - Change the flush migrate test to not load the blkdebug rule
   on the destination host
 - Modify the migrate() function so that it does not poll the
   VM for migration status if it can rely on RESUME events.
 - New patch: Repair the ahci_command_set_offset helper.
 - New test: Test DMA halt and resume.
 - New test: Test DMA halt, migrate, and resume.

John Snow (9):
  libqos/ahci: Add halted command helpers
  libqos/ahci: Fix sector set method
  libqos: Add migration helpers
  ich9/ahci: Enable Migration
  qtest/ahci: Add migration test
  qtest/ahci: add migrate dma test
  qtest/ahci: add flush migrate test
  qtest/ahci: add halted dma test
  qtest/ahci: add migrate halted dma test

 hw/ide/ahci.c         |   1 -
 hw/ide/ich.c          |   1 -
 tests/ahci-test.c     | 318 +++++++++++++++++++++++++++++++++++++++++++++++++-
 tests/libqos/ahci.c   |  34 +++++-
 tests/libqos/ahci.h   |   3 +
 tests/libqos/libqos.c |  84 +++++++++++++
 tests/libqos/libqos.h |   2 +
 tests/libqos/malloc.c |  74 +++++++++---
 tests/libqos/malloc.h |   1 +
 9 files changed, 496 insertions(+), 22 deletions(-)

-- 
1.9.3

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

end of thread, other threads:[~2015-02-27 16:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-26 23:49 [Qemu-devel] [PATCH v2 0/9] ahci: enable migration John Snow
2015-02-26 23:49 ` [Qemu-devel] [PATCH v2 1/9] libqos/ahci: Add halted command helpers John Snow
2015-02-26 23:49 ` [Qemu-devel] [PATCH v2 2/9] libqos/ahci: Fix sector set method John Snow
2015-02-26 23:50 ` [Qemu-devel] [PATCH v2 3/9] libqos: Add migration helpers John Snow
2015-02-26 23:50 ` [Qemu-devel] [PATCH v2 4/9] ich9/ahci: Enable Migration John Snow
2015-02-26 23:50 ` [Qemu-devel] [PATCH v2 5/9] qtest/ahci: Add migration test John Snow
2015-02-26 23:50 ` [Qemu-devel] [PATCH v2 6/9] qtest/ahci: add migrate dma test John Snow
2015-02-27 14:30   ` Paolo Bonzini
2015-02-27 16:37     ` John Snow
2015-02-26 23:50 ` [Qemu-devel] [PATCH v2 7/9] qtest/ahci: add flush migrate test John Snow
2015-02-26 23:50 ` [Qemu-devel] [PATCH v2 8/9] qtest/ahci: add halted dma test John Snow
2015-02-26 23:50 ` [Qemu-devel] [PATCH v2 9/9] qtest/ahci: add migrate " John Snow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).