diff options
author | David Woodhouse <dwmw@amazon.co.uk> | 2025-01-15 15:46:06 +0000 |
---|---|---|
committer | David Woodhouse <dwmw@amazon.co.uk> | 2025-01-15 17:09:11 +0000 |
commit | 8b44a3e39f36540818d99ef8cf79e64bba1ed9c3 (patch) | |
tree | 499a2294611a728a8d8db22847c23629973b44cd /scripts/render_block_graph.py | |
parent | cd414c3f566fdbd98778c1c9a497428a80cd7fdd (diff) | |
download | qemu-8b44a3e39f36540818d99ef8cf79e64bba1ed9c3.zip qemu-8b44a3e39f36540818d99ef8cf79e64bba1ed9c3.tar.gz qemu-8b44a3e39f36540818d99ef8cf79e64bba1ed9c3.tar.bz2 |
hw/xen: Fix errp handling in xen_console
When attempting to read the 'output' node, interpret any error *other*
than ENOENT as a fatal error. For ENOENT, fall back to serial_hd() to
find a character device, or create a null device.
Do not attempt to prepend to errp when serial_hd() fails; the error
isn't relevant (and prior to this change, wasn't set anyway).
Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>
Diffstat (limited to 'scripts/render_block_graph.py')
0 files changed, 0 insertions, 0 deletions