summaryrefslogtreecommitdiffstats
path: root/io
diff options
context:
space:
mode:
authorMarkus Armbruster2020-04-22 15:07:14 +0200
committerMarkus Armbruster2020-04-29 08:01:52 +0200
commitc61d1d9e4976d127a73bec14376d8e828491f62c (patch)
tree8e9fe34102140d08d8ad2fa8b4128c1708c2eb90 /io
parentvirtio-net: Fix duplex=... and speed=... error handling (diff)
downloadqemu-c61d1d9e4976d127a73bec14376d8e828491f62c.tar.gz
qemu-c61d1d9e4976d127a73bec14376d8e828491f62c.tar.xz
qemu-c61d1d9e4976d127a73bec14376d8e828491f62c.zip
xen/pt: Fix flawed conversion to realize()
The conversion of xen_pt_initfn() to xen_pt_realize() blindly replaced XEN_PT_ERR() by error_setg(). Several error conditions that did not fail xen_pt_initfn() now fail xen_pt_realize(). Unsurprisingly, the cleanup on these errors looks highly suspicious. Revert the inappropriate replacements. Fixes: 5a11d0f7549e24a10e178a9dc8ff5e698031d9a6 Cc: Stefano Stabellini <sstabellini@kernel.org> Cc: Anthony Perard <anthony.perard@citrix.com> Cc: Paul Durrant <paul@xen.org> Cc: xen-devel@lists.xenproject.org Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Paul Durrant <paul@xen.org> Message-Id: <20200422130719.28225-10-armbru@redhat.com>
Diffstat (limited to 'io')
0 files changed, 0 insertions, 0 deletions