[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 02/15] ssi: Added VMSD stub
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH v5 02/15] ssi: Added VMSD stub |
Date: |
Mon, 6 Aug 2012 10:15:13 +0100 |
On 6 August 2012 10:13, Peter Maydell <address@hidden> wrote:
> On 6 August 2012 03:16, Peter A. G. Crosthwaite
> <address@hidden> wrote:
>> Added VMSD stub for SSI slaves. Fields may be added to this VMSD for generic
>> SSI slave state (e.g. the CS line state).
>
> This is more me being confused about how this should work than a
> review comment, but it seems a bit odd that we have a hierarchy
> Device->SSI->ADS7846[etc], where the VMState for the ADS7846
> includes a field for the SSI VMState, but the SSI VMState doesn't
> include a field for the Device VMState.
>
> What you've done here matches how i2c works currently, but I've
> just cc'd Anthony and Juan to check whether there's a better way
> of doing it.
Oh, and just to mention the obvious, if we add fields to these
vmstates we need to bump the version numbers.
-- PMM
- [Qemu-devel] [PATCH v5 00/15] Ehnahced SSI bus support + M25P80 SPI flash + Xilinx SPI controller, Peter A. G. Crosthwaite, 2012/08/05
- [Qemu-devel] [PATCH v5 01/15] ssi: Support for multiple attached devices, Peter A. G. Crosthwaite, 2012/08/05
- [Qemu-devel] [PATCH v5 02/15] ssi: Added VMSD stub, Peter A. G. Crosthwaite, 2012/08/05
- [Qemu-devel] [PATCH v5 03/15] ssi: Implemented CS behaviour, Peter A. G. Crosthwaite, 2012/08/05
- [Qemu-devel] [PATCH v5 04/15] ssi: Added create_slave_no_init(), Peter A. G. Crosthwaite, 2012/08/05
- [Qemu-devel] [PATCH v5 05/15] qdev: allow multiple qdev_init_gpio_in() calls, Peter A. G. Crosthwaite, 2012/08/05