]> xenbits.xensource.com Git - mini-os.git/commit
Save/Restore Support: Add suspend/restore support for xenbus
authorBruno Alvisio <bruno.alvisio@gmail.com>
Mon, 11 Dec 2017 16:21:48 +0000 (08:21 -0800)
committerWei Liu <wei.liu2@citrix.com>
Wed, 21 Mar 2018 09:16:49 +0000 (09:16 +0000)
commit973ad0c4de1b48f0e9d65ca26aec603e3166e3df
tree3413506a60f72b5d3769d4e9a8941c6844eb7084
parent8e9d16af97d4a284f378eff73d98e85eef6dcfb1
Save/Restore Support: Add suspend/restore support for xenbus

Currently the watch path is not saved in the watch struct when it is registered.
During xenbus resume the path is needed so that the watches can be registered again.
Thus, 'path' field is added to struct watch so that watches can be re-registered
during xenbus resume.

Signed-off-by: Bruno Alvisio <bruno.alvisio@gmail.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
include/xenbus.h
kernel.c
xenbus/xenbus.c