qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* ACPI table modifications
@ 2019-10-11 18:47 Gautam Bhat
  2019-10-11 19:22 ` Philippe Mathieu-Daudé
  2019-10-17 15:32 ` Igor Mammedov
  0 siblings, 2 replies; 4+ messages in thread
From: Gautam Bhat @ 2019-10-11 18:47 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

Hi,

I want to add some I2C based temperature sensors to the -M Q35 machine. I
want to update the ACPI tables to add this device information. How can I go
about  doing this?

Thanks,
Gautam.

[-- Attachment #2: Type: text/html, Size: 653 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ACPI table modifications
  2019-10-11 18:47 ACPI table modifications Gautam Bhat
@ 2019-10-11 19:22 ` Philippe Mathieu-Daudé
  2019-10-14 22:27   ` Corey Minyard
  2019-10-17 15:32 ` Igor Mammedov
  1 sibling, 1 reply; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-10-11 19:22 UTC (permalink / raw)
  To: Gautam Bhat, qemu-devel, Michael S. Tsirkin, Igor Mammedov; +Cc: Paolo Bonzini

Hi Gautam,

On 10/11/19 8:47 PM, Gautam Bhat wrote:
> Hi,
> 
> I want to add some I2C based temperature sensors to the -M Q35 machine. 
> I want to update the ACPI tables to add this device information. How can 
> I go about  doing this?

QEMU provides a MAINTAINERS file with persons to contact sorted by 
topics (I Cc'ed in this reply).

This is the relevant ACPI section, it also lists the files you might 
look at:

ACPI/SMBIOS
M: Michael S. Tsirkin
M: Igor Mammedov
S: Supported
F: include/hw/acpi/*
F: include/hw/firmware/smbios.h
F: hw/mem/*
F: hw/acpi/*
F: hw/smbios/*
F: hw/i386/acpi-build.[hc]
F: hw/arm/virt-acpi-build.c
F: tests/bios-tables-test.c
F: tests/acpi-utils.[hc]
F: tests/data/acpi/

Eventually the bios-tables-test.c file is a good starting point.

Regards,

Phil.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ACPI table modifications
  2019-10-11 19:22 ` Philippe Mathieu-Daudé
@ 2019-10-14 22:27   ` Corey Minyard
  0 siblings, 0 replies; 4+ messages in thread
From: Corey Minyard @ 2019-10-14 22:27 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: Gautam Bhat, Igor Mammedov, Paolo Bonzini, qemu-devel,
	Michael S. Tsirkin

On Fri, Oct 11, 2019 at 09:22:19PM +0200, Philippe Mathieu-Daudé wrote:
> Hi Gautam,
> 
> On 10/11/19 8:47 PM, Gautam Bhat wrote:
> > Hi,
> > 
> > I want to add some I2C based temperature sensors to the -M Q35 machine.
> > I want to update the ACPI tables to add this device information. How can
> > I go about  doing this?

FYI, I just added the SMB ACPI entry to q35, change:

  ebe15582cafeb "pc: Add an SMB0 ACPI device to q35"

I did this for IPMI, but it should be easy to add your own entries
the same way.

-corey

> 
> QEMU provides a MAINTAINERS file with persons to contact sorted by topics (I
> Cc'ed in this reply).
> 
> This is the relevant ACPI section, it also lists the files you might look
> at:
> 
> ACPI/SMBIOS
> M: Michael S. Tsirkin
> M: Igor Mammedov
> S: Supported
> F: include/hw/acpi/*
> F: include/hw/firmware/smbios.h
> F: hw/mem/*
> F: hw/acpi/*
> F: hw/smbios/*
> F: hw/i386/acpi-build.[hc]
> F: hw/arm/virt-acpi-build.c
> F: tests/bios-tables-test.c
> F: tests/acpi-utils.[hc]
> F: tests/data/acpi/
> 
> Eventually the bios-tables-test.c file is a good starting point.
> 
> Regards,
> 
> Phil.
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ACPI table modifications
  2019-10-11 18:47 ACPI table modifications Gautam Bhat
  2019-10-11 19:22 ` Philippe Mathieu-Daudé
@ 2019-10-17 15:32 ` Igor Mammedov
  1 sibling, 0 replies; 4+ messages in thread
From: Igor Mammedov @ 2019-10-17 15:32 UTC (permalink / raw)
  To: Gautam Bhat; +Cc: qemu-devel

On Sat, 12 Oct 2019 00:17:10 +0530
Gautam Bhat <mindentropy@gmail.com> wrote:

> Hi,
> 
> I want to add some I2C based temperature sensors to the -M Q35 machine. I
> want to update the ACPI tables to add this device information. How can I go
> about  doing this?

Process is described here:
   https://www.mail-archive.com/qemu-devel@nongnu.org/msg650066.html


> 
> Thanks,
> Gautam.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-17 16:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-11 18:47 ACPI table modifications Gautam Bhat
2019-10-11 19:22 ` Philippe Mathieu-Daudé
2019-10-14 22:27   ` Corey Minyard
2019-10-17 15:32 ` Igor Mammedov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).