On 25 January 2012 17:04, Andreas Färber wrote:
> Am 25.01.2012 17:35, schrieb Peter Maydell:
>>
>> You need to bump .version_id and make your new fields
>> VMSTATE_UINT32(write_word_prev_offset, lan9118_state, 2),
>
> VMSTATE_UINT32_V(write_word_prev_offset, lan9118_state, 2),
Doh, yes.
-
Am 25.01.2012 17:35, schrieb Peter Maydell:
> On 20 January 2012 10:53, Evgeny Voevodin wrote:
>> @@ -294,6 +304,14 @@ static const VMStateDescription vmstate_lan9118 = {
>> VMSTATE_INT32(rxp_offset, lan9118_state),
>> VMSTATE_INT32(rxp_size, lan9118_state),
>> VMSTATE_INT3
On 20 January 2012 10:53, Evgeny Voevodin wrote:
> @@ -294,6 +304,14 @@ static const VMStateDescription vmstate_lan9118 = {
> VMSTATE_INT32(rxp_offset, lan9118_state),
> VMSTATE_INT32(rxp_size, lan9118_state),
> VMSTATE_INT32(rxp_pad, lan9118_state),
> + VMSTATE_UINT
Signed-off-by: Evgeny Voevodin
---
hw/lan9118.c | 122 +++--
1 files changed, 117 insertions(+), 5 deletions(-)
diff --git a/hw/lan9118.c b/hw/lan9118.c
index 9b199d0..d5e1551 100644
--- a/hw/lan9118.c
+++ b/hw/lan9118.c
@@ -235,6 +235,16 @@