qemu-e2k/hw/i386
Jonathan Cameron d9ae5802f6 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>
2024-02-14 06:09:32 -05:00
..
kvm apic, i386/tcg: add x2apic transitions 2024-02-14 06:09:32 -05:00
xen apic, i386/tcg: add x2apic transitions 2024-02-14 06:09:32 -05:00
acpi-build.c hw/i386: Fix _STA return value for ACPI0017 2024-02-14 06:09:32 -05: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/acpi-microvm.c: Use common function to add virtio in DSDT 2024-01-10 18:47:46 +10:00
acpi-microvm.h
amd_iommu-stub.c amd_iommu: report x2APIC support to the operating system 2024-02-14 06:09:32 -05:00
amd_iommu.c amd_iommu: report x2APIC support to the operating system 2024-02-14 06:09:32 -05:00
amd_iommu.h amd_iommu: report x2APIC support to the operating system 2024-02-14 06:09:32 -05: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 intel_iommu: allow Extended Interrupt Mode when using userspace APIC 2024-02-14 06:09:32 -05:00
Kconfig hw/i386: Activate IOMMUFD for q35 machines 2023-12-19 19:03:38 +01:00
kvmvapic.c hw/i386: Constify VMState 2023-12-29 11:17:30 +11:00
meson.build amd_iommu: report x2APIC support to the operating system 2024-02-14 06:09:32 -05: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/xen: use qemu_create_nic_bus_devices() to instantiate Xen NICs 2024-02-02 16:23:47 +00:00
pc_q35.c hw/xen: use qemu_create_nic_bus_devices() to instantiate Xen NICs 2024-02-02 16:23:47 +00:00
pc_sysfw_ovmf-stubs.c
pc_sysfw_ovmf.c
pc_sysfw.c
pc.c hw/xen: use qemu_create_nic_bus_devices() to instantiate Xen NICs 2024-02-02 16:23:47 +00:00
port92.c hw/i386: Constify VMState 2023-12-29 11:17:30 +11:00
sgx-epc.c
sgx-stub.c target/i386: the sgx_epc_get_section stub is reachable 2023-12-31 09:11:27 +01:00
sgx.c
trace-events
trace.h
vmmouse.c hw/i386: Constify VMState 2023-12-29 11:17:30 +11:00
vmport.c
x86-iommu-stub.c
x86-iommu.c
x86.c hw/i386/x86: Fix PIC interrupt handling if APIC is globally disabled 2024-02-14 06:09:32 -05:00