aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python/xen/lowlevel/checkpoint/checkpoint.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/python/xen/lowlevel/checkpoint/checkpoint.c')
-rw-r--r--tools/python/xen/lowlevel/checkpoint/checkpoint.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/python/xen/lowlevel/checkpoint/checkpoint.c b/tools/python/xen/lowlevel/checkpoint/checkpoint.c
index 6ffb1676fc..9170778187 100644
--- a/tools/python/xen/lowlevel/checkpoint/checkpoint.c
+++ b/tools/python/xen/lowlevel/checkpoint/checkpoint.c
@@ -155,6 +155,7 @@ static PyObject* pycheckpoint_start(PyObject* obj, PyObject* args) {
} else
self->checkpoint_cb = NULL;
+ memset(&callbacks, 0, sizeof(callbacks));
callbacks.suspend = suspend_trampoline;
callbacks.postcopy = postcopy_trampoline;
callbacks.checkpoint = checkpoint_trampoline;