The following set of patches have been generated according to the guidelines 
provided in the
header comment in the file tests/qtest/bios-tables-test.c.

The first patch documents that a new ACPI table binary blob has been added. The 
new file is
listed in file tests/qtest/bios-tables-test-allowed-diff.h.

The second patch is the actual unit test.

The third patch actually adds the new ACPI table blob and then clears the file
tests/qtest/bios-tables-test-allowed-diff.h.

The unit test has been tested on the top of upstream master qemu tree  v5.1.0 
tag. I have not
tested this patch on the latest upstream master branch HEAD because there seems 
to be an issue
with the latest upstream tip with qemu crashing consistently.

Thanks to Igor for pushing on this.

--Ani

Ani Sinha (3):
  tests/acpi: document addition of table DSDT.roothp for unit testing
    root pci hotplug on/off
  tests/acpi: add a new unit test to test hotplug off/on feature on the
    root pci bus
  tests/acpi: add a new ACPI table in order to test root pci hotplug
    on/off

 tests/data/acpi/pc/DSDT.roothp | Bin 0 -> 3215 bytes
 tests/qtest/bios-tables-test.c |  14 ++++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 tests/data/acpi/pc/DSDT.roothp

-- 
2.17.1


Reply via email to