> -----Original Message----- > From: Markus Armbruster <arm...@redhat.com> > Sent: 20 April 2020 09:33 > To: qemu-devel@nongnu.org > Cc: Stefano Stabellini <sstabell...@kernel.org>; Anthony Perard > <anthony.per...@citrix.com>; Paul > Durrant <p...@xen.org>; xen-de...@lists.xenproject.org > Subject: [PATCH 09/11] 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 <sstabell...@kernel.org> > Cc: Anthony Perard <anthony.per...@citrix.com> > Cc: Paul Durrant <p...@xen.org> > Cc: xen-de...@lists.xenproject.org > Signed-off-by: Markus Armbruster <arm...@redhat.com>
Reviewed-by: Paul Durrant <p...@xen.org>