pc: acpi-build: generate pvpanic device description dynamically
commitcd61cb2e2c02c5c257a15a52b3d0616474e52997
authorIgor Mammedov <imammedo@redhat.com>
Wed, 18 Feb 2015 19:14:38 +0000 (18 19:14 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 26 Feb 2015 12:04:15 +0000 (26 13:04 +0100)
tree6d51077b45c20b5a9c3e11940e596607331a4df6
parentd5e5830f56452d857f9c26c06a886f09056482c1
pc: acpi-build: generate pvpanic device description dynamically

Drops AML template patching and allows to
save some space in SSDT if pvpanic device doesn't
exist by not including disabled device description
into SSDT. It also makes device description
smaller by replacing _STA method with named value
and dropping _INI method.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c
hw/i386/ssdt-misc.dsl