)]}'
{
  "commit": "72c194f7e75cb64b2558111cb111adb49fbf4097",
  "tree": "91ff4842d81d366f01d1a484ebf70f19a85a5945",
  "parents": [
    "1a4b2666dfbd6fbd9b5623a8e0ed6035cd0854fe"
  ],
  "author": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Wed Jul 24 18:56:14 2013 +0300"
  },
  "committer": {
    "name": "Michael S. Tsirkin",
    "email": "mst@redhat.com",
    "time": "Mon Oct 14 17:48:57 2013 +0300"
  },
  "message": "i386: ACPI table generation code from seabios\n\nThis adds C code for generating ACPI tables at runtime,\nimported from seabios git tree\n    commit 51684b7ced75fb76776e8ee84833fcfb6ecf12dd\n\nAlthough ACPI tables come from a system BIOS on real hw,\nit makes sense that the ACPI tables are coupled with the\nvirtual machine, since they have to abstract the x86 machine to\nthe OS\u0027s.\n\nThis is widely desired as a way to avoid the churn\nand proliferation of QEMU-specific interfaces\nassociated with ACPI tables in bios code.\n\nNotes:\nAs BIOS can reprogram devices prior to loading\nACPI tables, we pre-format ACPI tables but defer loading\nhardware configuration there until tables are loaded.\n\nThe code structure was intentionally kept as close\nto the seabios original as possible, to simplify\ncomparison and making sure we didn\u0027t lose anything\nin translation.\n\nMinor code duplication results, to help ensure there are no functional\nregressions, I think it\u0027s better to merge it like this and do more code\nchanges in follow-up patches.\n\nCross-version compatibility concerns have been addressed:\n    ACPI tables are exposed to guest as FW_CFG entries.\n    When running with -M 1.5 and older, this patch disables ACPI\n    table generation, and doesn\u0027t expose ACPI\n    tables to guest.\n\n    As table content is likely to change over time,\n    the following measures are taken to simplify\n    cross-version migration:\n    - All tables besides the RSDP are packed in a single FW CFG entry.\n      This entry size is currently 23K. We round it up to 64K\n      to avoid too much churn there.\n    - Tables are placed in special ROM blob (not mapped into guest memory)\n      which is automatically migrated together with the guest, same\n      as BIOS code.\n    - Offsets where hardware configuration is loaded in ACPI tables\n      are also migrated, this is in case future ACPI changes make us\n      rearrange the tables in memory.\n\nThis patch reuses some code from SeaBIOS, which was originally under\nLGPLv2 and then relicensed to GPLv3 or LGPLv3, in QEMU under GPLv2+. This\nrelicensing has been acked by all contributors that had contributed to the\ncode since the v2-\u003ev3 relicense. ACKs approving the v2+ relicensing are\nlisted below. The list might include ACKs from people not holding\ncopyright on any parts of the reused code, but it\u0027s better to err on the\nside of caution and include them.\n\nAffected SeaBIOS files (GPLv2+ license headers added)\n\u003chttp://thread.gmane.org/gmane.comp.bios.coreboot.seabios/5949\u003e:\n\n src/acpi-dsdt-cpu-hotplug.dsl\n src/acpi-dsdt-dbug.dsl\n src/acpi-dsdt-hpet.dsl\n src/acpi-dsdt-isa.dsl\n src/acpi-dsdt-pci-crs.dsl\n src/acpi.c\n src/acpi.h\n src/ssdt-misc.dsl\n src/ssdt-pcihp.dsl\n src/ssdt-proc.dsl\n tools/acpi_extract.py\n tools/acpi_extract_preprocess.py\n\nEach one of the listed people agreed to the following:\n\n\u003e If you allow the use of your contribution in QEMU under the\n\u003e terms of GPLv2 or later as proposed by this patch,\n\u003e please respond to this mail including the line:\n\u003e\n\u003e Acked-by: Name \u003cemail address\u003e\n\n  Acked-by: Gerd Hoffmann \u003ckraxel@redhat.com\u003e\n  Acked-by: Jan Kiszka \u003cjan.kiszka@siemens.com\u003e\n  Acked-by: Jason Baron \u003cjbaron@akamai.com\u003e\n  Acked-by: David Woodhouse \u003cDavid.Woodhouse@intel.com\u003e\n  Acked-by: Gleb Natapov \u003cgleb@redhat.com\u003e\n  Acked-by: Marcelo Tosatti \u003cmtosatti@redhat.com\u003e\n  Acked-by: Dave Frodin \u003cdave.frodin@se-eng.com\u003e\n  Acked-by: Paolo Bonzini \u003cpbonzini@redhat.com\u003e\n  Acked-by: Kevin O\u0027Connor \u003ckevin@koconnor.net\u003e\n  Acked-by: Laszlo Ersek \u003clersek@redhat.com\u003e\n  Acked-by: Kenji Kaneshige \u003ckaneshige.kenji@jp.fujitsu.com\u003e\n  Acked-by: Isaku Yamahata \u003cyamahata@valinux.co.jp\u003e\n  Acked-by: Magnus Christensson \u003cmagnus.christensson@intel.com\u003e\n  Acked-by: Hu Tao \u003chutao@cn.fujitsu.com\u003e\n  Acked-by: Eduardo Habkost \u003cehabkost@redhat.com\u003e\n\nReviewed-by: Gerd Hoffmann \u003ckraxel@redhat.com\u003e\nTested-by: Gerd Hoffmann \u003ckraxel@redhat.com\u003e\nReviewed-by: Igor Mammedov \u003cimammedo@redhat.com\u003e\nTested-by: Igor Mammedov \u003cimammedo@redhat.com\u003e\nSigned-off-by: Michael S. Tsirkin \u003cmst@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b9ca3803c1bf964b12270ca1a180539766e79058",
      "old_mode": 33188,
      "old_path": "hw/i386/Makefile.objs",
      "new_id": "185aacbc69e8be578a4970287e1b762e09b9b09f",
      "new_mode": 33188,
      "new_path": "hw/i386/Makefile.objs"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6cfa0446acf6776204f0ae5274846203238c2d19",
      "new_mode": 33188,
      "new_path": "hw/i386/acpi-build.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e57b1aafdc15f58aabd873fe7adc79f6ee3ac97b",
      "new_mode": 33188,
      "new_path": "hw/i386/acpi-build.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "78ca20489fa169680a8f63adab2b45051d12ccee",
      "new_mode": 33188,
      "new_path": "hw/i386/acpi-defs.h"
    },
    {
      "type": "modify",
      "old_id": "f8a3f0b45a73bfd7f1dd2716d723d8e8e717ad90",
      "old_mode": 33188,
      "old_path": "hw/i386/pc.c",
      "new_id": "a51f916e9491d70ce980de0f76a6365ee3e37d8c",
      "new_mode": 33188,
      "new_path": "hw/i386/pc.c"
    },
    {
      "type": "modify",
      "old_id": "907792b7211454a77c465bb725533352b555bb03",
      "old_mode": 33188,
      "old_path": "hw/i386/pc_piix.c",
      "new_id": "63ae2ae859a935b62e82c503dd186e847a600bd8",
      "new_mode": 33188,
      "new_path": "hw/i386/pc_piix.c"
    },
    {
      "type": "modify",
      "old_id": "ca84e1c04ceb38c4c94a0406aa367059395956d7",
      "old_mode": 33188,
      "old_path": "hw/i386/pc_q35.c",
      "new_id": "4c191d3b425ee289cde44e982bcd9fa7ad2d2851",
      "new_mode": 33188,
      "new_path": "hw/i386/pc_q35.c"
    },
    {
      "type": "modify",
      "old_id": "e3ee0a81f1e73c8f813cc730d278ce07c2f2cc5d",
      "old_mode": 33188,
      "old_path": "include/hw/i386/pc.h",
      "new_id": "39db8cbbff8b6b706313f605d97d455d3e9c1622",
      "new_mode": 33188,
      "new_path": "include/hw/i386/pc.h"
    }
  ]
}
