]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/xen: Add xs_node_read() helper function percentms
authorDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 10 Jan 2025 07:54:46 +0000 (07:54 +0000)
committerDavid Woodhouse <dwmw@amazon.co.uk>
Fri, 10 Jan 2025 08:20:25 +0000 (08:20 +0000)
commit23d4d064146afe865dfd2941d5de8e41b32e7382
tree7aa2962cfd9aa981797dbaeddc16768bf91840fa
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>
hw/xen/trace-events
hw/xen/xen-bus-helper.c
include/hw/xen/xen-bus-helper.h