From: SeokYeon Hwang Date: Mon, 15 Jun 2015 13:00:47 +0000 (+0900) Subject: vl.c: removed workaround codes when wake-up from suspend X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~369 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bce5060204ec0c9049ea51f91674bacad9b2be60;p=sdk%2Femulator%2Fqemu.git vl.c: removed workaround codes when wake-up from suspend Preparing virtio queues should be done by kernel driver. Change-Id: I63a93bad14edbd5aa378b3cb26593b13bac4dcf4 Signed-off-by: SeokYeon Hwang --- diff --git a/vl.c b/vl.c index 565f818a5e..71aba3ba9b 100644 --- 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();