[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] 回复: Re: 回复: Re: W hich part of qemu responds to ACPI contr
From: |
bobooscar |
Subject: |
[Qemu-devel] 回复: Re: 回复: Re: W hich part of qemu responds to ACPI control method? |
Date: |
Thu, 04 Jul 2013 14:05:43 +0800 |
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 <address@hidden>
日期: 2013-07-03 16:01 (GMT+08:00)
收件人: bobooscar <address@hidden>
抄送: address@hidden
主题: 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
- [Qemu-devel] 回复: Re: 回复: Re: W hich part of qemu responds to ACPI control method?,
bobooscar <=