[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/5] integratorcp: convert integratorcm to VMSta
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 4/5] integratorcp: convert integratorcm to VMState |
Date: |
Wed, 26 Oct 2011 18:24:28 +0100 |
On 25 October 2011 12:09, Benoît Canet <address@hidden> wrote:
> +static const VMStateDescription vmstate_integratorcm = {
> + .name = "integratorcm",
> + .version_id = 1,
> + .minimum_version_id = 1,
> + .minimum_version_id_old = 1,
> + .fields = (VMStateField[]) {
> + VMSTATE_UINT32(memsz, integratorcm_state),
> + VMSTATE_BOOL(flash_mapped, integratorcm_state),
This raises a question. flash_mapped here is a flag which just
tracks whether the associated MemoryRegion is currently mapped
or unmapped. Do we need to do anything special to ensure that
the MemoryRegion itself is reset to the correct mapped/unmapped
state on restore?
I recall discussing this kind of thing with Avi on IRC but I
can't remember what the conclusion was.
-- PMM
- [Qemu-devel] [PATCH 0/5] arm: VMState conversion, Benoît Canet, 2011/10/25
- [Qemu-devel] [PATCH 1/5] pl181: add vmstate, Benoît Canet, 2011/10/25
- [Qemu-devel] [PATCH 2/5] bitbang_i2c: convert to VMState, Benoît Canet, 2011/10/25
- [Qemu-devel] [PATCH 3/5] realview: convert realview i2c to VMState, Benoît Canet, 2011/10/25
- [Qemu-devel] [PATCH 4/5] integratorcp: convert integratorcm to VMState, Benoît Canet, 2011/10/25
- Re: [Qemu-devel] [PATCH 4/5] integratorcp: convert integratorcm to VMState,
Peter Maydell <=
- [Qemu-devel] [PATCH 5/5] integratorcp: convert icp_pic to VMState, Benoît Canet, 2011/10/25