[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 1/6] i2c: support address ranges
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v1 1/6] i2c: support address ranges |
Date: |
Wed, 20 Feb 2013 08:27:17 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
Il 20/02/2013 06:29, Peter Crosthwaite ha scritto:
> @@ -192,12 +197,13 @@ static int i2c_slave_post_load(void *opaque, int
> version_id)
>
> const VMStateDescription vmstate_i2c_slave = {
> .name = "I2CSlave",
> - .version_id = 1,
> - .minimum_version_id = 1,
> - .minimum_version_id_old = 1,
> + .version_id = 2,
> + .minimum_version_id = 2,
> + .minimum_version_id_old = 2,
> .post_load = i2c_slave_post_load,
> .fields = (VMStateField []) {
> VMSTATE_UINT8(address, I2CSlave),
> + VMSTATE_UINT8(address_range, I2CSlave),
> VMSTATE_END_OF_LIST()
Properties do not need to be serialized.
Paolo
- [Qemu-devel] [PATCH v1 0/6] Xilinx Zynq I2C, Peter Crosthwaite, 2013/02/20
- [Qemu-devel] [PATCH v1 2/6] i2c: Add no_init version of i2c_create_slave, Peter Crosthwaite, 2013/02/20
- [Qemu-devel] [PATCH v1 3/6] cadence_i2c: first revision, Peter Crosthwaite, 2013/02/20
- [Qemu-devel] [PATCH v1 4/6] hw: M24Cxx I2C EEPROM device model, Peter Crosthwaite, 2013/02/20
- [Qemu-devel] [PATCH v1 5/6] hw: pca9548: Device model, Peter Crosthwaite, 2013/02/20
- [Qemu-devel] [PATCH v1 6/6] xilinx_zynq: Add i2c components, Peter Crosthwaite, 2013/02/20