)]}'
{
  "commit": "c2d7faf713e04fc6b2d5b33d77cab0672c5bb30e",
  "tree": "96838f082ab7cc1b7fa002556b4dfa476bcc8756",
  "parents": [
    "7c8faaf2a4fa8ad2d291662ac7e7eeea1fe8d47c"
  ],
  "author": {
    "name": "Gavin Shan",
    "email": "gshan@redhat.com",
    "time": "Thu Jan 11 15:10:54 2024 +1000"
  },
  "committer": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Thu Jan 18 12:20:33 2024 +0000"
  },
  "message": "hw/arm/virt: Consolidate valid CPU types\n\nIt\u0027s found that some of the CPU type names in the array of valid\nCPU types are invalid because their corresponding classes aren\u0027t\nregistered, as reported by Peter Maydell.\n\n[gshan@gshan build]$ ./qemu-system-arm -machine virt -cpu cortex-a9\nqemu-system-arm: Invalid CPU model: cortex-a9\nThe valid models are: cortex-a7, cortex-a15, (null), (null), (null),\n(null), (null), (null), (null), (null), (null), (null), (null), max\n\nFix it by consolidating the array of valid CPU types. After it\u0027s\napplied, we have the following output when TCG is enabled.\n\n[gshan@gshan build]$ ./qemu-system-arm -machine virt -cpu cortex-a9\nqemu-system-arm: Invalid CPU model: cortex-a9\nThe valid models are: cortex-a7, cortex-a15, max\n\n[gshan@gshan build]$ ./qemu-system-aarch64 -machine virt -cpu cortex-a9\nqemu-system-aarch64: Invalid CPU model: cortex-a9\nThe valid models are: cortex-a7, cortex-a15, cortex-a35, cortex-a55,\ncortex-a72, cortex-a76, cortex-a710, a64fx, neoverse-n1, neoverse-v1,\nneoverse-n2, cortex-a53, cortex-a57, max\n\nResolves: https://gitlab.com/qemu-project/qemu/-/issues/2084\nReported-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\nSigned-off-by: Gavin Shan \u003cgshan@redhat.com\u003e\nReviewed-by: Cornelia Huck \u003ccohuck@redhat.com\u003e\nMessage-id: 20240111051054.83304-1-gshan@redhat.com\nFixes: fa8c617791 (\"hw/arm/virt: Check CPU type in machine_run_board_init()\")\nSigned-off-by: Gavin Shan \u003cgshan@redhat.com\u003e\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2793121cb41231493f49014f661bf1b58a03f6bb",
      "old_mode": 33188,
      "old_path": "hw/arm/virt.c",
      "new_id": "5cbc69dff8301632c1e176114cede0548ce64eaf",
      "new_mode": 33188,
      "new_path": "hw/arm/virt.c"
    }
  ]
}
