diff options
author | Juan Quintela <quintela@redhat.com> | 2009-10-07 20:55:32 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:28:46 -0500 |
commit | 407a4f3073803a948843617239f1729faaeda23f (patch) | |
tree | 68103f93ef727b7c1cee29cc01de24e6fe7a4f66 /hw/ide/internal.h | |
parent | 44bfa332813a9dde9349fa52b1807706143d5d66 (diff) |
ide: port pci ide to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r-- | hw/ide/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h index a67e39f461..158146e39d 100644 --- a/hw/ide/internal.h +++ b/hw/ide/internal.h @@ -517,6 +517,9 @@ extern const VMStateDescription vmstate_ide_bus; #define VMSTATE_IDE_BUS(_field, _state) \ VMSTATE_STRUCT(_field, _state, 1, vmstate_ide_bus, IDEBus) +#define VMSTATE_IDE_BUS_ARRAY(_field, _state, _num) \ + VMSTATE_STRUCT_ARRAY(_field, _state, _num, 1, vmstate_ide_bus, IDEBus) + extern const VMStateDescription vmstate_ide_drive; #define VMSTATE_IDE_DRIVES(_field, _state) \ |