On 06/17/2010 01:15 PM, Luiz Capitulino wrote:
  This is a general question for all commands that can take way too long
or never return.

  For QMP the question is whether we should handle this in QEMU or in the
client. Ie, if the guest doesn't respond the client could detect that
and cancel the async command.

Exactly.  It's no different than a migration that takes too long.

  For HMP we could just live with that or suspend the shell and allow the
user to cancel the operation (eg. ctrl+c) and the obvious alternative is to
have timeouts, allowing the user to set them.

Yeah, ctrl+c to cancel would be a very nice feature.

Regards,

Anthony Liguori



Reply via email to