Patchwork [29/29] Drop redundant resume_all_vcpus() from main()

login
register
mail settings
Submitter Andreas Färber
Date May 2, 2013, 1:35 p.m.
Message ID <1367501755-32272-30-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/240989/
State New
Headers show

Comments

Andreas Färber - May 2, 2013, 1:35 p.m.
From: Jan Kiszka <jan.kiszka@siemens.com>

VCPUs are either resumed directly via vm_start(), after the incoming
migration is done, or when a continue command is issued. We don't need
the explicit resume before entering main_loop().

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 vl.c | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/vl.c b/vl.c
index 41c367d..6e6225f 100644
--- a/vl.c
+++ b/vl.c
@@ -4415,7 +4415,6 @@  int main(int argc, char **argv, char **envp)
 
     os_setup_post();
 
-    resume_all_vcpus();
     main_loop();
     bdrv_close_all();
     pause_all_vcpus();