* [Qemu-devel] 回复: Re: Which part of qemu responds to ACPI control method?
@ 2013-07-03 2:14 bobooscar
2013-07-03 8:01 ` Laszlo Ersek
0 siblings, 1 reply; 2+ messages in thread
From: bobooscar @ 2013-07-03 2:14 UTC (permalink / raw)
To: Laszlo Ersek; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 865 bytes --]
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;)
已从三星手机发送
-------- 原始邮件 --------
发件人: Laszlo Ersek <lersek@redhat.com>
日期: 2013-07-02 23:57 (GMT+08:00)
收件人: bobooscar <bobooscar@gmail.com>
抄送: qemu-devel@nongnu.org
主题: Re: [Qemu-devel] Which part of qemu responds to ACPI control method?
On 07/02/13 15:05, bobooscar wrote:
>
> Hi,all:
> When a guest domain excutes a control method, such as “_PTS”, which
> part of qemu would respond and handle the request? thank you in advance.
IMHO, like any other method, _PTS (Prepare To Sleep) is executed by the
guest's ACPI interpreter, and qemu responds only to the hardware
accesses that the method makes.
Laszlo
[-- Attachment #2: Type: text/html, Size: 1173 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] 回复: Re: Which part of qemu responds to ACPI control method?
2013-07-03 2:14 [Qemu-devel] 回复: Re: Which part of qemu responds to ACPI control method? bobooscar
@ 2013-07-03 8:01 ` Laszlo Ersek
0 siblings, 0 replies; 2+ messages in thread
From: Laszlo Ersek @ 2013-07-03 8:01 UTC (permalink / raw)
To: bobooscar; +Cc: qemu-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-03 7:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-03 2:14 [Qemu-devel] 回复: Re: Which part of qemu responds to ACPI control method? bobooscar
2013-07-03 8:01 ` 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).