Re: [Qemu-devel] [PATCH 6/7] Monitor: Don't allow cont on bad VM state

2011-08-04 Thread Jan Kiszka
On 2011-08-03 19:32, Luiz Capitulino wrote: > On Wed, 03 Aug 2011 17:32:03 +0200 > Jan Kiszka wrote: > >> On 2011-08-03 17:17, Luiz Capitulino wrote: >>> We have two states where issuing cont before system_reset can be >>> catastrophic: QSTATE_SHUTDOWN (when -no-shutdown is used) and >>> QSTATE_I

Re: [Qemu-devel] [PATCH 6/7] Monitor: Don't allow cont on bad VM state

2011-08-03 Thread Luiz Capitulino
On Wed, 03 Aug 2011 17:32:03 +0200 Jan Kiszka wrote: > On 2011-08-03 17:17, Luiz Capitulino wrote: > > We have two states where issuing cont before system_reset can be > > catastrophic: QSTATE_SHUTDOWN (when -no-shutdown is used) and > > QSTATE_INTERROR (which only happen with kvm). > > > > This

Re: [Qemu-devel] [PATCH 6/7] Monitor: Don't allow cont on bad VM state

2011-08-03 Thread Jan Kiszka
On 2011-08-03 17:17, Luiz Capitulino wrote: > We have two states where issuing cont before system_reset can be > catastrophic: QSTATE_SHUTDOWN (when -no-shutdown is used) and > QSTATE_INTERROR (which only happen with kvm). > > This commit fixes that by making system_reset mandatory before > issuin

[Qemu-devel] [PATCH 6/7] Monitor: Don't allow cont on bad VM state

2011-08-03 Thread Luiz Capitulino
We have two states where issuing cont before system_reset can be catastrophic: QSTATE_SHUTDOWN (when -no-shutdown is used) and QSTATE_INTERROR (which only happen with kvm). This commit fixes that by making system_reset mandatory before issuing cont in those states. Signed-off-by: Luiz Capitulino