diff options
| author | Suraj Jitindar Singh <sjitindarsingh@gmail.com> | 2018-01-19 16:00:00 +1100 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2018-01-20 17:15:05 +1100 |
| commit | 1f63ebaa91f73f469c8f107dbd266cabdbea3a40 (patch) | |
| tree | e4f8dba2c9bbf5ff3cca9fb77789a0df494e77b0 /hw/virtio/virtio-bus.c | |
| parent | 7af1e7b022641e4cc330a75ab50fa64683fe4847 (diff) | |
| download | focaccia-qemu-1f63ebaa91f73f469c8f107dbd266cabdbea3a40.tar.gz focaccia-qemu-1f63ebaa91f73f469c8f107dbd266cabdbea3a40.zip | |
target/ppc/spapr_caps: Add macro to generate spapr_caps migration vmstate
The vmstate description and the contained needed function for migration of spapr_caps is the same for each cap, with the name of the cap substituted. As such introduce a macro to allow for easier generation of these. Convert the three existing spapr_caps (htm, vsx, and dfp) to use this macro. Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/virtio/virtio-bus.c')
0 files changed, 0 insertions, 0 deletions