Revision 639f49b6 hw/hw.h

b/hw/hw.h
629 629
    .offset     = vmstate_offset_value(_state, _field, PCIDevice),   \
630 630
}
631 631

  
632
#define VMSTATE_PCI_DEVICE_POINTER(_field, _state) {                 \
633
    .name       = (stringify(_field)),                               \
634
    .size       = sizeof(PCIDevice),                                 \
635
    .vmsd       = &vmstate_pci_device,                               \
636
    .flags      = VMS_STRUCT|VMS_POINTER,                            \
637
    .offset     = vmstate_offset_pointer(_state, _field, PCIDevice), \
638
}
639

  
632 640
extern const VMStateDescription vmstate_pcie_device;
633 641

  
634 642
#define VMSTATE_PCIE_DEVICE(_field, _state) {                        \

Also available in: Unified diff