vl.c: removed workaround codes when wake-up from suspend
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 15 Jun 2015 13:00:47 +0000 (22:00 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 16 Jun 2015 07:54:53 +0000 (16:54 +0900)
Preparing virtio queues should be done by kernel driver.

Change-Id: I63a93bad14edbd5aa378b3cb26593b13bac4dcf4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
vl.c

diff --git a/vl.c b/vl.c
index 565f818a5e32cf03254bae9ecf25b251fa49218b..71aba3ba9bb8660581113315b87ab53e0d99a6f0 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -1898,13 +1898,7 @@ static bool main_loop_should_exit(void)
     if (qemu_wakeup_requested()) {
         pause_all_vcpus();
         cpu_synchronize_all_states();
-#ifndef CONFIG_MARU
-        // A "system reset" causes "virtio_queue" malfunction.
-        // It might be a bug of virtio bus or virtio devices.
-        // We don't want suspend(deep sleep), so It's OK now.
-        // However, we should fix it later.
         qemu_system_reset(VMRESET_SILENT);
-#endif
         notifier_list_notify(&wakeup_notifiers, &wakeup_reason);
         wakeup_reason = QEMU_WAKEUP_REASON_NONE;
         resume_all_vcpus();