Re: [PATCH 3/3] backends/tpm: Propagate vTPM error on migration failure

2025-07-02 Thread Arun Menon
Hi Marc-André, Thank you for the review. On Tue, Jul 01, 2025 at 04:21:23PM +0400, Marc-André Lureau wrote: > Hi > > On Tue, Jun 24, 2025 at 4:26 PM Arun Menon wrote: > > > > - Introduce a new post_load_with_error() hook that will > > take in the Error object as a parameter. > > You should m

Re: [PATCH 3/3] backends/tpm: Propagate vTPM error on migration failure

2025-07-01 Thread Marc-André Lureau
Hi On Tue, Jun 24, 2025 at 4:26 PM Arun Menon wrote: > > - Introduce a new post_load_with_error() hook that will > take in the Error object as a parameter. You should make this a different patch. I wonder if adding another callback is the right approach, as only one of the two is called. I wou

Re: [PATCH 3/3] backends/tpm: Propagate vTPM error on migration failure

2025-06-24 Thread Stefan Berger
On 6/24/25 8:23 AM, Arun Menon wrote: - Introduce a new post_load_with_error() hook that will take in the Error object as a parameter. - This error object is set if the loading of state fails. - The error can then be retrieved using QMP command {"execute" : "query-migrate"} Buglink: htt

[PATCH 3/3] backends/tpm: Propagate vTPM error on migration failure

2025-06-24 Thread Arun Menon
- Introduce a new post_load_with_error() hook that will take in the Error object as a parameter. - This error object is set if the loading of state fails. - The error can then be retrieved using QMP command {"execute" : "query-migrate"} Buglink: https://issues.redhat.com/browse/RHEL-82826 Sig