diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-01-26 12:01:31 +0000 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-02-15 11:29:04 +0300 |
commit | 02d9979ba8f0bc504be36860969c6c6921816841 (patch) | |
tree | cfb1cfc993a4c3591706bc77d5898d455a8b5807 /tests/qtest | |
parent | 47df9ca585cbc1c14f197af1a05a236a3fad9920 (diff) | |
download | qemu-02d9979ba8f0bc504be36860969c6c6921816841.zip qemu-02d9979ba8f0bc504be36860969c6c6921816841.tar.gz qemu-02d9979ba8f0bc504be36860969c6c6921816841.tar.bz2 |
hw/i386: Fix _STA return value for ACPI0017
Found whilst testing a series for the linux kernel that actually
bothers to check if enabled is set. 0xB is the option used
for vast majority of DSDT entries in QEMU.
It is a little odd for a device that doesn't really exist and
is simply a hook to tell the OS there is a CEDT table but 0xB
seems a reasonable choice and avoids need to special case
this device in the OS.
Means:
* Device present.
* Device enabled and decoding it's resources.
* Not shown in UI
* Functioning properly
* No battery (on this device!)
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-Id: <20240126120132.24248-12-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit d9ae5802f656f6fb53b788747ba557a826b6e740)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tests/qtest')
0 files changed, 0 insertions, 0 deletions