diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-07-24 18:56:10 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-10-14 17:48:52 +0300 |
commit | 6f1426ab0fad715bccbad60e976ebf420442006c (patch) | |
tree | ad6fdb207a2d4994561592ac61263111b6a4dc6d /include/hw/acpi | |
parent | 277e9340e6a1b0a0e8e988d2f0ac82b18b695c0b (diff) | |
download | qemu-6f1426ab0fad715bccbad60e976ebf420442006c.tar.gz qemu-6f1426ab0fad715bccbad60e976ebf420442006c.tar.bz2 qemu-6f1426ab0fad715bccbad60e976ebf420442006c.zip |
ich9: APIs for pc guest info
This adds APIs that will be used to fill in
acpi tables, implemented using QOM,
to various ich9 components.
Some information is still missing in QOM,
so we fall back on lookups by type instead.
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/acpi')
-rw-r--r-- | include/hw/acpi/ich9.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/acpi/ich9.h b/include/hw/acpi/ich9.h index b1fe71faf5..82fcf9f2eb 100644 --- a/include/hw/acpi/ich9.h +++ b/include/hw/acpi/ich9.h @@ -49,4 +49,6 @@ void ich9_pm_init(PCIDevice *lpc_pci, ICH9LPCPMRegs *pm, void ich9_pm_iospace_update(ICH9LPCPMRegs *pm, uint32_t pm_io_base); extern const VMStateDescription vmstate_ich9_pm; +void ich9_pm_add_properties(Object *obj, ICH9LPCPMRegs *pm, Error **errp); + #endif /* HW_ACPI_ICH9_H */ |