]> git.proxmox.com Git - mirror_qemu.git/commit - cpus.c
move vm_start to cpus.c
authorClaudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Tue, 14 Feb 2017 17:07:47 +0000 (18:07 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Feb 2017 13:06:55 +0000 (14:06 +0100)
commit2d76e82395979b44e055b69b7e453f43c5c060cf
treefa8b2c6cfa594adb65eae796543c2c84a8aa8819
parent1c64fdbc8177058802df205f5d7cd65edafa59a8
move vm_start to cpus.c

This patch:

* moves vm_start to cpus.c.
* exports qemu_vmstop_requested, since it's needed by vm_start.
* extracts vm_prepare_start from vm_start; it does what vm_start did,
  except restarting the cpus.
* vm_start now calls vm_prepare_start and then restarts the cpus.

Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Message-Id: <1487092068-16562-2-git-send-email-imbrenda@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpus.c
include/sysemu/sysemu.h
vl.c