qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] Fix stop/cont vs. connect races
@ 2012-10-19 14:45 Paolo Bonzini
  2012-10-19 14:45 ` [Qemu-devel] [PATCH v2 1/2] qmp: handle stop/cont in INMIGRATE state Paolo Bonzini
  2012-10-19 14:45 ` [Qemu-devel] [PATCH v2 2/2] migration: go to paused state after finishing incoming migration with -S Paolo Bonzini
  0 siblings, 2 replies; 8+ messages in thread
From: Paolo Bonzini @ 2012-10-19 14:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: lcapitulino

Here are two patches to make the handling more uniform when stop/cont
commands are sent to a QEMU instance that is waiting for incoming
migration.  Right now the handling will change, depending on whether
the command came before or after the source has connected.

The behavior that makes most sense is the one you have if the command
comes while migration is in progress and the monitor is blocked, so
ensure that we always resolve the race like that.

This will also help when incoming migration is moved to a coroutine,
which (by design) will cause the monitor not to block.

Paolo Bonzini (2):
  qmp: handle stop/cont in INMIGRATE state
  migration: go to paused state after finishing incoming migration with -S

 migration.c      |  2 +-
 qapi-schema.json |  7 +------
 qerror.h         |  3 ---
 qmp.c            | 17 +++++++++++------
 vl.c             |  2 +-
 5 file modificati, 14 inserzioni(+), 17 rimozioni(-)

-- 
1.7.12.1

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

end of thread, other threads:[~2012-10-23 13:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-19 14:45 [Qemu-devel] [PATCH v2 0/2] Fix stop/cont vs. connect races Paolo Bonzini
2012-10-19 14:45 ` [Qemu-devel] [PATCH v2 1/2] qmp: handle stop/cont in INMIGRATE state Paolo Bonzini
2012-10-22 15:06   ` Luiz Capitulino
2012-10-22 15:35     ` Paolo Bonzini
2012-10-22 15:38       ` Luiz Capitulino
2012-10-23 12:54         ` [Qemu-devel] [PATCH v3 " Paolo Bonzini
2012-10-23 13:39           ` Luiz Capitulino
2012-10-19 14:45 ` [Qemu-devel] [PATCH v2 2/2] migration: go to paused state after finishing incoming migration with -S Paolo Bonzini

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).