savevm: qemu_savevm_state(): Drop stop VM logic
authorLuiz Capitulino <lcapitulino@redhat.com>
Thu, 13 Oct 2011 14:36:40 +0000 (11:36 -0300)
committerLuiz Capitulino <lcapitulino@redhat.com>
Wed, 19 Oct 2011 12:48:57 +0000 (10:48 -0200)
commit148f23a45538c449a3124a5a6f3ca299c9c4ed95
treed66f6818de3594e981fd75949f6b072705600a98
parentad8e96e16685d9c3eebeb8f2589a69d564abab7b
savevm: qemu_savevm_state(): Drop stop VM logic

qemu_savevm_state() has some logic to stop the VM and to (or not to)
resume it. But this seems to be a big noop, as qemu_savevm_state()
is only called by do_savevm() when the VM is already stopped.

So, let's drop qemu_savevm_state()'s stop VM logic.

Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
savevm.c