Statistics
| Branch: | Revision:

root / tests @ 5e954943

Latest revisions

# Date Author Comment
5e954943 02/10/2014 10:27 am Igor Mammedov

hw/pci: switch to a generic hotplug handling for PCIDevice

make qdev_unplug()/device_set_realized() to call hotplug handler's
plug/unplug methods if available and remove not needed anymore
hot(un)plug handling from PCIDevice.

In case if hotplug handler is not available, revert to the legacy...

b8124cec 01/26/2014 01:11 pm Michael S. Tsirkin

acpi-test: update expected AML since recent changes

Signed-off-by: Michael S. Tsirkin <>

9e8458c0 01/26/2014 01:06 pm Marcel Apfelbaum

acpi unit-test: compare DSDT and SSDT tables against expected values

This test will run only if iasl is installed on the host machine.
The test plan:
1. Dumps the ACPI tables as AML on the disk.
2. Runs iasl to disassembly the tables into ASL files.
3. Runs iasl to disassembly the offline AML files into ASL files....

cc8fa0e8 01/26/2014 01:06 pm Marcel Apfelbaum

acpi unit-test: extract iasl executable from configuration

The test checked if iasl is installed by running "iasl"
and checking the error output.
It is better to use the iasl executable as appears
in configuration.

Signed-off-by: Marcel Apfelbaum <>...

cebc92a2 01/26/2014 01:06 pm Marcel Apfelbaum

acpi unit-test: added script to rebuild the expected aml files

Acpi unit-test will fail every time the acpi tables change.
This script rebuild the expected aml files, so the test
will pass. It also validates the modifications.

Signed-off-by: Marcel Apfelbaum <>...

4500bc98 01/26/2014 01:06 pm Marcel Apfelbaum

acpi unit-test: hook to rebuild expected aml files

When running the test with TEST_ACPI_REBUILD_AML=y environment
variable, the test will rebuild and validate the expected aml
files.

Signed-off-by: Marcel Apfelbaum <>
Signed-off-by: Michael S. Tsirkin <>

084137dd 01/26/2014 01:06 pm Alexey Kardashevskiy

tests: fix acpi to work on bigendian host

Double endianness convertion make this test failing on POWERPC machine
running in big-endian.

This fixes the test to success on big-endian host.

Signed-off-by: Alexey Kardashevskiy <>
Signed-off-by: Michael S. Tsirkin <>

a3a74ab9 01/26/2014 01:06 pm Marcel Apfelbaum

acpi unit-test: renamed ssdt_tables to tables

Just a refactoring, ssdt_tables name was confusing as
it included other tables as well.

Signed-off-by: Marcel Apfelbaum <>
Reviewed-by: Michael S. Tsirkin <>
Signed-off-by: Michael S. Tsirkin <>

69d09245 01/26/2014 01:06 pm Marcel Apfelbaum

acpi unit-test: resolved iasl crash

It seems that iasl has an issue when disassembles
some ACPI tables using the command line:
iasl -e DSDT -e SSDT -d HPET

Modified the iasl command line to "iasl -d HPET"
until the problem is solved. The command line
remained the same for DSDT and SSDT tables....

0651596c 01/26/2014 01:06 pm Marcel Apfelbaum

acpi unit-test: do not fail on asl mismatch

The asl comparison will break every time the ACPI
tables are updated. This may break the git bisect.
Instead of failing print a warning on stderr
including the retained asl files, so they can be
compared offline....

View revisions

Also available in: Atom