libxc/migration: Adjust layout of struct xc_sr_context
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 19 Dec 2019 21:19:35 +0000 (21:19 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 16 Jan 2020 15:17:08 +0000 (15:17 +0000)
commitb663b30c21466b919046cfc0187f086df19e0368
treec82eaca579fccbf5c92a529ff3757045a86187d8
parent321b658847a06417b6a0b6964e939ed0ecf16551
libxc/migration: Adjust layout of struct xc_sr_context

We are shortly going to want to introduce some common x86 fields, so having
x86_pv and x86_hvm as the top level objects is a problem.  Insert a
surrounding struct x86 and drop the x86 prefix from the pv/hvm objects.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_sr_common.h
tools/libxc/xc_sr_common_x86_pv.c
tools/libxc/xc_sr_common_x86_pv.h
tools/libxc/xc_sr_restore_x86_hvm.c
tools/libxc/xc_sr_restore_x86_pv.c
tools/libxc/xc_sr_save_x86_hvm.c
tools/libxc/xc_sr_save_x86_pv.c