[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v13 2/8] start vm after resetting it
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH v13 2/8] start vm after resetting it |
Date: |
Thu, 28 Feb 2013 14:23:42 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2013-02-28 13:13, Hu Tao wrote:
> From: Wen Congyang <address@hidden>
>
> The guest should run after resetting it, but it does not run if its
> old state is RUN_STATE_INTERNAL_ERROR or RUN_STATE_PAUSED.
>
> We don't set runstate to RUN_STATE_PAUSED when resetting the guest,
> so the runstate will be changed from RUN_STATE_INTERNAL_ERROR or
> RUN_STATE_PAUSED to RUN_STATE_RUNNING(not RUN_STATE_PAUSED).
I just wonder what will happen if I interrupted the guest via gdb and
then issue "monitor system_reset", also via gdb - common pattern if you
set a breakpoint on some BUG() or fault handler and then want to restart
the guest. Will the guest continue then while gdb thinks it is still
stopped? Likely, we do not differentiate between gdb-initiated stops and
the rest. Could you clarify?
Thanks,
Jan
--
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux
- [Qemu-devel] [PATCH v13 0/8] pv event interface between host and guest, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 5/8] add a new qevent: QEVENT_GUEST_PANICKED, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 2/8] start vm after resetting it, Hu Tao, 2013/02/28
- Re: [Qemu-devel] [PATCH v13 2/8] start vm after resetting it,
Jan Kiszka <=
- [Qemu-devel] [PATCH v13 3/8] update kernel headers, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 4/8] add a new runstate: RUN_STATE_GUEST_PANICKED, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 1/8] save/load cpu runstate, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13] kvm: notify host when the guest is panicked, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 8/8] pv event: add document to describe the usage, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 7/8] allower the user to disable pv event support, Hu Tao, 2013/02/28
- [Qemu-devel] [PATCH v13 6/8] introduce a new qom device to deal with panicked event, Hu Tao, 2013/02/28