]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen: Add xs_node_read() helper function
authorDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 10 Jan 2025 09:35:30 +0000 (10:35 +0100)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 10 Jan 2025 09:46:11 +0000 (09:46 +0000)
commit170f1d10366849c81bafc530d1d39993eb0b3465
tree93ef146727a7eae80fa985b0d88dc2c2cb6f9a2a
parentbc6afa1c711da5b4f37c9685a812c77b114d84cb
hw/xen: Add xs_node_read() helper function

This returns the full contents of the node, having created the node path
from the printf-style format string provided in its arguments.

This will save various callers from having to do so for themselves (and
from using xs_node_scanf() with the non-portable %ms format string.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
[remove double newline and constify trace parameters]
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
hw/xen/trace-events
hw/xen/xen-bus-helper.c
include/hw/xen/xen-bus-helper.h