qemu-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]