[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 19/24] qdev: move reset handler list from vl.c t
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 19/24] qdev: move reset handler list from vl.c to qdev.c |
Date: |
Thu, 15 Nov 2012 18:45:44 +0000 |
On 15 November 2012 18:42, Eduardo Habkost <address@hidden> wrote:
> DeviceState CPUs have to be reset too, and DeviceState uses the
> reset-handler system to make sure DeviceState objects are reset, so it
> won't be softmmu-specific.
>
> An alternative is to make empty stubs for qemu_[un]register_reset(), and
> not move the reset-handler system to *-user. But somehow I feel better
> having a working qemu_register_reset() function (and then adding a
> qemu_devices_reset() call to *-user) than having a fake
> qemu_register_reset() function and having to use a different API to
> reset the CPUs on on *-user.
cf the pretty nasty stuff in linux-user/main.c which currently
calls cpu_reset() but only for some targets.
-- PMM
- [Qemu-devel] [PATCH v5 22/24] qdev-properties.c: separate core from the code used only by qemu-system-*, (continued)
[Qemu-devel] [PATCH 08/24] vnc-palette.h: include <stdbool.h>, Eduardo Habkost, 2012/11/09
[Qemu-devel] [PATCH 09/24] ui/vnc-pallete.c: include headers it needs, Eduardo Habkost, 2012/11/09