Re: [Qemu-devel] [PATCH] pc: cleanup and convert TMP ACPI device description to AML API

2015-06-21 Thread Michael S. Tsirkin
On Tue, Jun 09, 2015 at 06:40:48AM -0400, Stefan Berger wrote: > > + > > +if (misc->tpm_version != TPM_VERSION_UNSPEC) { > > +dev = aml_device("ISA.TPM"); > > +aml_append(dev, aml_name_decl("_HID", > > aml_eisaid("PNP0C31"))); > > +

Re: [Qemu-devel] [PATCH] pc: cleanup and convert TMP ACPI device description to AML API

2015-06-09 Thread Stefan Berger
Igor Mammedov wrote on 06/08/2015 11:31:53 PM: > From: Igor Mammedov > To: qemu-devel@nongnu.org > Cc: m...@redhat.com, Stefan Berger/Watson/IBM@IBMUS > Date: 06/08/2015 11:32 PM > Subject: [PATCH] pc: cleanup and convert TMP ACPI device descriptionto AML API > > remove some code duplication i

[Qemu-devel] [PATCH] pc: cleanup and convert TMP ACPI device description to AML API

2015-06-08 Thread Igor Mammedov
remove some code duplication in acpi-build.c and drop 5 ASL and binary blobs files with TPM ACPI device description, replacing them with 1 small hunk written in AML API. Signed-off-by: Igor Mammedov --- hw/i386/Makefile.objs | 3 +- hw/i386/acpi-build.c| 40 ++---