Preparing virtio queues should be done by kernel driver.
Change-Id: I63a93bad14edbd5aa378b3cb26593b13bac4dcf4
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
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();