qemu/hw/i386
Jonathan Cameron 02d9979ba8 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 d9ae5802f6)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2024-02-15 11:29:04 +03:00
..
kvm hw/xen: add support for Xen primary console in emulated mode 2023-11-07 08:54:20 +00:00
xen xen-platform: unplug AHCI disks 2023-11-07 08:56:06 +00:00
acpi-build.c hw/i386: Fix _STA return value for ACPI0017 2024-02-15 11:29:04 +03:00
acpi-build.h
acpi-common.c hw/i386/acpi-build: Use pc_madt_cpu_entry() directly 2023-10-04 18:15:05 -04:00
acpi-common.h hw/i386/acpi-build: Use pc_madt_cpu_entry() directly 2023-10-04 18:15:05 -04:00
acpi-microvm.c hw/i386: changes towards enabling -Wshadow=local for x86 machines 2023-10-06 10:56:54 +02:00
acpi-microvm.h
amd_iommu.c hw/pci: modify pci_setup_iommu() to set PCIIOMMUOps 2023-11-03 09:20:31 +01:00
amd_iommu.h amd_iommu: Fix APIC address check 2023-10-04 18:15:06 -04:00
e820_memory_layout.c
e820_memory_layout.h
fw_cfg.c
fw_cfg.h
intel_iommu_internal.h intel-iommu: Report interrupt remapping faults, fix return value 2023-10-22 05:18:17 -04:00
intel_iommu.c target-arm queue: 2023-11-07 09:42:07 +08:00
Kconfig hw/i386/pc: Support hv-balloon 2023-11-06 14:08:10 +01:00
kvmvapic.c
meson.build hw/xen: cleanup sourcesets 2023-10-18 10:01:01 +02:00
microvm-dt.c
microvm-dt.h
microvm.c hw/acpi: Realize ACPI_GED sysbus device before accessing it 2023-10-19 23:13:28 +02:00
multiboot.c
multiboot.h
pc_piix.c hw/i386/pc: support '-nic' for xen-net-device 2023-11-07 08:54:20 +00:00
pc_q35.c hw/i386/pc: support '-nic' for xen-net-device 2023-11-07 08:54:20 +00:00
pc_sysfw_ovmf-stubs.c
pc_sysfw_ovmf.c
pc_sysfw.c
pc.c hw/i386/pc: Use qdev_prop_set_array() 2023-11-10 18:19:07 +01:00
port92.c
sgx-epc.c
sgx-stub.c target/i386: the sgx_epc_get_section stub is reachable 2024-01-05 19:10:11 +03:00
sgx.c
trace-events
trace.h
vmmouse.c vmmouse: use explicit code 2023-09-12 10:37:02 +04:00
vmport.c
x86-iommu-stub.c
x86-iommu.c
x86.c hw/i386: fix short-circuit logic with non-optimizing builds 2023-12-02 15:56:49 -05:00