tools/xenstored: Dump delayed requests
authorJulien Grall <jgrall@amazon.com>
Thu, 24 Jun 2021 11:12:54 +0000 (12:12 +0100)
committerJulien Grall <jgrall@amazon.com>
Thu, 24 Jun 2021 11:12:54 +0000 (12:12 +0100)
commit54f73e6fc6ef3fbd287cd030fb70d43f8f92244d
treecd2010c6cc80dc07fabbf2e56b9dd74e8bbee3e6
parent76a0aa9c4d7a9fc6fee1158fd9df82ae9b8b605d
tools/xenstored: Dump delayed requests

Currently, only Live-Update request can be delayed. In a follow-up,
we will want to delay more requests (e.g. transaction start).
Therefore we want to preserve delayed requests across Live-Update.

Delayed requests are just complete "in" buffer. So the code is
refactored to allow sharing the code to dump "in" buffer.

Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Luca Fancellu <luca.fancellu@arm.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
tools/xenstore/xenstored_core.c