)]}'
{
  "commit": "42e556fa3f7acfd0d0bc834dd0b002eb24d20eea",
  "tree": "941a67cc99091d93aa1a33a44e60d31d2e23b7d9",
  "parents": [
    "40de712a89d8fe26af398dd23c24e94834ca442b"
  ],
  "author": {
    "name": "Arun Menon",
    "email": "armenon@redhat.com",
    "time": "Thu Sep 18 20:53:44 2025 +0530"
  },
  "committer": {
    "name": "Peter Xu",
    "email": "peterx@redhat.com",
    "time": "Fri Oct 03 09:48:02 2025 -0400"
  },
  "message": "backends/tpm: Propagate vTPM error on migration failure\n\n- When migration of a VM with encrypted vTPM fails on the\n  destination host, (e.g., due to a mismatch in secret values),\n  the error message displayed on the source host is generic and unhelpful.\n- For example, a typical error looks like this:\n  \"operation failed: job \u0027migration out\u0027 failed: Sibling indicated error 1.\n  operation failed: job \u0027migration in\u0027 failed: load of migration failed:\n  Input/output error\"\n- Such generic errors are logged using error_report(), which prints to\n  the console/monitor but does not make the detailed error accessible via\n  the QMP query-migrate command.\n- This change, along with the set of changes of passing errp Error object\n  to the VM state loading functions, help in addressing the issue.\n  We use the post_load_errp hook of VMStateDescription to propagate errors\n  by setting Error **errp objects in case of failure in the TPM backend.\n- It can then be retrieved using QMP command:\n  {\"execute\" : \"query-migrate\"}\n\nBuglink: https://issues.redhat.com/browse/RHEL-82826\n\nReviewed-by: Stefan Berger \u003cstefanb@linux.ibm.com\u003e\nReviewed-by: Daniel P. Berrangé \u003cberrange@redhat.com\u003e\nReviewed-by: Fabiano Rosas \u003cfarosas@suse.de\u003e\nSigned-off-by: Arun Menon \u003carmenon@redhat.com\u003e\nTested-by: Fabiano Rosas \u003cfarosas@suse.de\u003e\nReviewed-by: Akihiko Odaki \u003codaki@rsg.ci.i.u-tokyo.ac.jp\u003e\nLink: https://lore.kernel.org/r/20250918-propagate_tpm_error-v14-27-36f11a6fb9d3@redhat.com\nSigned-off-by: Peter Xu \u003cpeterx@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4a234ab2c0b19b2604bf0dd8cb5f4540c72a9438",
      "old_mode": 33188,
      "old_path": "backends/tpm/tpm_emulator.c",
      "new_id": "dacfca5ab7eb0445ddc1ced97513068501b468bf",
      "new_mode": 33188,
      "new_path": "backends/tpm/tpm_emulator.c"
    }
  ]
}
