]> Git Repo - qemu.git/commit
target/ppc/spapr_caps: Add macro to generate spapr_caps migration vmstate
authorSuraj Jitindar Singh <[email protected]>
Fri, 19 Jan 2018 05:00:00 +0000 (16:00 +1100)
committerDavid Gibson <[email protected]>
Sat, 20 Jan 2018 06:15:05 +0000 (17:15 +1100)
commit1f63ebaa91f73f469c8f107dbd266cabdbea3a40
treee4f8dba2c9bbf5ff3cca9fb77789a0df494e77b0
parent7af1e7b022641e4cc330a75ab50fa64683fe4847
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 <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ppc/spapr_caps.c
This page took 0.022885 seconds and 4 git commands to generate.