qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] 回复: Re: 回复: Re:  Which part of qemu responds to ACPI control method?
@ 2013-07-04  6:05 bobooscar
  2013-07-04 10:06 ` Laszlo Ersek
  0 siblings, 1 reply; 2+ messages in thread
From: bobooscar @ 2013-07-04  6:05 UTC (permalink / raw)
  To: Laszlo Ersek; +Cc: qemu-devel

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

Thank you laszlo. however, after I got DSDT.dsl, I found that there is no “_PTS” method, even if “_TTS” “_GTS”.  
Then I go through all the acpi tables, still found no PTS/TTS methods:
    acpidump > acpidump.out
    acpixtract -a acpidump.out
    for file in `ls |grep dat`; do iasl -a $file; done

The guest os is redhat 6.1 hvm.

What does that mean? Does that mean this OS does not support sleep/wakeup(suspend/resume) with acpi? What caused this problem? Does that have anything to do with qemu? (I tried to add logs in hwsleep.c:acpi_enter_sleep_mode in the guest kernel code, and found that the os does not get here)

Thank you!


已从三星手机发送

-------- 原始邮件 --------
发件人: Laszlo Ersek <lersek@redhat.com> 
日期: 2013-07-03  16:01  (GMT+08:00) 
收件人: bobooscar <bobooscar@gmail.com> 
抄送: qemu-devel@nongnu.org 
主题: Re: 回复: Re: [Qemu-devel] Which part of qemu responds to ACPI control method? 
 
On 07/03/13 04:14, bobooscar wrote:
> Take the method “_PTS” for example, how could I know how it access a
> certain hardware, and what hardware it accesses? I am a newbie in this
> field, thanks in advance;)

In "POSIX-like" guests, you can dump the ACPI tables with the "acpidump"
utility (pmtools package), eg.

  acpidump --table DSDT --output DSDT.aml --binary

then decompile it with "iasl":

  iasl -d DSDT.aml

This creates "DSDT.dsl", a decompiled ACPI Source Language file. You can
interpret it by consulting the ACPI specification
<http://www.acpi.info/spec50.htm>.

Laszlo

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

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

end of thread, other threads:[~2013-07-04 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-04  6:05 [Qemu-devel] 回复: Re: 回复: Re: Which part of qemu responds to ACPI control method? bobooscar
2013-07-04 10:06 ` Laszlo Ersek

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).