qemu-e2k/hw/i386
Daniel Hoffman c04cfb4596 hw/i386: fix short-circuit logic with non-optimizing builds
`kvm_enabled()` is compiled down to `0` and short-circuit logic is
used to remove references to undefined symbols at the compile stage.
Some build configurations with some compilers don't attempt to
simplify this logic down in some cases (the pattern appears to be
that the literal false must be the first term) and this was causing
some builds to emit references to undefined symbols.

An example of such a configuration is clang 16.0.6 with the following
configure: ./configure --enable-debug --without-default-features
--target-list=x86_64-softmmu --enable-tcg-interpreter

Signed-off-by: Daniel Hoffman <dhoff749@gmail.com>
Message-Id: <20231119203116.3027230-1-dhoff749@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2023-12-02 15:56:49 -05: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/cxl: Add QTG _DSM support for ACPI0017 device 2023-10-22 05:18:17 -04: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
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