[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH RFC 02/04] tools/libxc: arm: Add missing save ops
Add arm_check_vm_state function, .check_vm_state can not be NULL in arch specific ops. Signed-off-by: Chenxiao Zhao <chenxiao.zhao@xxxxxxxxx> diff --git a/tools/libxc/xc_sr_save_arm.c b/tools/libxc/xc_sr_save_arm.c index 1442679..611f99a 100644 --- a/tools/libxc/xc_sr_save_arm.c +++ b/tools/libxc/xc_sr_save_arm.c @@ -161,6 +161,12 @@ static int arm_cleanup(struct xc_sr_context *ctx) return 0; } +static int arm_check_vm_state(struct xc_sr_context *ctx) +{ + /* no-op */ + return 0; +} + struct xc_sr_save_ops save_ops_arm = { .pfn_to_gfn = arm_pfn_to_gfn, @@ -169,6 +175,7 @@ struct xc_sr_save_ops save_ops_arm = .start_of_stream = arm_start_of_stream, .start_of_checkpoint = arm_start_of_checkpoint, .end_of_checkpoint = arm_end_of_checkpoint, + .check_vm_state = arm_check_vm_state, .cleanup = arm_cleanup, }; _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |