|
|
ae23c9 |
From 85de0b0c587b62ad59db0f1ca4ff5d76d0c88634 Mon Sep 17 00:00:00 2001
|
|
|
ae23c9 |
From: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
ae23c9 |
Date: Mon, 11 Jan 2016 11:53:33 +0100
|
|
|
ae23c9 |
Subject: Enable/disable devices for RHEL 7
|
|
|
ae23c9 |
|
|
|
ae23c9 |
This commit adds all changes related to changes in supported devices
|
|
|
ae23c9 |
up to qemu-kvm-rhev-2.1.2-16.el7.
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Rebase notes for RHEL8 - 2.12:
|
|
|
ae23c9 |
Disable AMD_IOMMU
|
|
|
ae23c9 |
New handling of VHOST_USER_* device disabling
|
|
|
ae23c9 |
Use cpu_type instead of cpu_model
|
|
|
ae23c9 |
Disabled CONFIG_P4XXX for power64
|
|
|
ae23c9 |
Disabled sam460ex board tests
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Rebase notes for RHEL-8.0:
|
|
|
ae23c9 |
- Use upstream's romfile for e1000e.c
|
|
|
ae23c9 |
- Removed CONFIG_VTD references in hw/i386/Makefile.objs
|
|
|
ae23c9 |
- Comment tests out instead of dropping them
|
|
|
ae23c9 |
- Dropped duplicated CONFIG_I2C
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Rebase notes (2.11.0):
|
|
|
ae23c9 |
- Switched order with machine type commit
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Rebase notes (2.10.0):
|
|
|
ae23c9 |
- replace cannot_instantiate_with_device_add_yet with user_creatable (upstream e90f2a)
|
|
|
ae23c9 |
- Comment out default configs instead of removing the options
|
|
|
ae23c9 |
- Reenable test_unaligned_write_same
|
|
|
ae23c9 |
- Remove default-configs changes for 32bit architectures
|
|
|
ae23c9 |
- Removed unnecessary usage of user_creatable
|
|
|
ae23c9 |
- Documented arm cpu changes
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Rebase notes (2.9.0):
|
|
|
ae23c9 |
- enabled CONFIG_ARM_V7M for aarch64
|
|
|
ae23c9 |
- need to fix cpu mask
|
|
|
ae23c9 |
- disabled some irrelevant ppc64 tests
|
|
|
ae23c9 |
- Adding pxe-e1000e.rom to Inital redhat commit
|
|
|
ae23c9 |
- Context changed in vfio_probe_igd_bar4_quirk (rc3)
|
|
|
ae23c9 |
- Remove fdc test
|
|
|
ae23c9 |
- Enabled null-co driver
|
|
|
ae23c9 |
- Disabled megasas and bios-tables test
|
|
|
ae23c9 |
- Disabled netfilter tests for ppc64
|
|
|
ae23c9 |
- Disabled ivshmem test for ppc64
|
|
|
ae23c9 |
- Disabled numa test for aarhc64
|
|
|
ae23c9 |
- Add CONFIG_USB_XHCI_NEC option for ppc64
|
|
|
ae23c9 |
- Enable vhost-user-scsi for ppc64 and aarch64
|
|
|
ae23c9 |
- Disable ipmi_bt, ipmi_local, impi_extern for ppc64
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Rebase notes (2.8.0):
|
|
|
ae23c9 |
- Removed CONFIG_PIIX_PCI (upstream)
|
|
|
ae23c9 |
- Disabled POWERNV
|
|
|
ae23c9 |
- Disabled additional occurencies of prom-env-test
|
|
|
ae23c9 |
- Disabled additional occurencies of usb-hcd-ohci-test and usb-hcd-uhci-test
|
|
|
ae23c9 |
- Disabled unsupported machine types in boot-serieal-test
|
|
|
ae23c9 |
- Disabled 2.7 machine type compatibility test in test-x86-cpuid-compat
|
|
|
ae23c9 |
- Disabled pnv-xscom-test
|
|
|
ae23c9 |
- Disabled RHEl 6 machine types for qom-test (failing acpi setting)
|
|
|
ae23c9 |
- Added diffutils BuildRequires and diff usage for make check
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Rebase notes (2.6.0):
|
|
|
ae23c9 |
- disabled prom-env-test
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Rebase notes (2.4.0):
|
|
|
ae23c9 |
- fixed types
|
|
|
ae23c9 |
- include CONFIG_PLATFORM_BUS for aarch64
|
|
|
ae23c9 |
- disable failing virtio-scsi-test
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Rebase notes (2.3.0):
|
|
|
ae23c9 |
- Added USB=y in 2.3-rc2 (used instead of downstream version fora aarch64)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Merged patches (2.11.):
|
|
|
ae23c9 |
- e6c4563d68 hw: Remove the redundant user_creatable = false from SYS_BUS_DEVICEs
|
|
|
ae23c9 |
- 35474b23b1 hw/pci-host/q35: Remove redundant downstream user_creatable = false
|
|
|
ae23c9 |
- 374294de46 hw/dma/i8257: Remove redundant downstream user_creatable = false
|
|
|
ae23c9 |
- 17abc4f5bd RHEL: Disable vfio-ccw and x-terminal270 devices
|
|
|
ae23c9 |
- b303e792c3 Disable vhost-user-scsi and vhost-user-scsi-pci
|
|
|
ae23c9 |
- 28f294c023 Disable sm501 and sysbus-sm501 devices
|
|
|
ae23c9 |
- d5959fcefc s390x/cpumodel: Disable unsupported CPU models
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Merged patches (2.10.0):
|
|
|
ae23c9 |
- e9b413e Add PCIe bridge devices for AArch64
|
|
|
ae23c9 |
- a522114 s390x/virtio-ccw: Disable crypto device in downstream RHEL builds
|
|
|
ae23c9 |
- 15dbf98 Disable unimplemented device
|
|
|
ae23c9 |
- 5c0ea49 Disable serial-isa for ppc64
|
|
|
ae23c9 |
- 728e7e8 Disable rs6000-mc device
|
|
|
ae23c9 |
- 2a11896 ppc64le: Remove isabus-bridge device
|
|
|
ae23c9 |
- 5c4df94 Reenable Educational device
|
|
|
ae23c9 |
- a936463 aarch64: Enable usb-xhci
|
|
|
ae23c9 |
- 984f5cd Enable USB_CONFIG for aarch64
|
|
|
ae23c9 |
- f13b783 AArch64: Add pci-testdev
|
|
|
ae23c9 |
- 81867af Disable virtio-pci for s390x builds
|
|
|
ae23c9 |
- bf5f636 target/ppc: Show POWER9 in -cpu help
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Merged patches (2.9.0):
|
|
|
ae23c9 |
- 9320fc1 Fix unuseds/Fedora build
|
|
|
ae23c9 |
- cb16934 config: Remove EHCI from ppc64 builds
|
|
|
ae23c9 |
- 626fe4d Disable qemu,register device
|
|
|
ae23c9 |
- 783a0b2 Disable vfio-pci-igd-lpc-bridge device
|
|
|
ae23c9 |
- bf7c127 Disable new virtio crypto devices
|
|
|
ae23c9 |
- a4d3c4e Disable amd iommu devices
|
|
|
ae23c9 |
- 5396ebc Disable loader device
|
|
|
ae23c9 |
- 1957779 Disable or-irq device
|
|
|
ae23c9 |
- 25ee621 Hide new floppy device
|
|
|
ae23c9 |
- 2bd29ed Disable devices for for AArch64 QEMU
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Merged patches (2.7.0):
|
|
|
ae23c9 |
- e2944a5 RHEL: Disable unsupported PowerPC CPU models
|
|
|
ae23c9 |
- have to add additional "if 0" sections to hw/ppc/spapr_cpu_core.c
|
|
|
ae23c9 |
- 81b2836 Remove unsupported VFIO devices from QEMU
|
|
|
ae23c9 |
- 1248029 Disable spapr-rng
|
|
|
ae23c9 |
- 351e1fb Disable Windows enlightnementas
|
|
|
ae23c9 |
- 5760290 Disable mptsas1068 device
|
|
|
ae23c9 |
- 0b74460 Disable sd-card
|
|
|
ae23c9 |
- 2eaf71c Disable rocker device
|
|
|
ae23c9 |
- e0ed699 Disable new ipmi devices
|
|
|
ae23c9 |
- disable ipmi tests in bios-tables-test
|
|
|
ae23c9 |
- 30e3bee Disable hyperv-testdev
|
|
|
ae23c9 |
- 8a9aadf Disable allwiner_ahci device
|
|
|
ae23c9 |
- a41119d Disable igd-passthrough-i440FX
|
|
|
ae23c9 |
- e305bb4 Disable vfio-platform device
|
|
|
ae23c9 |
- a127042 rhel: Revert unwanted inconsequential changes to ivshmem
|
|
|
ae23c9 |
- ce1419c rhel: Disable ivshmem-plain migration, ivshmem-doorbell, ivshmem
|
|
|
ae23c9 |
- 3f9349b q35: disable s3/s4 by default
|
|
|
ae23c9 |
- 2158ca1 i8257: Set no-user flag
|
|
|
ae23c9 |
- b2a3bb9 e1000e: add boot rom
|
|
|
ae23c9 |
- have to add pxe-e1000e.rom to source files
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Merged patches (2.6.0):
|
|
|
ae23c9 |
- ce3206a qemu-iotests: Fix broken test cases
|
|
|
ae23c9 |
- Reduced to disabling test 071 only
|
|
|
ae23c9 |
- bb34585 qemu-iotests: Disable 099 (requires blkverify)
|
|
|
ae23c9 |
- 81be408 build: reenable local builds to pass --enable-debug (downstream only)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
Merged patches (2.4.0):
|
|
|
ae23c9 |
- fa4fd10 AArch64: Enable ACPI
|
|
|
ae23c9 |
- 1219d52 ivshmem: RHEL-only: remove unsupported code
|
|
|
ae23c9 |
- 5f6d954 ivshmem: RHEL-only: explicitly remove dead code
|
|
|
ae23c9 |
- b88bbf0 Revert "rhel: Drop "ivshmem" device"
|
|
|
ae23c9 |
- 8f0aadf Split serial-isa into its own config option
|
|
|
ae23c9 |
- 01bff0f rhel: Disable "info irq" and "info pic" for Power
|
|
|
ae23c9 |
- b915077 RHEL: Disable remaining unsupported devices for ppc
|
|
|
ae23c9 |
- 64cbdc5 Mark onboard devices as cannot_instantiate_with_device_add_yet
|
|
|
ae23c9 |
- 4792566 Disable sdhci device
|
|
|
ae23c9 |
- bda8169 Disable Educational device
|
|
|
ae23c9 |
- a17a8fb rhel: Revert unwanted cannot_instantiate_with_device_add_yet changes
|
|
|
ae23c9 |
- 91c76c5 Remove intel-iommu device
|
|
|
ae23c9 |
- ec1615d Disable additional e1000 models
|
|
|
ae23c9 |
|
|
|
ae23c9 |
(cherry picked from commit 0e72e616b2d80e47c0eb6c5976276e9f8d920e92)
|
|
|
ae23c9 |
---
|
|
|
ae23c9 |
default-configs/aarch64-softmmu.mak | 35 +++++++++---
|
|
|
ae23c9 |
default-configs/pci.mak | 38 ++++++-------
|
|
|
ae23c9 |
default-configs/ppc64-softmmu.mak | 26 ++++++---
|
|
|
ae23c9 |
default-configs/s390x-softmmu.mak | 12 +++--
|
|
|
ae23c9 |
default-configs/sound.mak | 8 +--
|
|
|
ae23c9 |
default-configs/usb.mak | 14 ++---
|
|
|
ae23c9 |
default-configs/x86_64-softmmu.mak | 30 ++++++-----
|
|
|
ae23c9 |
hw/acpi/ich9.c | 4 +-
|
|
|
ae23c9 |
hw/block/fdc.c | 1 +
|
|
|
ae23c9 |
hw/char/serial-pci.c | 4 ++
|
|
|
ae23c9 |
hw/core/Makefile.objs | 7 +--
|
|
|
ae23c9 |
hw/display/cirrus_vga.c | 2 +
|
|
|
ae23c9 |
hw/i386/pc.c | 2 +
|
|
|
ae23c9 |
hw/ide/piix.c | 5 +-
|
|
|
ae23c9 |
hw/ide/via.c | 2 +
|
|
|
ae23c9 |
hw/input/pckbd.c | 2 +
|
|
|
ae23c9 |
hw/misc/Makefile.objs | 2 +-
|
|
|
ae23c9 |
hw/misc/ivshmem.c | 11 ++++
|
|
|
ae23c9 |
hw/net/e1000.c | 2 +
|
|
|
ae23c9 |
hw/pci-host/piix.c | 4 ++
|
|
|
ae23c9 |
hw/ppc/Makefile.objs | 2 +-
|
|
|
ae23c9 |
hw/ppc/spapr.c | 3 +-
|
|
|
ae23c9 |
hw/ppc/spapr_cpu_core.c | 2 +
|
|
|
ae23c9 |
hw/s390x/virtio-ccw.c | 8 +++
|
|
|
ae23c9 |
hw/usb/ccid-card-emulated.c | 2 +
|
|
|
ae23c9 |
hw/vfio/Makefile.objs | 3 --
|
|
|
ae23c9 |
hw/vfio/pci-quirks.c | 5 ++
|
|
|
ae23c9 |
hw/virtio/Makefile.objs | 5 +-
|
|
|
ae23c9 |
hw/virtio/virtio-pci.c | 8 +--
|
|
|
ae23c9 |
qemu-options.hx | 5 --
|
|
|
ae23c9 |
stubs/Makefile.objs | 1 +
|
|
|
ae23c9 |
stubs/ide-isa.c | 13 +++++
|
|
|
ae23c9 |
target/arm/cpu.c | 4 +-
|
|
|
ae23c9 |
target/i386/cpu.c | 37 ++++++++++---
|
|
|
ae23c9 |
target/ppc/cpu-models.c | 17 +++++-
|
|
|
ae23c9 |
target/s390x/cpu_models.c | 3 ++
|
|
|
ae23c9 |
target/s390x/kvm.c | 8 +++
|
|
|
ae23c9 |
tests/Makefile.include | 104 ++++++++++++++++++------------------
|
|
|
ae23c9 |
tests/bios-tables-test.c | 4 ++
|
|
|
ae23c9 |
tests/boot-order-test.c | 7 +++
|
|
|
ae23c9 |
tests/boot-serial-test.c | 10 ++--
|
|
|
ae23c9 |
tests/e1000-test.c | 2 +
|
|
|
ae23c9 |
tests/endianness-test.c | 2 +
|
|
|
ae23c9 |
tests/ivshmem-test.c | 10 +++-
|
|
|
ae23c9 |
tests/qemu-iotests/051 | 12 ++---
|
|
|
ae23c9 |
tests/qemu-iotests/group | 4 +-
|
|
|
ae23c9 |
tests/qom-test.c | 4 +-
|
|
|
ae23c9 |
tests/test-hmp.c | 2 +-
|
|
|
ae23c9 |
tests/test-x86-cpuid-compat.c | 2 +
|
|
|
ae23c9 |
tests/usb-hcd-xhci-test.c | 5 +-
|
|
|
ae23c9 |
vl.c | 2 +-
|
|
|
ae23c9 |
51 files changed, 341 insertions(+), 166 deletions(-)
|
|
|
ae23c9 |
create mode 100644 stubs/ide-isa.c
|
|
|
ae23c9 |
|
|
|
ae23c9 |
diff --git a/default-configs/aarch64-softmmu.mak b/default-configs/aarch64-softmmu.mak
|
|
|
ae23c9 |
index 9ddccf8..001eb8e 100644
|
|
|
ae23c9 |
--- a/default-configs/aarch64-softmmu.mak
|
|
|
ae23c9 |
+++ b/default-configs/aarch64-softmmu.mak
|
|
|
ae23c9 |
@@ -1,10 +1,29 @@
|
|
|
ae23c9 |
# Default configuration for aarch64-softmmu
|
|
|
ae23c9 |
|
|
|
ae23c9 |
-# We support all the 32 bit boards so need all their config
|
|
|
ae23c9 |
-include arm-softmmu.mak
|
|
|
ae23c9 |
-
|
|
|
ae23c9 |
-CONFIG_AUX=y
|
|
|
ae23c9 |
-CONFIG_DDC=y
|
|
|
ae23c9 |
-CONFIG_DPCD=y
|
|
|
ae23c9 |
-CONFIG_XLNX_ZYNQMP=y
|
|
|
ae23c9 |
-CONFIG_XLNX_ZYNQMP_ARM=y
|
|
|
ae23c9 |
+# CONFIG_AUX=y
|
|
|
ae23c9 |
+# CONFIG_DDC=y
|
|
|
ae23c9 |
+# CONFIG_DPCD=y
|
|
|
ae23c9 |
+# CONFIG_XLNX_ZYNQMP=y
|
|
|
ae23c9 |
+# CONFIG_XLNX_ZYNQMP_ARM=y
|
|
|
ae23c9 |
+CONFIG_PCI=y
|
|
|
ae23c9 |
+CONFIG_PCI_TESTDEV=y
|
|
|
ae23c9 |
+CONFIG_VIRTIO_PCI=y
|
|
|
ae23c9 |
+CONFIG_VIRTIO=y
|
|
|
ae23c9 |
+CONFIG_ARM_GIC=y
|
|
|
ae23c9 |
+CONFIG_ARM_GIC_KVM=$(CONFIG_KVM)
|
|
|
ae23c9 |
+CONFIG_PL011=y
|
|
|
ae23c9 |
+CONFIG_PL031=y
|
|
|
ae23c9 |
+CONFIG_PFLASH_CFI01=y
|
|
|
ae23c9 |
+CONFIG_PCI_GENERIC=y
|
|
|
ae23c9 |
+CONFIG_ACPI=y
|
|
|
ae23c9 |
+CONFIG_PLATFORM_BUS=y
|
|
|
ae23c9 |
+CONFIG_SMBIOS=y
|
|
|
ae23c9 |
+CONFIG_PL061=y
|
|
|
ae23c9 |
+CONFIG_GPIO_KEY=y
|
|
|
ae23c9 |
+CONFIG_ARM_V7M=y
|
|
|
ae23c9 |
+CONFIG_PCIE_PORT=y
|
|
|
ae23c9 |
+CONFIG_XIO3130=y
|
|
|
ae23c9 |
+CONFIG_IOH3420=y
|
|
|
ae23c9 |
+CONFIG_USB_XHCI=y
|
|
|
ae23c9 |
+CONFIG_USB=y
|
|
|
ae23c9 |
+CONFIG_I2C=y
|
|
|
ae23c9 |
diff --git a/default-configs/pci.mak b/default-configs/pci.mak
|
|
|
ae23c9 |
index 35e7596..4c8c296 100644
|
|
|
ae23c9 |
--- a/default-configs/pci.mak
|
|
|
ae23c9 |
+++ b/default-configs/pci.mak
|
|
|
ae23c9 |
@@ -4,21 +4,21 @@ CONFIG_ISA_BUS=y
|
|
|
ae23c9 |
CONFIG_VIRTIO_PCI=y
|
|
|
ae23c9 |
CONFIG_VIRTIO=y
|
|
|
ae23c9 |
CONFIG_USB_UHCI=y
|
|
|
ae23c9 |
-CONFIG_USB_OHCI=y
|
|
|
ae23c9 |
+#CONFIG_USB_OHCI=y
|
|
|
ae23c9 |
CONFIG_USB_EHCI=y
|
|
|
ae23c9 |
CONFIG_USB_XHCI=y
|
|
|
ae23c9 |
CONFIG_USB_XHCI_NEC=y
|
|
|
ae23c9 |
-CONFIG_NE2000_PCI=y
|
|
|
ae23c9 |
-CONFIG_EEPRO100_PCI=y
|
|
|
ae23c9 |
-CONFIG_PCNET_PCI=y
|
|
|
ae23c9 |
-CONFIG_PCNET_COMMON=y
|
|
|
ae23c9 |
+#CONFIG_NE2000_PCI=y
|
|
|
ae23c9 |
+#CONFIG_EEPRO100_PCI=y
|
|
|
ae23c9 |
+#CONFIG_PCNET_PCI=y
|
|
|
ae23c9 |
+#CONFIG_PCNET_COMMON=y
|
|
|
ae23c9 |
CONFIG_AC97=y
|
|
|
ae23c9 |
CONFIG_HDA=y
|
|
|
ae23c9 |
-CONFIG_ES1370=y
|
|
|
ae23c9 |
-CONFIG_LSI_SCSI_PCI=y
|
|
|
ae23c9 |
-CONFIG_VMW_PVSCSI_SCSI_PCI=y
|
|
|
ae23c9 |
-CONFIG_MEGASAS_SCSI_PCI=y
|
|
|
ae23c9 |
-CONFIG_MPTSAS_SCSI_PCI=y
|
|
|
ae23c9 |
+#CONFIG_ES1370=y
|
|
|
ae23c9 |
+#CONFIG_LSI_SCSI_PCI=y
|
|
|
ae23c9 |
+#CONFIG_VMW_PVSCSI_SCSI_PCI=y
|
|
|
ae23c9 |
+#CONFIG_MEGASAS_SCSI_PCI=y
|
|
|
ae23c9 |
+#CONFIG_MPTSAS_SCSI_PCI=y
|
|
|
ae23c9 |
CONFIG_RTL8139_PCI=y
|
|
|
ae23c9 |
CONFIG_E1000_PCI=y
|
|
|
ae23c9 |
CONFIG_E1000E_PCI=y
|
|
|
ae23c9 |
@@ -26,24 +26,24 @@ CONFIG_IDE_CORE=y
|
|
|
ae23c9 |
CONFIG_IDE_QDEV=y
|
|
|
ae23c9 |
CONFIG_IDE_PCI=y
|
|
|
ae23c9 |
CONFIG_AHCI=y
|
|
|
ae23c9 |
-CONFIG_ESP=y
|
|
|
ae23c9 |
-CONFIG_ESP_PCI=y
|
|
|
ae23c9 |
+#CONFIG_ESP=y
|
|
|
ae23c9 |
+#CONFIG_ESP_PCI=y
|
|
|
ae23c9 |
CONFIG_SERIAL=y
|
|
|
ae23c9 |
CONFIG_SERIAL_ISA=y
|
|
|
ae23c9 |
CONFIG_SERIAL_PCI=y
|
|
|
ae23c9 |
CONFIG_CAN_BUS=y
|
|
|
ae23c9 |
CONFIG_CAN_SJA1000=y
|
|
|
ae23c9 |
CONFIG_CAN_PCI=y
|
|
|
ae23c9 |
-CONFIG_IPACK=y
|
|
|
ae23c9 |
+#CONFIG_IPACK=y
|
|
|
ae23c9 |
CONFIG_WDT_IB6300ESB=y
|
|
|
ae23c9 |
CONFIG_PCI_TESTDEV=y
|
|
|
ae23c9 |
-CONFIG_NVME_PCI=y
|
|
|
ae23c9 |
-CONFIG_SD=y
|
|
|
ae23c9 |
-CONFIG_SDHCI=y
|
|
|
ae23c9 |
+#CONFIG_NVME_PCI=y
|
|
|
ae23c9 |
+#CONFIG_SD=y
|
|
|
ae23c9 |
+#CONFIG_SDHCI=y
|
|
|
ae23c9 |
CONFIG_EDU=y
|
|
|
ae23c9 |
CONFIG_VGA=y
|
|
|
ae23c9 |
CONFIG_VGA_PCI=y
|
|
|
ae23c9 |
CONFIG_IVSHMEM_DEVICE=$(CONFIG_IVSHMEM)
|
|
|
ae23c9 |
-CONFIG_ROCKER=y
|
|
|
ae23c9 |
-CONFIG_VHOST_USER_SCSI=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|
|
|
ae23c9 |
-CONFIG_VHOST_USER_BLK=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|
|
|
ae23c9 |
+#CONFIG_ROCKER=y
|
|
|
ae23c9 |
+#CONFIG_VHOST_USER_SCSI=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|
|
|
ae23c9 |
+#CONFIG_VHOST_USER_BLK=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|
|
|
ae23c9 |
diff --git a/default-configs/ppc64-softmmu.mak b/default-configs/ppc64-softmmu.mak
|
|
|
ae23c9 |
index b94af6c..0ee8f6c 100644
|
|
|
ae23c9 |
--- a/default-configs/ppc64-softmmu.mak
|
|
|
ae23c9 |
+++ b/default-configs/ppc64-softmmu.mak
|
|
|
ae23c9 |
@@ -1,14 +1,28 @@
|
|
|
ae23c9 |
# Default configuration for ppc64-softmmu
|
|
|
ae23c9 |
|
|
|
ae23c9 |
-# Include all 32-bit boards
|
|
|
ae23c9 |
-include ppc-softmmu.mak
|
|
|
ae23c9 |
+include sound.mak
|
|
|
ae23c9 |
+include usb.mak
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
+## PCI configuration - cut down from the defaults in pci.mak
|
|
|
ae23c9 |
+CONFIG_PCI=y
|
|
|
ae23c9 |
+CONFIG_VIRTIO_PCI=y
|
|
|
ae23c9 |
+CONFIG_VIRTIO=y
|
|
|
ae23c9 |
+CONFIG_USB_XHCI=y
|
|
|
ae23c9 |
+CONFIG_USB_XHCI_NEC=y
|
|
|
ae23c9 |
+CONFIG_WDT_IB6300ESB=y
|
|
|
ae23c9 |
+CONFIG_PCI_TESTDEV=y
|
|
|
ae23c9 |
+CONFIG_USB_OHCI=y
|
|
|
ae23c9 |
+CONFIG_VGA=y
|
|
|
ae23c9 |
+CONFIG_VGA_PCI=y
|
|
|
ae23c9 |
+CONFIG_SERIAL=y
|
|
|
ae23c9 |
+CONFIG_I2C=y
|
|
|
ae23c9 |
|
|
|
ae23c9 |
# For PowerNV
|
|
|
ae23c9 |
-CONFIG_POWERNV=y
|
|
|
ae23c9 |
+#CONFIG_POWERNV=y
|
|
|
ae23c9 |
CONFIG_IPMI=y
|
|
|
ae23c9 |
-CONFIG_IPMI_LOCAL=y
|
|
|
ae23c9 |
-CONFIG_IPMI_EXTERN=y
|
|
|
ae23c9 |
-CONFIG_ISA_IPMI_BT=y
|
|
|
ae23c9 |
+#CONFIG_IPMI_LOCAL=y
|
|
|
ae23c9 |
+#CONFIG_IPMI_EXTERN=y
|
|
|
ae23c9 |
+#CONFIG_ISA_IPMI_BT=y
|
|
|
ae23c9 |
|
|
|
ae23c9 |
# For pSeries
|
|
|
ae23c9 |
CONFIG_PSERIES=y
|
|
|
ae23c9 |
diff --git a/default-configs/s390x-softmmu.mak b/default-configs/s390x-softmmu.mak
|
|
|
ae23c9 |
index 2f4bfe7..649bf2c 100644
|
|
|
ae23c9 |
--- a/default-configs/s390x-softmmu.mak
|
|
|
ae23c9 |
+++ b/default-configs/s390x-softmmu.mak
|
|
|
ae23c9 |
@@ -1,11 +1,13 @@
|
|
|
ae23c9 |
CONFIG_PCI=y
|
|
|
ae23c9 |
-CONFIG_VIRTIO_PCI=$(CONFIG_PCI)
|
|
|
ae23c9 |
-CONFIG_VHOST_USER_SCSI=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|
|
|
ae23c9 |
-CONFIG_VHOST_USER_BLK=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|
|
|
ae23c9 |
+#CONFIG_VIRTIO_PCI=$(CONFIG_PCI)
|
|
|
ae23c9 |
+#CONFIG_VHOST_USER_SCSI=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|
|
|
ae23c9 |
+#CONFIG_VHOST_USER_BLK=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|
|
|
ae23c9 |
CONFIG_VIRTIO=y
|
|
|
ae23c9 |
CONFIG_SCLPCONSOLE=y
|
|
|
ae23c9 |
-CONFIG_TERMINAL3270=y
|
|
|
ae23c9 |
+# Disabled for Red Hat Enterprise Linux:
|
|
|
ae23c9 |
+# CONFIG_TERMINAL3270=y
|
|
|
ae23c9 |
CONFIG_S390_FLIC=y
|
|
|
ae23c9 |
CONFIG_S390_FLIC_KVM=$(CONFIG_KVM)
|
|
|
ae23c9 |
-CONFIG_VFIO_CCW=$(CONFIG_LINUX)
|
|
|
ae23c9 |
+# Disabled for Red Hat Enterprise Linux:
|
|
|
ae23c9 |
+# CONFIG_VFIO_CCW=$(CONFIG_LINUX)
|
|
|
ae23c9 |
CONFIG_WDT_DIAG288=y
|
|
|
ae23c9 |
diff --git a/default-configs/sound.mak b/default-configs/sound.mak
|
|
|
ae23c9 |
index 4f22c34..1bead9b 100644
|
|
|
ae23c9 |
--- a/default-configs/sound.mak
|
|
|
ae23c9 |
+++ b/default-configs/sound.mak
|
|
|
ae23c9 |
@@ -1,4 +1,4 @@
|
|
|
ae23c9 |
-CONFIG_SB16=y
|
|
|
ae23c9 |
-CONFIG_ADLIB=y
|
|
|
ae23c9 |
-CONFIG_GUS=y
|
|
|
ae23c9 |
-CONFIG_CS4231A=y
|
|
|
ae23c9 |
+#CONFIG_SB16=y
|
|
|
ae23c9 |
+#CONFIG_ADLIB=y
|
|
|
ae23c9 |
+#CONFIG_GUS=y
|
|
|
ae23c9 |
+#CONFIG_CS4231A=y
|
|
|
ae23c9 |
diff --git a/default-configs/usb.mak b/default-configs/usb.mak
|
|
|
ae23c9 |
index f4b8568..a256f84 100644
|
|
|
ae23c9 |
--- a/default-configs/usb.mak
|
|
|
ae23c9 |
+++ b/default-configs/usb.mak
|
|
|
ae23c9 |
@@ -1,10 +1,10 @@
|
|
|
ae23c9 |
CONFIG_USB=y
|
|
|
ae23c9 |
-CONFIG_USB_TABLET_WACOM=y
|
|
|
ae23c9 |
+#CONFIG_USB_TABLET_WACOM=y
|
|
|
ae23c9 |
CONFIG_USB_STORAGE_BOT=y
|
|
|
ae23c9 |
-CONFIG_USB_STORAGE_UAS=y
|
|
|
ae23c9 |
-CONFIG_USB_STORAGE_MTP=y
|
|
|
ae23c9 |
+#CONFIG_USB_STORAGE_UAS=y
|
|
|
ae23c9 |
+#CONFIG_USB_STORAGE_MTP=y
|
|
|
ae23c9 |
CONFIG_USB_SMARTCARD=y
|
|
|
ae23c9 |
-CONFIG_USB_AUDIO=y
|
|
|
ae23c9 |
-CONFIG_USB_SERIAL=y
|
|
|
ae23c9 |
-CONFIG_USB_NETWORK=y
|
|
|
ae23c9 |
-CONFIG_USB_BLUETOOTH=y
|
|
|
ae23c9 |
+#CONFIG_USB_AUDIO=y
|
|
|
ae23c9 |
+#CONFIG_USB_SERIAL=y
|
|
|
ae23c9 |
+#CONFIG_USB_NETWORK=y
|
|
|
ae23c9 |
+#CONFIG_USB_BLUETOOTH=y
|
|
|
ae23c9 |
diff --git a/default-configs/x86_64-softmmu.mak b/default-configs/x86_64-softmmu.mak
|
|
|
ae23c9 |
index 0390b43..2675606 100644
|
|
|
ae23c9 |
--- a/default-configs/x86_64-softmmu.mak
|
|
|
ae23c9 |
+++ b/default-configs/x86_64-softmmu.mak
|
|
|
ae23c9 |
@@ -4,20 +4,21 @@ include pci.mak
|
|
|
ae23c9 |
include sound.mak
|
|
|
ae23c9 |
include usb.mak
|
|
|
ae23c9 |
CONFIG_QXL=$(CONFIG_SPICE)
|
|
|
ae23c9 |
-CONFIG_VGA_ISA=y
|
|
|
ae23c9 |
+#CONFIG_VGA_ISA=y
|
|
|
ae23c9 |
+CONFIG_VGA_PCI=y
|
|
|
ae23c9 |
CONFIG_VGA_CIRRUS=y
|
|
|
ae23c9 |
-CONFIG_VMWARE_VGA=y
|
|
|
ae23c9 |
-CONFIG_VMXNET3_PCI=y
|
|
|
ae23c9 |
+#CONFIG_VMWARE_VGA=y
|
|
|
ae23c9 |
+#CONFIG_VMXNET3_PCI=y
|
|
|
ae23c9 |
CONFIG_VIRTIO_VGA=y
|
|
|
ae23c9 |
CONFIG_VMMOUSE=y
|
|
|
ae23c9 |
CONFIG_IPMI=y
|
|
|
ae23c9 |
-CONFIG_IPMI_LOCAL=y
|
|
|
ae23c9 |
-CONFIG_IPMI_EXTERN=y
|
|
|
ae23c9 |
-CONFIG_ISA_IPMI_KCS=y
|
|
|
ae23c9 |
-CONFIG_ISA_IPMI_BT=y
|
|
|
ae23c9 |
+#CONFIG_IPMI_LOCAL=y
|
|
|
ae23c9 |
+#CONFIG_IPMI_EXTERN=y
|
|
|
ae23c9 |
+#CONFIG_ISA_IPMI_KCS=y
|
|
|
ae23c9 |
+#CONFIG_ISA_IPMI_BT=y
|
|
|
ae23c9 |
CONFIG_SERIAL=y
|
|
|
ae23c9 |
CONFIG_SERIAL_ISA=y
|
|
|
ae23c9 |
-CONFIG_PARALLEL=y
|
|
|
ae23c9 |
+#CONFIG_PARALLEL=y
|
|
|
ae23c9 |
CONFIG_I8254=y
|
|
|
ae23c9 |
CONFIG_PCSPK=y
|
|
|
ae23c9 |
CONFIG_PCKBD=y
|
|
|
ae23c9 |
@@ -29,11 +30,11 @@ CONFIG_ACPI_MEMORY_HOTPLUG=y
|
|
|
ae23c9 |
CONFIG_ACPI_CPU_HOTPLUG=y
|
|
|
ae23c9 |
CONFIG_APM=y
|
|
|
ae23c9 |
CONFIG_I8257=y
|
|
|
ae23c9 |
-CONFIG_IDE_ISA=y
|
|
|
ae23c9 |
+#CONFIG_IDE_ISA=y
|
|
|
ae23c9 |
CONFIG_IDE_PIIX=y
|
|
|
ae23c9 |
-CONFIG_NE2000_ISA=y
|
|
|
ae23c9 |
-CONFIG_HPET=y
|
|
|
ae23c9 |
-CONFIG_APPLESMC=y
|
|
|
ae23c9 |
+#CONFIG_NE2000_ISA=y
|
|
|
ae23c9 |
+#CONFIG_HPET=y
|
|
|
ae23c9 |
+#CONFIG_APPLESMC=y
|
|
|
ae23c9 |
CONFIG_I8259=y
|
|
|
ae23c9 |
CONFIG_PFLASH_CFI01=y
|
|
|
ae23c9 |
CONFIG_TPM_TIS=$(CONFIG_TPM)
|
|
|
ae23c9 |
@@ -41,6 +42,7 @@ CONFIG_TPM_CRB=$(CONFIG_TPM)
|
|
|
ae23c9 |
CONFIG_MC146818RTC=y
|
|
|
ae23c9 |
CONFIG_PCI_PIIX=y
|
|
|
ae23c9 |
CONFIG_WDT_IB700=y
|
|
|
ae23c9 |
+CONFIG_ISA_BUS=y
|
|
|
ae23c9 |
CONFIG_ISA_DEBUG=y
|
|
|
ae23c9 |
CONFIG_ISA_TESTDEV=y
|
|
|
ae23c9 |
CONFIG_VMPORT=y
|
|
|
ae23c9 |
@@ -58,11 +60,11 @@ CONFIG_XIO3130=y
|
|
|
ae23c9 |
CONFIG_IOH3420=y
|
|
|
ae23c9 |
CONFIG_I82801B11=y
|
|
|
ae23c9 |
CONFIG_SMBIOS=y
|
|
|
ae23c9 |
-CONFIG_HYPERV_TESTDEV=$(CONFIG_KVM)
|
|
|
ae23c9 |
+#CONFIG_HYPERV_TESTDEV=$(CONFIG_KVM)
|
|
|
ae23c9 |
CONFIG_PXB=y
|
|
|
ae23c9 |
CONFIG_ACPI_VMGENID=y
|
|
|
ae23c9 |
CONFIG_FW_CFG_DMA=y
|
|
|
ae23c9 |
CONFIG_I2C=y
|
|
|
ae23c9 |
CONFIG_SEV=$(CONFIG_KVM)
|
|
|
ae23c9 |
CONFIG_VTD=y
|
|
|
ae23c9 |
-CONFIG_AMD_IOMMU=y
|
|
|
ae23c9 |
+#CONFIG_AMD_IOMMU=y
|
|
|
ae23c9 |
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
|
|
|
ae23c9 |
index c5d8646..a4e87b8 100644
|
|
|
ae23c9 |
--- a/hw/acpi/ich9.c
|
|
|
ae23c9 |
+++ b/hw/acpi/ich9.c
|
|
|
ae23c9 |
@@ -446,8 +446,8 @@ void ich9_pm_add_properties(Object *obj, ICH9LPCPMRegs *pm, Error **errp)
|
|
|
ae23c9 |
static const uint32_t gpe0_len = ICH9_PMIO_GPE0_LEN;
|
|
|
ae23c9 |
pm->acpi_memory_hotplug.is_enabled = true;
|
|
|
ae23c9 |
pm->cpu_hotplug_legacy = true;
|
|
|
ae23c9 |
- pm->disable_s3 = 0;
|
|
|
ae23c9 |
- pm->disable_s4 = 0;
|
|
|
ae23c9 |
+ pm->disable_s3 = 1;
|
|
|
ae23c9 |
+ pm->disable_s4 = 1;
|
|
|
ae23c9 |
pm->s4_val = 2;
|
|
|
ae23c9 |
|
|
|
ae23c9 |
object_property_add_uint32_ptr(obj, ACPI_PM_PROP_PM_IO_BASE,
|
|
|
ae23c9 |
diff --git a/hw/block/fdc.c b/hw/block/fdc.c
|
|
|
ae23c9 |
index cd29e27..3964096 100644
|
|
|
ae23c9 |
--- a/hw/block/fdc.c
|
|
|
ae23c9 |
+++ b/hw/block/fdc.c
|
|
|
ae23c9 |
@@ -605,6 +605,7 @@ static void floppy_drive_class_init(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
k->bus_type = TYPE_FLOPPY_BUS;
|
|
|
ae23c9 |
k->props = floppy_drive_properties;
|
|
|
ae23c9 |
k->desc = "virtual floppy drive";
|
|
|
ae23c9 |
+ k->user_creatable = false; /* RH state preserve */
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const TypeInfo floppy_drive_info = {
|
|
|
ae23c9 |
diff --git a/hw/char/serial-pci.c b/hw/char/serial-pci.c
|
|
|
ae23c9 |
index cb0d04c..d426982 100644
|
|
|
ae23c9 |
--- a/hw/char/serial-pci.c
|
|
|
ae23c9 |
+++ b/hw/char/serial-pci.c
|
|
|
ae23c9 |
@@ -228,6 +228,8 @@ static void multi_2x_serial_pci_class_initfn(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
dc->vmsd = &vmstate_pci_multi_serial;
|
|
|
ae23c9 |
dc->props = multi_2x_serial_pci_properties;
|
|
|
ae23c9 |
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
|
|
|
ae23c9 |
+ /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
+ dc->user_creatable = false;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static void multi_4x_serial_pci_class_initfn(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
@@ -243,6 +245,8 @@ static void multi_4x_serial_pci_class_initfn(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
dc->vmsd = &vmstate_pci_multi_serial;
|
|
|
ae23c9 |
dc->props = multi_4x_serial_pci_properties;
|
|
|
ae23c9 |
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
|
|
|
ae23c9 |
+ /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
+ dc->user_creatable = false;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const TypeInfo serial_pci_info = {
|
|
|
ae23c9 |
diff --git a/hw/core/Makefile.objs b/hw/core/Makefile.objs
|
|
|
ae23c9 |
index eb88ca9..2b4491f 100644
|
|
|
ae23c9 |
--- a/hw/core/Makefile.objs
|
|
|
ae23c9 |
+++ b/hw/core/Makefile.objs
|
|
|
ae23c9 |
@@ -16,10 +16,11 @@ common-obj-$(CONFIG_SOFTMMU) += machine.o
|
|
|
ae23c9 |
common-obj-$(CONFIG_SOFTMMU) += loader.o
|
|
|
ae23c9 |
common-obj-$(CONFIG_FITLOADER) += loader-fit.o
|
|
|
ae23c9 |
common-obj-$(CONFIG_SOFTMMU) += qdev-properties-system.o
|
|
|
ae23c9 |
-common-obj-$(CONFIG_SOFTMMU) += register.o
|
|
|
ae23c9 |
-common-obj-$(CONFIG_SOFTMMU) += or-irq.o
|
|
|
ae23c9 |
+# Disabled in Red Hat Enterprise Linux
|
|
|
ae23c9 |
+# common-obj-$(CONFIG_SOFTMMU) += register.o
|
|
|
ae23c9 |
+# obj-$(CONFIG_SOFTMMU) += generic-loader.o
|
|
|
ae23c9 |
+# common-obj-$(CONFIG_SOFTMMU) += or-irq.o
|
|
|
ae23c9 |
common-obj-$(CONFIG_SOFTMMU) += split-irq.o
|
|
|
ae23c9 |
common-obj-$(CONFIG_PLATFORM_BUS) += platform-bus.o
|
|
|
ae23c9 |
|
|
|
ae23c9 |
-obj-$(CONFIG_SOFTMMU) += generic-loader.o
|
|
|
ae23c9 |
obj-$(CONFIG_SOFTMMU) += null-machine.o
|
|
|
ae23c9 |
diff --git a/hw/display/cirrus_vga.c b/hw/display/cirrus_vga.c
|
|
|
ae23c9 |
index 138ae96..d116651 100644
|
|
|
ae23c9 |
--- a/hw/display/cirrus_vga.c
|
|
|
ae23c9 |
+++ b/hw/display/cirrus_vga.c
|
|
|
ae23c9 |
@@ -3074,6 +3074,8 @@ static void isa_cirrus_vga_class_init(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
dc->realize = isa_cirrus_vga_realizefn;
|
|
|
ae23c9 |
dc->props = isa_cirrus_vga_properties;
|
|
|
ae23c9 |
set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories);
|
|
|
ae23c9 |
+ /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
+ dc->user_creatable = false;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const TypeInfo isa_cirrus_vga_info = {
|
|
|
ae23c9 |
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
|
|
|
ae23c9 |
index d36bac8..fdad4bb 100644
|
|
|
ae23c9 |
--- a/hw/i386/pc.c
|
|
|
ae23c9 |
+++ b/hw/i386/pc.c
|
|
|
ae23c9 |
@@ -1525,7 +1525,9 @@ static void pc_superio_init(ISABus *isa_bus, bool create_fdctrl, bool no_vmport)
|
|
|
ae23c9 |
ISADevice *i8042, *port92, *vmmouse;
|
|
|
ae23c9 |
|
|
|
ae23c9 |
serial_hds_isa_init(isa_bus, 0, MAX_SERIAL_PORTS);
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
parallel_hds_isa_init(isa_bus, MAX_PARALLEL_PORTS);
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
for (i = 0; i < MAX_FD; i++) {
|
|
|
ae23c9 |
fd[i] = drive_get(IF_FLOPPY, 0, i);
|
|
|
ae23c9 |
diff --git a/hw/ide/piix.c b/hw/ide/piix.c
|
|
|
ae23c9 |
index a3afe1f..6de12ca 100644
|
|
|
ae23c9 |
--- a/hw/ide/piix.c
|
|
|
ae23c9 |
+++ b/hw/ide/piix.c
|
|
|
ae23c9 |
@@ -253,7 +253,8 @@ static void piix3_ide_class_init(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
k->device_id = PCI_DEVICE_ID_INTEL_82371SB_1;
|
|
|
ae23c9 |
k->class_id = PCI_CLASS_STORAGE_IDE;
|
|
|
ae23c9 |
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
|
|
|
ae23c9 |
- dc->hotpluggable = false;
|
|
|
ae23c9 |
+ /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
+ dc->user_creatable = false;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const TypeInfo piix3_ide_info = {
|
|
|
ae23c9 |
@@ -280,6 +281,8 @@ static void piix4_ide_class_init(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
k->class_id = PCI_CLASS_STORAGE_IDE;
|
|
|
ae23c9 |
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
|
|
|
ae23c9 |
dc->hotpluggable = false;
|
|
|
ae23c9 |
+ /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
+ dc->user_creatable = false;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const TypeInfo piix4_ide_info = {
|
|
|
ae23c9 |
diff --git a/hw/ide/via.c b/hw/ide/via.c
|
|
|
ae23c9 |
index 117ac4d..b1bafe6 100644
|
|
|
ae23c9 |
--- a/hw/ide/via.c
|
|
|
ae23c9 |
+++ b/hw/ide/via.c
|
|
|
ae23c9 |
@@ -217,6 +217,8 @@ static void via_ide_class_init(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
k->revision = 0x06;
|
|
|
ae23c9 |
k->class_id = PCI_CLASS_STORAGE_IDE;
|
|
|
ae23c9 |
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
|
|
|
ae23c9 |
+ /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
+ dc->user_creatable = false;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const TypeInfo via_ide_info = {
|
|
|
ae23c9 |
diff --git a/hw/input/pckbd.c b/hw/input/pckbd.c
|
|
|
ae23c9 |
index f17f18e..66adb83 100644
|
|
|
ae23c9 |
--- a/hw/input/pckbd.c
|
|
|
ae23c9 |
+++ b/hw/input/pckbd.c
|
|
|
ae23c9 |
@@ -570,6 +570,8 @@ static void i8042_class_initfn(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
dc->realize = i8042_realizefn;
|
|
|
ae23c9 |
dc->vmsd = &vmstate_kbd_isa;
|
|
|
ae23c9 |
+ /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
+ dc->user_creatable = false;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const TypeInfo i8042_info = {
|
|
|
ae23c9 |
diff --git a/hw/misc/Makefile.objs b/hw/misc/Makefile.objs
|
|
|
ae23c9 |
index 00e834d..d7430cf 100644
|
|
|
ae23c9 |
--- a/hw/misc/Makefile.objs
|
|
|
ae23c9 |
+++ b/hw/misc/Makefile.objs
|
|
|
ae23c9 |
@@ -8,7 +8,7 @@ common-obj-$(CONFIG_ISA_TESTDEV) += pc-testdev.o
|
|
|
ae23c9 |
common-obj-$(CONFIG_PCI_TESTDEV) += pci-testdev.o
|
|
|
ae23c9 |
common-obj-$(CONFIG_EDU) += edu.o
|
|
|
ae23c9 |
|
|
|
ae23c9 |
-common-obj-y += unimp.o
|
|
|
ae23c9 |
+#common-obj-y += unimp.o
|
|
|
ae23c9 |
common-obj-$(CONFIG_FW_CFG_DMA) += vmcoreinfo.o
|
|
|
ae23c9 |
|
|
|
ae23c9 |
# ARM devices
|
|
|
ae23c9 |
diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c
|
|
|
ae23c9 |
index 16f0370..bfbfc0e 100644
|
|
|
ae23c9 |
--- a/hw/misc/ivshmem.c
|
|
|
ae23c9 |
+++ b/hw/misc/ivshmem.c
|
|
|
ae23c9 |
@@ -892,6 +892,13 @@ static void ivshmem_common_realize(PCIDevice *dev, Error **errp)
|
|
|
ae23c9 |
return;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+ /* Migration disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
+ if (s->master == ON_OFF_AUTO_ON) {
|
|
|
ae23c9 |
+ error_setg(errp, "master=on is not supported");
|
|
|
ae23c9 |
+ return;
|
|
|
ae23c9 |
+ }
|
|
|
ae23c9 |
+ s->master = ON_OFF_AUTO_OFF;
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
pci_conf = dev->config;
|
|
|
ae23c9 |
pci_conf[PCI_COMMAND] = PCI_COMMAND_IO | PCI_COMMAND_MEMORY;
|
|
|
ae23c9 |
|
|
|
ae23c9 |
@@ -1183,6 +1190,8 @@ static void ivshmem_doorbell_class_init(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
k->realize = ivshmem_doorbell_realize;
|
|
|
ae23c9 |
dc->props = ivshmem_doorbell_properties;
|
|
|
ae23c9 |
dc->vmsd = &ivshmem_doorbell_vmsd;
|
|
|
ae23c9 |
+ /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
+ dc->user_creatable = false;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const TypeInfo ivshmem_doorbell_info = {
|
|
|
ae23c9 |
@@ -1352,6 +1361,8 @@ static void ivshmem_class_init(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
dc->desc = "Inter-VM shared memory (legacy)";
|
|
|
ae23c9 |
dc->props = ivshmem_properties;
|
|
|
ae23c9 |
dc->vmsd = &ivshmem_vmsd;
|
|
|
ae23c9 |
+ /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
+ dc->user_creatable = false;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const TypeInfo ivshmem_info = {
|
|
|
ae23c9 |
diff --git a/hw/net/e1000.c b/hw/net/e1000.c
|
|
|
ae23c9 |
index 13a9494..742cd0a 100644
|
|
|
ae23c9 |
--- a/hw/net/e1000.c
|
|
|
ae23c9 |
+++ b/hw/net/e1000.c
|
|
|
ae23c9 |
@@ -1768,6 +1768,7 @@ static const E1000Info e1000_devices[] = {
|
|
|
ae23c9 |
.revision = 0x03,
|
|
|
ae23c9 |
.phy_id2 = E1000_PHY_ID2_8254xx_DEFAULT,
|
|
|
ae23c9 |
},
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux 7 */
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
.name = "e1000-82544gc",
|
|
|
ae23c9 |
.device_id = E1000_DEV_ID_82544GC_COPPER,
|
|
|
ae23c9 |
@@ -1780,6 +1781,7 @@ static const E1000Info e1000_devices[] = {
|
|
|
ae23c9 |
.revision = 0x03,
|
|
|
ae23c9 |
.phy_id2 = E1000_PHY_ID2_8254xx_DEFAULT,
|
|
|
ae23c9 |
},
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static void e1000_register_types(void)
|
|
|
ae23c9 |
diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c
|
|
|
ae23c9 |
index 0e60834..3ce4b14 100644
|
|
|
ae23c9 |
--- a/hw/pci-host/piix.c
|
|
|
ae23c9 |
+++ b/hw/pci-host/piix.c
|
|
|
ae23c9 |
@@ -787,6 +787,7 @@ static const TypeInfo i440fx_info = {
|
|
|
ae23c9 |
},
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Disabled in Red Hat Enterprise Linux */
|
|
|
ae23c9 |
/* IGD Passthrough Host Bridge. */
|
|
|
ae23c9 |
typedef struct {
|
|
|
ae23c9 |
uint8_t offset;
|
|
|
ae23c9 |
@@ -870,6 +871,7 @@ static const TypeInfo igd_passthrough_i440fx_info = {
|
|
|
ae23c9 |
.instance_size = sizeof(PCII440FXState),
|
|
|
ae23c9 |
.class_init = igd_passthrough_i440fx_class_init,
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const char *i440fx_pcihost_root_bus_path(PCIHostState *host_bridge,
|
|
|
ae23c9 |
PCIBus *rootbus)
|
|
|
ae23c9 |
@@ -915,7 +917,9 @@ static const TypeInfo i440fx_pcihost_info = {
|
|
|
ae23c9 |
static void i440fx_register_types(void)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
type_register_static(&i440fx_info);
|
|
|
ae23c9 |
+#if 0 /* Disabled in Red Hat Enterprise Linux */
|
|
|
ae23c9 |
type_register_static(&igd_passthrough_i440fx_info);
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
type_register_static(&piix3_pci_type_info);
|
|
|
ae23c9 |
type_register_static(&piix3_info);
|
|
|
ae23c9 |
type_register_static(&piix3_xen_info);
|
|
|
ae23c9 |
diff --git a/hw/ppc/Makefile.objs b/hw/ppc/Makefile.objs
|
|
|
ae23c9 |
index 86d82a6..a46a989 100644
|
|
|
ae23c9 |
--- a/hw/ppc/Makefile.objs
|
|
|
ae23c9 |
+++ b/hw/ppc/Makefile.objs
|
|
|
ae23c9 |
@@ -3,7 +3,7 @@ obj-y += ppc.o ppc_booke.o fdt.o
|
|
|
ae23c9 |
# IBM pSeries (sPAPR)
|
|
|
ae23c9 |
obj-$(CONFIG_PSERIES) += spapr.o spapr_caps.o spapr_vio.o spapr_events.o
|
|
|
ae23c9 |
obj-$(CONFIG_PSERIES) += spapr_hcall.o spapr_iommu.o spapr_rtas.o
|
|
|
ae23c9 |
-obj-$(CONFIG_PSERIES) += spapr_pci.o spapr_rtc.o spapr_drc.o spapr_rng.o
|
|
|
ae23c9 |
+obj-$(CONFIG_PSERIES) += spapr_pci.o spapr_rtc.o spapr_drc.o
|
|
|
ae23c9 |
obj-$(CONFIG_PSERIES) += spapr_cpu_core.o spapr_ovec.o
|
|
|
ae23c9 |
# IBM PowerNV
|
|
|
ae23c9 |
obj-$(CONFIG_POWERNV) += pnv.o pnv_xscom.o pnv_core.o pnv_lpc.o pnv_psi.o pnv_occ.o pnv_bmc.o
|
|
|
ae23c9 |
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
|
|
|
ae23c9 |
index a81570e..6a92b20 100644
|
|
|
ae23c9 |
--- a/hw/ppc/spapr.c
|
|
|
ae23c9 |
+++ b/hw/ppc/spapr.c
|
|
|
ae23c9 |
@@ -1153,6 +1153,7 @@ static void *spapr_build_fdt(sPAPRMachineState *spapr,
|
|
|
ae23c9 |
/* /vdevice */
|
|
|
ae23c9 |
spapr_dt_vdevice(spapr->vio_bus, fdt);
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Disabled in Red Hat Enterprise Linux */
|
|
|
ae23c9 |
if (object_resolve_path_type("", TYPE_SPAPR_RNG, NULL)) {
|
|
|
ae23c9 |
ret = spapr_rng_populate_dt(fdt);
|
|
|
ae23c9 |
if (ret < 0) {
|
|
|
ae23c9 |
@@ -1160,7 +1161,7 @@ static void *spapr_build_fdt(sPAPRMachineState *spapr,
|
|
|
ae23c9 |
exit(1);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
-
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
QLIST_FOREACH(phb, &spapr->phbs, list) {
|
|
|
ae23c9 |
ret = spapr_populate_pci_dt(phb, PHANDLE_XICP, fdt);
|
|
|
ae23c9 |
if (ret < 0) {
|
|
|
ae23c9 |
diff --git a/hw/ppc/spapr_cpu_core.c b/hw/ppc/spapr_cpu_core.c
|
|
|
ae23c9 |
index 94afeb3..1eda854 100644
|
|
|
ae23c9 |
--- a/hw/ppc/spapr_cpu_core.c
|
|
|
ae23c9 |
+++ b/hw/ppc/spapr_cpu_core.c
|
|
|
ae23c9 |
@@ -240,10 +240,12 @@ static const TypeInfo spapr_cpu_core_type_infos[] = {
|
|
|
ae23c9 |
.instance_size = sizeof(sPAPRCPUCore),
|
|
|
ae23c9 |
.class_size = sizeof(sPAPRCPUCoreClass),
|
|
|
ae23c9 |
},
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
DEFINE_SPAPR_CPU_CORE_TYPE("970_v2.2"),
|
|
|
ae23c9 |
DEFINE_SPAPR_CPU_CORE_TYPE("970mp_v1.0"),
|
|
|
ae23c9 |
DEFINE_SPAPR_CPU_CORE_TYPE("970mp_v1.1"),
|
|
|
ae23c9 |
DEFINE_SPAPR_CPU_CORE_TYPE("power5+_v2.1"),
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
DEFINE_SPAPR_CPU_CORE_TYPE("power7_v2.3"),
|
|
|
ae23c9 |
DEFINE_SPAPR_CPU_CORE_TYPE("power7+_v2.1"),
|
|
|
ae23c9 |
DEFINE_SPAPR_CPU_CORE_TYPE("power8_v2.0"),
|
|
|
ae23c9 |
diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c
|
|
|
ae23c9 |
index e51fbef..8720e46 100644
|
|
|
ae23c9 |
--- a/hw/s390x/virtio-ccw.c
|
|
|
ae23c9 |
+++ b/hw/s390x/virtio-ccw.c
|
|
|
ae23c9 |
@@ -927,6 +927,8 @@ static void virtio_ccw_rng_realize(VirtioCcwDevice *ccw_dev, Error **errp)
|
|
|
ae23c9 |
NULL);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Disabled in Red Hat Enterprise Linux */
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
static void virtio_ccw_crypto_realize(VirtioCcwDevice *ccw_dev, Error **errp)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
VirtIOCryptoCcw *dev = VIRTIO_CRYPTO_CCW(ccw_dev);
|
|
|
ae23c9 |
@@ -944,6 +946,7 @@ static void virtio_ccw_crypto_realize(VirtioCcwDevice *ccw_dev, Error **errp)
|
|
|
ae23c9 |
OBJECT(dev->vdev.conf.cryptodev), "cryptodev",
|
|
|
ae23c9 |
NULL);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static void virtio_ccw_gpu_realize(VirtioCcwDevice *ccw_dev, Error **errp)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
@@ -1534,6 +1537,8 @@ static const TypeInfo virtio_ccw_rng = {
|
|
|
ae23c9 |
.class_init = virtio_ccw_rng_class_init,
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Disabled in Red Hat Enterprise Linux */
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
static Property virtio_ccw_crypto_properties[] = {
|
|
|
ae23c9 |
DEFINE_PROP_BIT("ioeventfd", VirtioCcwDevice, flags,
|
|
|
ae23c9 |
VIRTIO_CCW_FLAG_USE_IOEVENTFD_BIT, true),
|
|
|
ae23c9 |
@@ -1571,6 +1576,7 @@ static const TypeInfo virtio_ccw_crypto = {
|
|
|
ae23c9 |
.instance_init = virtio_ccw_crypto_instance_init,
|
|
|
ae23c9 |
.class_init = virtio_ccw_crypto_class_init,
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static Property virtio_ccw_gpu_properties[] = {
|
|
|
ae23c9 |
DEFINE_PROP_BIT("ioeventfd", VirtioCcwDevice, flags,
|
|
|
ae23c9 |
@@ -1895,7 +1901,9 @@ static void virtio_ccw_register(void)
|
|
|
ae23c9 |
#ifdef CONFIG_VHOST_VSOCK
|
|
|
ae23c9 |
type_register_static(&vhost_vsock_ccw_info);
|
|
|
ae23c9 |
#endif
|
|
|
ae23c9 |
+#if 0 /* Disabled in Red Hat Enterprise Linux */
|
|
|
ae23c9 |
type_register_static(&virtio_ccw_crypto);
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
type_register_static(&virtio_ccw_gpu);
|
|
|
ae23c9 |
type_register_static(&virtio_ccw_input);
|
|
|
ae23c9 |
type_register_static(&virtio_ccw_input_hid);
|
|
|
ae23c9 |
diff --git a/hw/usb/ccid-card-emulated.c b/hw/usb/ccid-card-emulated.c
|
|
|
ae23c9 |
index ea42e46..f2d8b0d 100644
|
|
|
ae23c9 |
--- a/hw/usb/ccid-card-emulated.c
|
|
|
ae23c9 |
+++ b/hw/usb/ccid-card-emulated.c
|
|
|
ae23c9 |
@@ -588,6 +588,8 @@ static void emulated_class_initfn(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
|
|
|
ae23c9 |
dc->desc = "emulated smartcard";
|
|
|
ae23c9 |
dc->props = emulated_card_properties;
|
|
|
ae23c9 |
+ /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
+ dc->user_creatable = false;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const TypeInfo emulated_card_info = {
|
|
|
ae23c9 |
diff --git a/hw/vfio/Makefile.objs b/hw/vfio/Makefile.objs
|
|
|
ae23c9 |
index a2e7a0a..b25ca64 100644
|
|
|
ae23c9 |
--- a/hw/vfio/Makefile.objs
|
|
|
ae23c9 |
+++ b/hw/vfio/Makefile.objs
|
|
|
ae23c9 |
@@ -2,8 +2,5 @@ ifeq ($(CONFIG_LINUX), y)
|
|
|
ae23c9 |
obj-$(CONFIG_SOFTMMU) += common.o
|
|
|
ae23c9 |
obj-$(CONFIG_PCI) += pci.o pci-quirks.o display.o
|
|
|
ae23c9 |
obj-$(CONFIG_VFIO_CCW) += ccw.o
|
|
|
ae23c9 |
-obj-$(CONFIG_SOFTMMU) += platform.o
|
|
|
ae23c9 |
-obj-$(CONFIG_VFIO_XGMAC) += calxeda-xgmac.o
|
|
|
ae23c9 |
-obj-$(CONFIG_VFIO_AMD_XGBE) += amd-xgbe.o
|
|
|
ae23c9 |
obj-$(CONFIG_SOFTMMU) += spapr.o
|
|
|
ae23c9 |
endif
|
|
|
ae23c9 |
diff --git a/hw/vfio/pci-quirks.c b/hw/vfio/pci-quirks.c
|
|
|
ae23c9 |
index e5779a7..cb2f79c 100644
|
|
|
ae23c9 |
--- a/hw/vfio/pci-quirks.c
|
|
|
ae23c9 |
+++ b/hw/vfio/pci-quirks.c
|
|
|
ae23c9 |
@@ -1193,6 +1193,8 @@ static void vfio_pci_igd_lpc_bridge_class_init(ObjectClass *klass, void *data)
|
|
|
ae23c9 |
set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
|
|
|
ae23c9 |
dc->desc = "VFIO dummy ISA/LPC bridge for IGD assignment";
|
|
|
ae23c9 |
dc->hotpluggable = false;
|
|
|
ae23c9 |
+ /* Disabled in Red Hat Enterprise Linux */
|
|
|
ae23c9 |
+ dc->user_creatable = false;
|
|
|
ae23c9 |
k->realize = vfio_pci_igd_lpc_bridge_realize;
|
|
|
ae23c9 |
k->class_id = PCI_CLASS_BRIDGE_ISA;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
@@ -1386,6 +1388,9 @@ static void vfio_probe_igd_bar4_quirk(VFIOPCIDevice *vdev, int nr)
|
|
|
ae23c9 |
0, PCI_DEVFN(0x2, 0))) {
|
|
|
ae23c9 |
return;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
+ /* Disabled in Red Hat Enterprise Linux */
|
|
|
ae23c9 |
+ return;
|
|
|
ae23c9 |
|
|
|
ae23c9 |
/*
|
|
|
ae23c9 |
* We need to create an LPC/ISA bridge at PCI bus address 00:1f.0 that we
|
|
|
ae23c9 |
diff --git a/hw/virtio/Makefile.objs b/hw/virtio/Makefile.objs
|
|
|
ae23c9 |
index 765d363..a5a0936 100644
|
|
|
ae23c9 |
--- a/hw/virtio/Makefile.objs
|
|
|
ae23c9 |
+++ b/hw/virtio/Makefile.objs
|
|
|
ae23c9 |
@@ -7,8 +7,9 @@ common-obj-y += virtio-mmio.o
|
|
|
ae23c9 |
obj-y += virtio.o virtio-balloon.o
|
|
|
ae23c9 |
obj-$(CONFIG_LINUX) += vhost.o vhost-backend.o vhost-user.o
|
|
|
ae23c9 |
obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock.o
|
|
|
ae23c9 |
-obj-y += virtio-crypto.o
|
|
|
ae23c9 |
-obj-$(CONFIG_VIRTIO_PCI) += virtio-crypto-pci.o
|
|
|
ae23c9 |
+# Disabled in Red Hat Enterprise Linux
|
|
|
ae23c9 |
+#obj-y += virtio-crypto.o
|
|
|
ae23c9 |
+#obj-$(CONFIG_VIRTIO_PCI) += virtio-crypto-pci.o
|
|
|
ae23c9 |
endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
common-obj-$(call lnot,$(CONFIG_LINUX)) += vhost-stub.o
|
|
|
ae23c9 |
diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c
|
|
|
ae23c9 |
index 1e8ab7b..92bdc9e 100644
|
|
|
ae23c9 |
--- a/hw/virtio/virtio-pci.c
|
|
|
ae23c9 |
+++ b/hw/virtio/virtio-pci.c
|
|
|
ae23c9 |
@@ -1983,7 +1983,7 @@ static const TypeInfo virtio_blk_pci_info = {
|
|
|
ae23c9 |
.class_init = virtio_blk_pci_class_init,
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
-#if defined(CONFIG_VHOST_USER) && defined(CONFIG_LINUX)
|
|
|
ae23c9 |
+#if defined(CONFIG_VHOST_USER_BLK)
|
|
|
ae23c9 |
/* vhost-user-blk */
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static Property vhost_user_blk_pci_properties[] = {
|
|
|
ae23c9 |
@@ -2163,7 +2163,7 @@ static const TypeInfo vhost_scsi_pci_info = {
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
#endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
-#if defined(CONFIG_VHOST_USER) && defined(CONFIG_LINUX)
|
|
|
ae23c9 |
+#if defined(CONFIG_VHOST_USER_BLK)
|
|
|
ae23c9 |
/* vhost-user-scsi-pci */
|
|
|
ae23c9 |
static Property vhost_user_scsi_pci_properties[] = {
|
|
|
ae23c9 |
DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
|
|
|
ae23c9 |
@@ -2686,7 +2686,7 @@ static void virtio_pci_register_types(void)
|
|
|
ae23c9 |
type_register_static(&virtio_9p_pci_info);
|
|
|
ae23c9 |
#endif
|
|
|
ae23c9 |
type_register_static(&virtio_blk_pci_info);
|
|
|
ae23c9 |
-#if defined(CONFIG_VHOST_USER) && defined(CONFIG_LINUX)
|
|
|
ae23c9 |
+#if defined(CONFIG_VHOST_USER_BLK)
|
|
|
ae23c9 |
type_register_static(&vhost_user_blk_pci_info);
|
|
|
ae23c9 |
#endif
|
|
|
ae23c9 |
type_register_static(&virtio_scsi_pci_info);
|
|
|
ae23c9 |
@@ -2696,7 +2696,7 @@ static void virtio_pci_register_types(void)
|
|
|
ae23c9 |
#ifdef CONFIG_VHOST_SCSI
|
|
|
ae23c9 |
type_register_static(&vhost_scsi_pci_info);
|
|
|
ae23c9 |
#endif
|
|
|
ae23c9 |
-#if defined(CONFIG_VHOST_USER) && defined(CONFIG_LINUX)
|
|
|
ae23c9 |
+#if defined(CONFIG_VHOST_USER_SCSI)
|
|
|
ae23c9 |
type_register_static(&vhost_user_scsi_pci_info);
|
|
|
ae23c9 |
#endif
|
|
|
ae23c9 |
#ifdef CONFIG_VHOST_VSOCK
|
|
|
ae23c9 |
diff --git a/qemu-options.hx b/qemu-options.hx
|
|
|
ae23c9 |
index ca4e412..2042dba 100644
|
|
|
ae23c9 |
--- a/qemu-options.hx
|
|
|
ae23c9 |
+++ b/qemu-options.hx
|
|
|
ae23c9 |
@@ -1811,11 +1811,6 @@ ETEXI
|
|
|
ae23c9 |
|
|
|
ae23c9 |
DEF("no-hpet", 0, QEMU_OPTION_no_hpet,
|
|
|
ae23c9 |
"-no-hpet disable HPET\n", QEMU_ARCH_I386)
|
|
|
ae23c9 |
-STEXI
|
|
|
ae23c9 |
-@item -no-hpet
|
|
|
ae23c9 |
-@findex -no-hpet
|
|
|
ae23c9 |
-Disable HPET support.
|
|
|
ae23c9 |
-ETEXI
|
|
|
ae23c9 |
|
|
|
ae23c9 |
DEF("acpitable", HAS_ARG, QEMU_OPTION_acpitable,
|
|
|
ae23c9 |
"-acpitable [sig=str][,rev=n][,oem_id=str][,oem_table_id=str][,oem_rev=n][,asl_compiler_id=str][,asl_compiler_rev=n][,{data|file}=file1[:file2]...]\n"
|
|
|
ae23c9 |
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
|
|
|
ae23c9 |
index 2d59d84..dfdfca7 100644
|
|
|
ae23c9 |
--- a/stubs/Makefile.objs
|
|
|
ae23c9 |
+++ b/stubs/Makefile.objs
|
|
|
ae23c9 |
@@ -43,3 +43,4 @@ stub-obj-y += xen-common.o
|
|
|
ae23c9 |
stub-obj-y += xen-hvm.o
|
|
|
ae23c9 |
stub-obj-y += pci-host-piix.o
|
|
|
ae23c9 |
stub-obj-y += ram-block.o
|
|
|
ae23c9 |
+stub-obj-y += ide-isa.o
|
|
|
ae23c9 |
diff --git a/stubs/ide-isa.c b/stubs/ide-isa.c
|
|
|
ae23c9 |
new file mode 100644
|
|
|
ae23c9 |
index 0000000..9fd50ef
|
|
|
ae23c9 |
--- /dev/null
|
|
|
ae23c9 |
+++ b/stubs/ide-isa.c
|
|
|
ae23c9 |
@@ -0,0 +1,13 @@
|
|
|
ae23c9 |
+#include "qemu/osdep.h"
|
|
|
ae23c9 |
+#include "hw/ide.h"
|
|
|
ae23c9 |
+#include <stdlib.h>
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
+ISADevice *isa_ide_init(ISABus *bus, int iobase, int iobase2, int isairq,
|
|
|
ae23c9 |
+ DriveInfo *hd0, DriveInfo *hd1)
|
|
|
ae23c9 |
+{
|
|
|
ae23c9 |
+ /*
|
|
|
ae23c9 |
+ * In theory the real isa_ide_init() function can return NULL, but no
|
|
|
ae23c9 |
+ * caller actually checks for that. Make sure we go out with a clear bang.
|
|
|
ae23c9 |
+ */
|
|
|
ae23c9 |
+ abort();
|
|
|
ae23c9 |
+}
|
|
|
ae23c9 |
diff --git a/target/arm/cpu.c b/target/arm/cpu.c
|
|
|
ae23c9 |
index 022d8c5..4255e9c 100644
|
|
|
ae23c9 |
--- a/target/arm/cpu.c
|
|
|
ae23c9 |
+++ b/target/arm/cpu.c
|
|
|
ae23c9 |
@@ -1953,7 +1953,9 @@ static void arm_cpu_register_types(void)
|
|
|
ae23c9 |
type_register_static(&idau_interface_type_info);
|
|
|
ae23c9 |
|
|
|
ae23c9 |
while (info->name) {
|
|
|
ae23c9 |
- cpu_register(info);
|
|
|
ae23c9 |
+ /* RHEL specific: Filter out unsupported cpu models */
|
|
|
ae23c9 |
+ if (!strcmp(info->name, "cortex-a15"))
|
|
|
ae23c9 |
+ cpu_register(info);
|
|
|
ae23c9 |
info++;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
|
|
|
ae23c9 |
index a20fe26..f483a71 100644
|
|
|
ae23c9 |
--- a/target/i386/cpu.c
|
|
|
ae23c9 |
+++ b/target/i386/cpu.c
|
|
|
ae23c9 |
@@ -825,14 +825,14 @@ static X86CPUDefinition builtin_x86_defs[] = {
|
|
|
ae23c9 |
.family = 6,
|
|
|
ae23c9 |
.model = 6,
|
|
|
ae23c9 |
.stepping = 3,
|
|
|
ae23c9 |
- .features[FEAT_1_EDX] =
|
|
|
ae23c9 |
- PPRO_FEATURES |
|
|
|
ae23c9 |
- CPUID_MTRR | CPUID_CLFLUSH | CPUID_MCA |
|
|
|
ae23c9 |
- CPUID_PSE36,
|
|
|
ae23c9 |
- .features[FEAT_1_ECX] =
|
|
|
ae23c9 |
- CPUID_EXT_SSE3 | CPUID_EXT_CX16,
|
|
|
ae23c9 |
- .features[FEAT_8000_0001_EDX] =
|
|
|
ae23c9 |
- CPUID_EXT2_LM | CPUID_EXT2_SYSCALL | CPUID_EXT2_NX,
|
|
|
ae23c9 |
+ .features[FEAT_1_EDX] = CPUID_SSE2 | CPUID_SSE | CPUID_FXSR |
|
|
|
ae23c9 |
+ CPUID_MMX | CPUID_CLFLUSH | CPUID_PSE36 | CPUID_PAT | CPUID_CMOV |
|
|
|
ae23c9 |
+ CPUID_MCA | CPUID_PGE | CPUID_MTRR | CPUID_SEP | CPUID_APIC |
|
|
|
ae23c9 |
+ CPUID_CX8 | CPUID_MCE | CPUID_PAE | CPUID_MSR | CPUID_TSC |
|
|
|
ae23c9 |
+ CPUID_PSE | CPUID_DE | CPUID_FP87,
|
|
|
ae23c9 |
+ .features[FEAT_1_ECX] = CPUID_EXT_CX16 | CPUID_EXT_SSE3,
|
|
|
ae23c9 |
+ .features[FEAT_8000_0001_EDX] = CPUID_EXT2_LM | CPUID_EXT2_NX |
|
|
|
ae23c9 |
+ CPUID_EXT2_SYSCALL,
|
|
|
ae23c9 |
.features[FEAT_8000_0001_ECX] =
|
|
|
ae23c9 |
CPUID_EXT3_LAHF_LM | CPUID_EXT3_SVM,
|
|
|
ae23c9 |
.xlevel = 0x8000000A,
|
|
|
ae23c9 |
@@ -1062,6 +1062,25 @@ static X86CPUDefinition builtin_x86_defs[] = {
|
|
|
ae23c9 |
.model_id = "Intel(R) Atom(TM) CPU N270 @ 1.60GHz",
|
|
|
ae23c9 |
},
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
+ .name = "cpu64-rhel6",
|
|
|
ae23c9 |
+ .level = 4,
|
|
|
ae23c9 |
+ .vendor = CPUID_VENDOR_AMD,
|
|
|
ae23c9 |
+ .family = 6,
|
|
|
ae23c9 |
+ .model = 13,
|
|
|
ae23c9 |
+ .stepping = 3,
|
|
|
ae23c9 |
+ .features[FEAT_1_EDX] = CPUID_SSE2 | CPUID_SSE | CPUID_FXSR |
|
|
|
ae23c9 |
+ CPUID_MMX | CPUID_CLFLUSH | CPUID_PSE36 | CPUID_PAT | CPUID_CMOV |
|
|
|
ae23c9 |
+ CPUID_MCA | CPUID_PGE | CPUID_MTRR | CPUID_SEP | CPUID_APIC |
|
|
|
ae23c9 |
+ CPUID_CX8 | CPUID_MCE | CPUID_PAE | CPUID_MSR | CPUID_TSC |
|
|
|
ae23c9 |
+ CPUID_PSE | CPUID_DE | CPUID_FP87,
|
|
|
ae23c9 |
+ .features[FEAT_1_ECX] = CPUID_EXT_CX16 | CPUID_EXT_SSE3,
|
|
|
ae23c9 |
+ .features[FEAT_8000_0001_EDX] = CPUID_EXT2_LM | CPUID_EXT2_NX | CPUID_EXT2_SYSCALL,
|
|
|
ae23c9 |
+ .features[FEAT_8000_0001_ECX] = CPUID_EXT3_SSE4A | CPUID_EXT3_ABM |
|
|
|
ae23c9 |
+ CPUID_EXT3_SVM | CPUID_EXT3_LAHF_LM,
|
|
|
ae23c9 |
+ .xlevel = 0x8000000A,
|
|
|
ae23c9 |
+ .model_id = "QEMU Virtual CPU version (cpu64-rhel6)",
|
|
|
ae23c9 |
+ },
|
|
|
ae23c9 |
+ {
|
|
|
ae23c9 |
.name = "Conroe",
|
|
|
ae23c9 |
.level = 10,
|
|
|
ae23c9 |
.vendor = CPUID_VENDOR_INTEL,
|
|
|
ae23c9 |
@@ -4764,11 +4783,13 @@ static Property x86_cpu_properties[] = {
|
|
|
ae23c9 |
DEFINE_PROP_BOOL("hv-vapic", X86CPU, hyperv_vapic, false),
|
|
|
ae23c9 |
DEFINE_PROP_BOOL("hv-time", X86CPU, hyperv_time, false),
|
|
|
ae23c9 |
DEFINE_PROP_BOOL("hv-crash", X86CPU, hyperv_crash, false),
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
DEFINE_PROP_BOOL("hv-reset", X86CPU, hyperv_reset, false),
|
|
|
ae23c9 |
DEFINE_PROP_BOOL("hv-vpindex", X86CPU, hyperv_vpindex, false),
|
|
|
ae23c9 |
DEFINE_PROP_BOOL("hv-runtime", X86CPU, hyperv_runtime, false),
|
|
|
ae23c9 |
DEFINE_PROP_BOOL("hv-synic", X86CPU, hyperv_synic, false),
|
|
|
ae23c9 |
DEFINE_PROP_BOOL("hv-stimer", X86CPU, hyperv_stimer, false),
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
DEFINE_PROP_BOOL("hv-frequencies", X86CPU, hyperv_frequencies, false),
|
|
|
ae23c9 |
DEFINE_PROP_BOOL("check", X86CPU, check_cpuid, true),
|
|
|
ae23c9 |
DEFINE_PROP_BOOL("enforce", X86CPU, enforce_cpuid, false),
|
|
|
ae23c9 |
diff --git a/target/ppc/cpu-models.c b/target/ppc/cpu-models.c
|
|
|
ae23c9 |
index 6c9bfde..77cb298 100644
|
|
|
ae23c9 |
--- a/target/ppc/cpu-models.c
|
|
|
ae23c9 |
+++ b/target/ppc/cpu-models.c
|
|
|
ae23c9 |
@@ -65,6 +65,7 @@
|
|
|
ae23c9 |
#define POWERPC_DEF(_name, _pvr, _type, _desc) \
|
|
|
ae23c9 |
POWERPC_DEF_SVR(_name, _desc, _pvr, POWERPC_SVR_NONE, _type)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Embedded and 32-bit CPUs disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
/* Embedded PowerPC */
|
|
|
ae23c9 |
/* PowerPC 401 family */
|
|
|
ae23c9 |
POWERPC_DEF("401", CPU_POWERPC_401, 401,
|
|
|
ae23c9 |
@@ -739,10 +740,13 @@
|
|
|
ae23c9 |
"PowerPC 7447A v1.2 (G4)")
|
|
|
ae23c9 |
POWERPC_DEF("7457a_v1.2", CPU_POWERPC_74x7A_v12, 7455,
|
|
|
ae23c9 |
"PowerPC 7457A v1.2 (G4)")
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
/* 64 bits PowerPC */
|
|
|
ae23c9 |
#if defined (TARGET_PPC64)
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
POWERPC_DEF("power5+_v2.1", CPU_POWERPC_POWER5P_v21, POWER5P,
|
|
|
ae23c9 |
"POWER5+ v2.1")
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
POWERPC_DEF("power7_v2.3", CPU_POWERPC_POWER7_v23, POWER7,
|
|
|
ae23c9 |
"POWER7 v2.3")
|
|
|
ae23c9 |
POWERPC_DEF("power7+_v2.1", CPU_POWERPC_POWER7P_v21, POWER7,
|
|
|
ae23c9 |
@@ -753,14 +757,17 @@
|
|
|
ae23c9 |
"POWER8 v2.0")
|
|
|
ae23c9 |
POWERPC_DEF("power8nvl_v1.0", CPU_POWERPC_POWER8NVL_v10, POWER8,
|
|
|
ae23c9 |
"POWER8NVL v1.0")
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
POWERPC_DEF("970_v2.2", CPU_POWERPC_970_v22, 970,
|
|
|
ae23c9 |
"PowerPC 970 v2.2")
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
POWERPC_DEF("power9_v1.0", CPU_POWERPC_POWER9_DD1, POWER9,
|
|
|
ae23c9 |
"POWER9 v1.0")
|
|
|
ae23c9 |
POWERPC_DEF("power9_v2.0", CPU_POWERPC_POWER9_DD20, POWER9,
|
|
|
ae23c9 |
"POWER9 v2.0")
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
POWERPC_DEF("970fx_v1.0", CPU_POWERPC_970FX_v10, 970,
|
|
|
ae23c9 |
"PowerPC 970FX v1.0 (G5)")
|
|
|
ae23c9 |
POWERPC_DEF("970fx_v2.0", CPU_POWERPC_970FX_v20, 970,
|
|
|
ae23c9 |
@@ -775,12 +782,14 @@
|
|
|
ae23c9 |
"PowerPC 970MP v1.0")
|
|
|
ae23c9 |
POWERPC_DEF("970mp_v1.1", CPU_POWERPC_970MP_v11, 970,
|
|
|
ae23c9 |
"PowerPC 970MP v1.1")
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
#endif /* defined (TARGET_PPC64) */
|
|
|
ae23c9 |
|
|
|
ae23c9 |
/***************************************************************************/
|
|
|
ae23c9 |
/* PowerPC CPU aliases */
|
|
|
ae23c9 |
|
|
|
ae23c9 |
PowerPCCPUAlias ppc_cpu_aliases[] = {
|
|
|
ae23c9 |
+#if 0 /* Embedded and 32-bit CPUs disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
{ "403", "403gc" },
|
|
|
ae23c9 |
{ "405", "405d4" },
|
|
|
ae23c9 |
{ "405cr", "405crc" },
|
|
|
ae23c9 |
@@ -939,20 +948,25 @@ PowerPCCPUAlias ppc_cpu_aliases[] = {
|
|
|
ae23c9 |
{ "7447a", "7447a_v1.2" },
|
|
|
ae23c9 |
{ "7457a", "7457a_v1.2" },
|
|
|
ae23c9 |
{ "apollo7pm", "7457a_v1.0" },
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
#if defined(TARGET_PPC64)
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
{ "power5+", "power5+_v2.1" },
|
|
|
ae23c9 |
{ "power5gs", "power5+_v2.1" },
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
{ "power7", "power7_v2.3" },
|
|
|
ae23c9 |
{ "power7+", "power7+_v2.1" },
|
|
|
ae23c9 |
{ "power8e", "power8e_v2.1" },
|
|
|
ae23c9 |
{ "power8", "power8_v2.0" },
|
|
|
ae23c9 |
{ "power8nvl", "power8nvl_v1.0" },
|
|
|
ae23c9 |
{ "power9", "power9_v2.0" },
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
{ "970", "970_v2.2" },
|
|
|
ae23c9 |
{ "970fx", "970fx_v3.1" },
|
|
|
ae23c9 |
{ "970mp", "970mp_v1.1" },
|
|
|
ae23c9 |
#endif
|
|
|
ae23c9 |
-
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
/* Generic PowerPCs */
|
|
|
ae23c9 |
#if defined(TARGET_PPC64)
|
|
|
ae23c9 |
{ "ppc64", "970fx_v3.1" },
|
|
|
ae23c9 |
@@ -960,5 +974,6 @@ PowerPCCPUAlias ppc_cpu_aliases[] = {
|
|
|
ae23c9 |
{ "ppc32", "604" },
|
|
|
ae23c9 |
{ "ppc", "604" },
|
|
|
ae23c9 |
{ "default", "604" },
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
{ NULL, NULL }
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
diff --git a/target/s390x/cpu_models.c b/target/s390x/cpu_models.c
|
|
|
ae23c9 |
index 2741b68..c4016e0 100644
|
|
|
ae23c9 |
--- a/target/s390x/cpu_models.c
|
|
|
ae23c9 |
+++ b/target/s390x/cpu_models.c
|
|
|
ae23c9 |
@@ -372,6 +372,9 @@ static void check_unavailable_features(const S390CPUModel *max_model,
|
|
|
ae23c9 |
(max_model->def->gen == model->def->gen &&
|
|
|
ae23c9 |
max_model->def->ec_ga < model->def->ec_ga)) {
|
|
|
ae23c9 |
list_add_feat("type", unavailable);
|
|
|
ae23c9 |
+ } else if (model->def->gen < 11 && kvm_enabled()) {
|
|
|
ae23c9 |
+ /* Older CPU models are not supported on Red Hat Enterprise Linux */
|
|
|
ae23c9 |
+ list_add_feat("type", unavailable);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
/* detect missing features if any to properly report them */
|
|
|
ae23c9 |
diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c
|
|
|
ae23c9 |
index fb59d92..fbccceb 100644
|
|
|
ae23c9 |
--- a/target/s390x/kvm.c
|
|
|
ae23c9 |
+++ b/target/s390x/kvm.c
|
|
|
ae23c9 |
@@ -2285,6 +2285,14 @@ void kvm_s390_apply_cpu_model(const S390CPUModel *model, Error **errp)
|
|
|
ae23c9 |
error_setg(errp, "KVM doesn't support CPU models");
|
|
|
ae23c9 |
return;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
+ /* Older CPU models are not supported on Red Hat Enterprise Linux */
|
|
|
ae23c9 |
+ if (model->def->gen < 11) {
|
|
|
ae23c9 |
+ error_setg(errp, "KVM: Unsupported CPU type specified: %s",
|
|
|
ae23c9 |
+ MACHINE(qdev_get_machine())->cpu_type);
|
|
|
ae23c9 |
+ return;
|
|
|
ae23c9 |
+ }
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
prop.cpuid = s390_cpuid_from_cpu_model(model);
|
|
|
ae23c9 |
prop.ibc = s390_ibc_from_cpu_model(model);
|
|
|
ae23c9 |
/* configure cpu features indicated via STFL(e) */
|
|
|
ae23c9 |
diff --git a/tests/Makefile.include b/tests/Makefile.include
|
|
|
ae23c9 |
index 3b9a5e3..3fd4706 100644
|
|
|
ae23c9 |
--- a/tests/Makefile.include
|
|
|
ae23c9 |
+++ b/tests/Makefile.include
|
|
|
ae23c9 |
@@ -181,8 +181,8 @@ check-qtest-generic-y += tests/device-introspect-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-generic-y = qdev-monitor.c qmp.c
|
|
|
ae23c9 |
|
|
|
ae23c9 |
gcov-files-ipack-y += hw/ipack/ipack.c
|
|
|
ae23c9 |
-check-qtest-ipack-y += tests/ipoctal232-test$(EXESUF)
|
|
|
ae23c9 |
-gcov-files-ipack-y += hw/char/ipoctal232.c
|
|
|
ae23c9 |
+#check-qtest-ipack-y += tests/ipoctal232-test$(EXESUF)
|
|
|
ae23c9 |
+#gcov-files-ipack-y += hw/char/ipoctal232.c
|
|
|
ae23c9 |
|
|
|
ae23c9 |
check-qtest-virtioserial-y += tests/virtio-console-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-virtioserial-y += hw/char/virtio-console.c
|
|
|
ae23c9 |
@@ -214,23 +214,23 @@ check-qtest-pci-y += tests/e1000e-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-pci-y += hw/net/e1000e.c hw/net/e1000e_core.c
|
|
|
ae23c9 |
check-qtest-pci-y += tests/rtl8139-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-pci-y += hw/net/rtl8139.c
|
|
|
ae23c9 |
-check-qtest-pci-y += tests/pcnet-test$(EXESUF)
|
|
|
ae23c9 |
-gcov-files-pci-y += hw/net/pcnet.c
|
|
|
ae23c9 |
-gcov-files-pci-y += hw/net/pcnet-pci.c
|
|
|
ae23c9 |
-check-qtest-pci-y += tests/eepro100-test$(EXESUF)
|
|
|
ae23c9 |
-gcov-files-pci-y += hw/net/eepro100.c
|
|
|
ae23c9 |
-check-qtest-pci-y += tests/ne2000-test$(EXESUF)
|
|
|
ae23c9 |
-gcov-files-pci-y += hw/net/ne2000.c
|
|
|
ae23c9 |
-check-qtest-pci-y += tests/nvme-test$(EXESUF)
|
|
|
ae23c9 |
-gcov-files-pci-y += hw/block/nvme.c
|
|
|
ae23c9 |
+#check-qtest-pci-y += tests/pcnet-test$(EXESUF)
|
|
|
ae23c9 |
+#gcov-files-pci-y += hw/net/pcnet.c
|
|
|
ae23c9 |
+#gcov-files-pci-y += hw/net/pcnet-pci.c
|
|
|
ae23c9 |
+#check-qtest-pci-y += tests/eepro100-test$(EXESUF)
|
|
|
ae23c9 |
+#gcov-files-pci-y += hw/net/eepro100.c
|
|
|
ae23c9 |
+#check-qtest-pci-y += tests/ne2000-test$(EXESUF)
|
|
|
ae23c9 |
+#gcov-files-pci-y += hw/net/ne2000.c
|
|
|
ae23c9 |
+#check-qtest-pci-y += tests/nvme-test$(EXESUF)
|
|
|
ae23c9 |
+#gcov-files-pci-y += hw/block/nvme.c
|
|
|
ae23c9 |
check-qtest-pci-y += tests/ac97-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-pci-y += hw/audio/ac97.c
|
|
|
ae23c9 |
-check-qtest-pci-y += tests/es1370-test$(EXESUF)
|
|
|
ae23c9 |
-gcov-files-pci-y += hw/audio/es1370.c
|
|
|
ae23c9 |
+#check-qtest-pci-y += tests/es1370-test$(EXESUF)
|
|
|
ae23c9 |
+#gcov-files-pci-y += hw/audio/es1370.c
|
|
|
ae23c9 |
check-qtest-pci-y += $(check-qtest-virtio-y)
|
|
|
ae23c9 |
gcov-files-pci-y += $(gcov-files-virtio-y) hw/virtio/virtio-pci.c
|
|
|
ae23c9 |
-check-qtest-pci-y += tests/tpci200-test$(EXESUF)
|
|
|
ae23c9 |
-gcov-files-pci-y += hw/ipack/tpci200.c
|
|
|
ae23c9 |
+#check-qtest-pci-y += tests/tpci200-test$(EXESUF)
|
|
|
ae23c9 |
+#gcov-files-pci-y += hw/ipack/tpci200.c
|
|
|
ae23c9 |
check-qtest-pci-y += $(check-qtest-ipack-y)
|
|
|
ae23c9 |
gcov-files-pci-y += $(gcov-files-ipack-y)
|
|
|
ae23c9 |
check-qtest-pci-y += tests/display-vga-test$(EXESUF)
|
|
|
ae23c9 |
@@ -244,23 +244,23 @@ check-qtest-pci-y += tests/intel-hda-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-pci-y += hw/audio/intel-hda.c hw/audio/hda-codec.c
|
|
|
ae23c9 |
check-qtest-pci-$(CONFIG_IVSHMEM) += tests/ivshmem-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-pci-y += hw/misc/ivshmem.c
|
|
|
ae23c9 |
-check-qtest-pci-y += tests/megasas-test$(EXESUF)
|
|
|
ae23c9 |
-gcov-files-pci-y += hw/scsi/megasas.c
|
|
|
ae23c9 |
+#check-qtest-pci-y += tests/megasas-test$(EXESUF)
|
|
|
ae23c9 |
+#gcov-files-pci-y += hw/scsi/megasas.c
|
|
|
ae23c9 |
|
|
|
ae23c9 |
check-qtest-i386-y = tests/endianness-test$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-i386-y += tests/fdc-test$(EXESUF)
|
|
|
ae23c9 |
-gcov-files-i386-y = hw/block/fdc.c
|
|
|
ae23c9 |
+#check-qtest-i386-y += tests/fdc-test$(EXESUF)
|
|
|
ae23c9 |
+#gcov-files-i386-y = hw/block/fdc.c
|
|
|
ae23c9 |
check-qtest-i386-y += tests/ide-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-y += tests/ahci-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-y += tests/hd-geo-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-i386-y += hw/block/hd-geometry.c
|
|
|
ae23c9 |
check-qtest-i386-y += tests/boot-order-test$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-i386-y += tests/bios-tables-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-i386-y += tests/bios-tables-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-y += tests/boot-serial-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-$(CONFIG_SLIRP) += tests/pxe-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-y += tests/rtc-test$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-i386-y += tests/ipmi-kcs-test$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-i386-y += tests/ipmi-bt-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-i386-y += tests/ipmi-kcs-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-i386-y += tests/ipmi-bt-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-y += tests/i440fx-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-y += tests/fw_cfg-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-y += tests/drive_del-test$(EXESUF)
|
|
|
ae23c9 |
@@ -269,8 +269,8 @@ check-qtest-i386-y += tests/tco-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-i386-y += hw/watchdog/watchdog.c hw/watchdog/wdt_ib700.c
|
|
|
ae23c9 |
check-qtest-i386-y += $(check-qtest-pci-y)
|
|
|
ae23c9 |
gcov-files-i386-y += $(gcov-files-pci-y)
|
|
|
ae23c9 |
-check-qtest-i386-y += tests/vmxnet3-test$(EXESUF)
|
|
|
ae23c9 |
-gcov-files-i386-y += hw/net/vmxnet3.c
|
|
|
ae23c9 |
+#check-qtest-i386-y += tests/vmxnet3-test$(EXESUF)
|
|
|
ae23c9 |
+#gcov-files-i386-y += hw/net/vmxnet3.c
|
|
|
ae23c9 |
gcov-files-i386-y += hw/net/net_rx_pkt.c
|
|
|
ae23c9 |
gcov-files-i386-y += hw/net/net_tx_pkt.c
|
|
|
ae23c9 |
check-qtest-i386-y += tests/pvpanic-test$(EXESUF)
|
|
|
ae23c9 |
@@ -279,8 +279,8 @@ check-qtest-i386-y += tests/i82801b11-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-i386-y += hw/pci-bridge/i82801b11.c
|
|
|
ae23c9 |
check-qtest-i386-y += tests/ioh3420-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-i386-y += hw/pci-bridge/ioh3420.c
|
|
|
ae23c9 |
-check-qtest-i386-y += tests/usb-hcd-ohci-test$(EXESUF)
|
|
|
ae23c9 |
-gcov-files-i386-y += hw/usb/hcd-ohci.c
|
|
|
ae23c9 |
+#check-qtest-i386-y += tests/usb-hcd-ohci-test$(EXESUF)
|
|
|
ae23c9 |
+#gcov-files-i386-y += hw/usb/hcd-ohci.c
|
|
|
ae23c9 |
check-qtest-i386-y += tests/usb-hcd-uhci-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-i386-y += hw/usb/hcd-uhci.c
|
|
|
ae23c9 |
check-qtest-i386-y += tests/usb-hcd-ehci-test$(EXESUF)
|
|
|
ae23c9 |
@@ -306,7 +306,7 @@ check-qtest-i386-y += tests/migration-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-y += tests/test-x86-cpuid-compat$(EXESUF)
|
|
|
ae23c9 |
check-qtest-i386-y += tests/numa-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-x86_64-y += $(check-qtest-i386-y)
|
|
|
ae23c9 |
-check-qtest-x86_64-y += tests/sdhci-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-x86_64-y += tests/sdhci-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-i386-y += i386-softmmu/hw/timer/mc146818rtc.c
|
|
|
ae23c9 |
gcov-files-x86_64-y = $(subst i386-softmmu/,x86_64-softmmu/,$(gcov-files-i386-y))
|
|
|
ae23c9 |
|
|
|
ae23c9 |
@@ -328,7 +328,7 @@ check-qtest-moxie-y = tests/boot-serial-test$(EXESUF)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
check-qtest-ppc-y = tests/endianness-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-ppc-y += tests/boot-order-test$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-ppc-y += tests/prom-env-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-ppc-y += tests/prom-env-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-ppc-y += tests/drive_del-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-ppc-y += tests/boot-serial-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-ppc-y += tests/m48t59-test$(EXESUF)
|
|
|
ae23c9 |
@@ -342,19 +342,19 @@ check-qtest-ppc64-y += tests/pnv-xscom-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-ppc64-y += tests/migration-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-ppc64-y += tests/rtas-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-ppc64-$(CONFIG_SLIRP) += tests/pxe-test$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-ppc64-y += tests/usb-hcd-ohci-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-ppc64-y += tests/usb-hcd-ohci-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-ppc64-y += hw/usb/hcd-ohci.c
|
|
|
ae23c9 |
-check-qtest-ppc64-y += tests/usb-hcd-uhci-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-ppc64-y += tests/usb-hcd-uhci-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-ppc64-y += hw/usb/hcd-uhci.c
|
|
|
ae23c9 |
check-qtest-ppc64-y += tests/usb-hcd-xhci-test$(EXESUF)
|
|
|
ae23c9 |
gcov-files-ppc64-y += hw/usb/hcd-xhci.c
|
|
|
ae23c9 |
check-qtest-ppc64-y += $(check-qtest-virtio-y)
|
|
|
ae23c9 |
-check-qtest-ppc64-$(CONFIG_SLIRP) += tests/test-netfilter$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-ppc64-$(CONFIG_POSIX) += tests/test-filter-mirror$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-ppc64-$(CONFIG_POSIX) += tests/test-filter-redirector$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-ppc64-$(CONFIG_SLIRP) += tests/test-netfilter$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-ppc64-$(CONFIG_POSIX) += tests/test-filter-mirror$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-ppc64-$(CONFIG_POSIX) += tests/test-filter-redirector$(EXESUF)
|
|
|
ae23c9 |
check-qtest-ppc64-y += tests/display-vga-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-ppc64-y += tests/numa-test$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-ppc64-$(CONFIG_IVSHMEM) += tests/ivshmem-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-ppc64-$(CONFIG_IVSHMEM) += tests/ivshmem-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-ppc64-y += tests/cpu-plug-test$(EXESUF)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
check-qtest-sh4-y = tests/endianness-test$(EXESUF)
|
|
|
ae23c9 |
@@ -379,10 +379,10 @@ gcov-files-arm-y += arm-softmmu/hw/block/virtio-blk.c
|
|
|
ae23c9 |
check-qtest-arm-y += tests/test-arm-mptimer$(EXESUF)
|
|
|
ae23c9 |
gcov-files-arm-y += hw/timer/arm_mptimer.c
|
|
|
ae23c9 |
check-qtest-arm-y += tests/boot-serial-test$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-arm-y += tests/sdhci-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-arm-y += tests/sdhci-test$(EXESUF)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
-check-qtest-aarch64-y = tests/numa-test$(EXESUF)
|
|
|
ae23c9 |
-check-qtest-aarch64-y += tests/sdhci-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-aarch64-y = tests/numa-test$(EXESUF)
|
|
|
ae23c9 |
+#check-qtest-aarch64-y += tests/sdhci-test$(EXESUF)
|
|
|
ae23c9 |
check-qtest-aarch64-y += tests/boot-serial-test$(EXESUF)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
check-qtest-microblazeel-y = $(check-qtest-microblaze-y)
|
|
|
ae23c9 |
@@ -757,18 +757,18 @@ tests/rtc-test$(EXESUF): tests/rtc-test.o
|
|
|
ae23c9 |
tests/m48t59-test$(EXESUF): tests/m48t59-test.o
|
|
|
ae23c9 |
tests/endianness-test$(EXESUF): tests/endianness-test.o
|
|
|
ae23c9 |
tests/spapr-phb-test$(EXESUF): tests/spapr-phb-test.o $(libqos-obj-y)
|
|
|
ae23c9 |
-tests/prom-env-test$(EXESUF): tests/prom-env-test.o $(libqos-obj-y)
|
|
|
ae23c9 |
+#tests/prom-env-test$(EXESUF): tests/prom-env-test.o $(libqos-obj-y)
|
|
|
ae23c9 |
tests/rtas-test$(EXESUF): tests/rtas-test.o $(libqos-spapr-obj-y)
|
|
|
ae23c9 |
-tests/fdc-test$(EXESUF): tests/fdc-test.o
|
|
|
ae23c9 |
+#tests/fdc-test$(EXESUF): tests/fdc-test.o
|
|
|
ae23c9 |
tests/ide-test$(EXESUF): tests/ide-test.o $(libqos-pc-obj-y)
|
|
|
ae23c9 |
tests/ahci-test$(EXESUF): tests/ahci-test.o $(libqos-pc-obj-y)
|
|
|
ae23c9 |
-tests/ipmi-kcs-test$(EXESUF): tests/ipmi-kcs-test.o
|
|
|
ae23c9 |
-tests/ipmi-bt-test$(EXESUF): tests/ipmi-bt-test.o
|
|
|
ae23c9 |
+#tests/ipmi-kcs-test$(EXESUF): tests/ipmi-kcs-test.o
|
|
|
ae23c9 |
+#tests/ipmi-bt-test$(EXESUF): tests/ipmi-bt-test.o
|
|
|
ae23c9 |
tests/hd-geo-test$(EXESUF): tests/hd-geo-test.o
|
|
|
ae23c9 |
tests/boot-order-test$(EXESUF): tests/boot-order-test.o $(libqos-obj-y)
|
|
|
ae23c9 |
tests/boot-serial-test$(EXESUF): tests/boot-serial-test.o $(libqos-obj-y)
|
|
|
ae23c9 |
-tests/bios-tables-test$(EXESUF): tests/bios-tables-test.o \
|
|
|
ae23c9 |
- tests/boot-sector.o tests/acpi-utils.o $(libqos-obj-y)
|
|
|
ae23c9 |
+#tests/bios-tables-test$(EXESUF): tests/bios-tables-test.o \
|
|
|
ae23c9 |
+# tests/boot-sector.o tests/acpi-utils.o $(libqos-obj-y)
|
|
|
ae23c9 |
tests/pxe-test$(EXESUF): tests/pxe-test.o tests/boot-sector.o $(libqos-obj-y)
|
|
|
ae23c9 |
tests/tmp105-test$(EXESUF): tests/tmp105-test.o $(libqos-omap-obj-y)
|
|
|
ae23c9 |
tests/ds1338-test$(EXESUF): tests/ds1338-test.o $(libqos-imx-obj-y)
|
|
|
ae23c9 |
@@ -779,11 +779,11 @@ tests/fw_cfg-test$(EXESUF): tests/fw_cfg-test.o $(libqos-pc-obj-y)
|
|
|
ae23c9 |
tests/e1000-test$(EXESUF): tests/e1000-test.o
|
|
|
ae23c9 |
tests/e1000e-test$(EXESUF): tests/e1000e-test.o $(libqos-pc-obj-y)
|
|
|
ae23c9 |
tests/rtl8139-test$(EXESUF): tests/rtl8139-test.o $(libqos-pc-obj-y)
|
|
|
ae23c9 |
-tests/pcnet-test$(EXESUF): tests/pcnet-test.o
|
|
|
ae23c9 |
-tests/pnv-xscom-test$(EXESUF): tests/pnv-xscom-test.o
|
|
|
ae23c9 |
+#tests/pcnet-test$(EXESUF): tests/pcnet-test.o
|
|
|
ae23c9 |
+#tests/pnv-xscom-test$(EXESUF): tests/pnv-xscom-test.o
|
|
|
ae23c9 |
tests/eepro100-test$(EXESUF): tests/eepro100-test.o
|
|
|
ae23c9 |
-tests/vmxnet3-test$(EXESUF): tests/vmxnet3-test.o
|
|
|
ae23c9 |
-tests/ne2000-test$(EXESUF): tests/ne2000-test.o
|
|
|
ae23c9 |
+#tests/vmxnet3-test$(EXESUF): tests/vmxnet3-test.o
|
|
|
ae23c9 |
+#tests/ne2000-test$(EXESUF): tests/ne2000-test.o
|
|
|
ae23c9 |
tests/wdt_ib700-test$(EXESUF): tests/wdt_ib700-test.o
|
|
|
ae23c9 |
tests/tco-test$(EXESUF): tests/tco-test.o $(libqos-pc-obj-y)
|
|
|
ae23c9 |
tests/virtio-balloon-test$(EXESUF): tests/virtio-balloon-test.o $(libqos-virtio-obj-y)
|
|
|
ae23c9 |
@@ -802,14 +802,14 @@ tests/test-hmp$(EXESUF): tests/test-hmp.o
|
|
|
ae23c9 |
tests/machine-none-test$(EXESUF): tests/machine-none-test.o
|
|
|
ae23c9 |
tests/drive_del-test$(EXESUF): tests/drive_del-test.o $(libqos-virtio-obj-y)
|
|
|
ae23c9 |
tests/qdev-monitor-test$(EXESUF): tests/qdev-monitor-test.o $(libqos-pc-obj-y)
|
|
|
ae23c9 |
-tests/nvme-test$(EXESUF): tests/nvme-test.o
|
|
|
ae23c9 |
+#tests/nvme-test$(EXESUF): tests/nvme-test.o
|
|
|
ae23c9 |
tests/pvpanic-test$(EXESUF): tests/pvpanic-test.o
|
|
|
ae23c9 |
tests/i82801b11-test$(EXESUF): tests/i82801b11-test.o
|
|
|
ae23c9 |
tests/ac97-test$(EXESUF): tests/ac97-test.o
|
|
|
ae23c9 |
-tests/es1370-test$(EXESUF): tests/es1370-test.o
|
|
|
ae23c9 |
+#tests/es1370-test$(EXESUF): tests/es1370-test.o
|
|
|
ae23c9 |
tests/intel-hda-test$(EXESUF): tests/intel-hda-test.o
|
|
|
ae23c9 |
tests/ioh3420-test$(EXESUF): tests/ioh3420-test.o
|
|
|
ae23c9 |
-tests/usb-hcd-ohci-test$(EXESUF): tests/usb-hcd-ohci-test.o $(libqos-usb-obj-y)
|
|
|
ae23c9 |
+#tests/usb-hcd-ohci-test$(EXESUF): tests/usb-hcd-ohci-test.o $(libqos-usb-obj-y)
|
|
|
ae23c9 |
tests/usb-hcd-uhci-test$(EXESUF): tests/usb-hcd-uhci-test.o $(libqos-usb-obj-y)
|
|
|
ae23c9 |
tests/usb-hcd-ehci-test$(EXESUF): tests/usb-hcd-ehci-test.o $(libqos-usb-obj-y)
|
|
|
ae23c9 |
tests/usb-hcd-xhci-test$(EXESUF): tests/usb-hcd-xhci-test.o $(libqos-usb-obj-y)
|
|
|
ae23c9 |
@@ -827,14 +827,14 @@ tests/test-filter-mirror$(EXESUF): tests/test-filter-mirror.o $(qtest-obj-y)
|
|
|
ae23c9 |
tests/test-filter-redirector$(EXESUF): tests/test-filter-redirector.o $(qtest-obj-y)
|
|
|
ae23c9 |
tests/test-x86-cpuid-compat$(EXESUF): tests/test-x86-cpuid-compat.o $(qtest-obj-y)
|
|
|
ae23c9 |
tests/ivshmem-test$(EXESUF): tests/ivshmem-test.o contrib/ivshmem-server/ivshmem-server.o $(libqos-pc-obj-y) $(libqos-spapr-obj-y)
|
|
|
ae23c9 |
-tests/megasas-test$(EXESUF): tests/megasas-test.o $(libqos-spapr-obj-y) $(libqos-pc-obj-y)
|
|
|
ae23c9 |
+#tests/megasas-test$(EXESUF): tests/megasas-test.o $(libqos-spapr-obj-y) $(libqos-pc-obj-y)
|
|
|
ae23c9 |
tests/vhost-user-bridge$(EXESUF): tests/vhost-user-bridge.o $(test-util-obj-y) libvhost-user.a
|
|
|
ae23c9 |
tests/test-uuid$(EXESUF): tests/test-uuid.o $(test-util-obj-y)
|
|
|
ae23c9 |
tests/test-arm-mptimer$(EXESUF): tests/test-arm-mptimer.o
|
|
|
ae23c9 |
tests/test-qapi-util$(EXESUF): tests/test-qapi-util.o $(test-util-obj-y)
|
|
|
ae23c9 |
tests/numa-test$(EXESUF): tests/numa-test.o
|
|
|
ae23c9 |
tests/vmgenid-test$(EXESUF): tests/vmgenid-test.o tests/boot-sector.o tests/acpi-utils.o
|
|
|
ae23c9 |
-tests/sdhci-test$(EXESUF): tests/sdhci-test.o $(libqos-pc-obj-y)
|
|
|
ae23c9 |
+#tests/sdhci-test$(EXESUF): tests/sdhci-test.o $(libqos-pc-obj-y)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
tests/migration/stress$(EXESUF): tests/migration/stress.o
|
|
|
ae23c9 |
$(call quiet-command, $(LINKPROG) -static -O3 $(PTHREAD_LIB) -o $@ $< ,"LINK","$(TARGET_DIR)$@")
|
|
|
ae23c9 |
diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c
|
|
|
ae23c9 |
index bf3e193..715f90c 100644
|
|
|
ae23c9 |
--- a/tests/bios-tables-test.c
|
|
|
ae23c9 |
+++ b/tests/bios-tables-test.c
|
|
|
ae23c9 |
@@ -736,6 +736,7 @@ static void test_acpi_q35_tcg_cphp(void)
|
|
|
ae23c9 |
free_test_data(&data);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Disabled in Red Hat Enterprise Linux */
|
|
|
ae23c9 |
static uint8_t ipmi_required_struct_types[] = {
|
|
|
ae23c9 |
0, 1, 3, 4, 16, 17, 19, 32, 38, 127
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
@@ -772,6 +773,7 @@ static void test_acpi_piix4_tcg_ipmi(void)
|
|
|
ae23c9 |
&data);
|
|
|
ae23c9 |
free_test_data(&data);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static void test_acpi_q35_tcg_memhp(void)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
@@ -875,8 +877,10 @@ int main(int argc, char *argv[])
|
|
|
ae23c9 |
qtest_add_func("acpi/piix4/bridge", test_acpi_piix4_tcg_bridge);
|
|
|
ae23c9 |
qtest_add_func("acpi/q35", test_acpi_q35_tcg);
|
|
|
ae23c9 |
qtest_add_func("acpi/q35/bridge", test_acpi_q35_tcg_bridge);
|
|
|
ae23c9 |
+#if 0 /* Disabled in Red Hat Enterprise Linux */
|
|
|
ae23c9 |
qtest_add_func("acpi/piix4/ipmi", test_acpi_piix4_tcg_ipmi);
|
|
|
ae23c9 |
qtest_add_func("acpi/q35/ipmi", test_acpi_q35_tcg_ipmi);
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
qtest_add_func("acpi/piix4/cpuhp", test_acpi_piix4_tcg_cphp);
|
|
|
ae23c9 |
qtest_add_func("acpi/q35/cpuhp", test_acpi_q35_tcg_cphp);
|
|
|
ae23c9 |
qtest_add_func("acpi/piix4/memhp", test_acpi_piix4_tcg_memhp);
|
|
|
ae23c9 |
diff --git a/tests/boot-order-test.c b/tests/boot-order-test.c
|
|
|
ae23c9 |
index e70f5de..1be0731 100644
|
|
|
ae23c9 |
--- a/tests/boot-order-test.c
|
|
|
ae23c9 |
+++ b/tests/boot-order-test.c
|
|
|
ae23c9 |
@@ -106,6 +106,7 @@ static void test_pc_boot_order(void)
|
|
|
ae23c9 |
test_boot_orders(NULL, read_boot_order_pc, test_cases_pc);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Disabled for RHEL, since CONFIG_MAC and CONFIG_PREP are not enabled */
|
|
|
ae23c9 |
static uint8_t read_m48t59(uint64_t addr, uint16_t reg)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
writeb(addr, reg & 0xff);
|
|
|
ae23c9 |
@@ -136,6 +137,7 @@ static uint64_t read_boot_order_pmac(void)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
return qfw_cfg_get_u16(fw_cfg, FW_CFG_BOOT_DEVICE);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
+#endif /* Disabled for RHEL, since CONFIG_MAC and CONFIG_PREP are not enabled */
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const boot_order_test test_cases_fw_cfg[] = {
|
|
|
ae23c9 |
{ "", 'c', 'c' },
|
|
|
ae23c9 |
@@ -145,6 +147,7 @@ static const boot_order_test test_cases_fw_cfg[] = {
|
|
|
ae23c9 |
{}
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Disabled for RHEL, since CONFIG_MAC and CONFIG_PREP are not enabled */
|
|
|
ae23c9 |
static void test_pmac_oldworld_boot_order(void)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
test_boot_orders("g3beige", read_boot_order_pmac, test_cases_fw_cfg);
|
|
|
ae23c9 |
@@ -153,7 +156,9 @@ static void test_pmac_oldworld_boot_order(void)
|
|
|
ae23c9 |
static void test_pmac_newworld_boot_order(void)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
test_boot_orders("mac99", read_boot_order_pmac, test_cases_fw_cfg);
|
|
|
ae23c9 |
+
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
+#endif /* Disabled for RHEL, since CONFIG_MAC and CONFIG_PREP are not enabled */
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static uint64_t read_boot_order_sun4m(void)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
@@ -188,11 +193,13 @@ int main(int argc, char *argv[])
|
|
|
ae23c9 |
if (strcmp(arch, "i386") == 0 || strcmp(arch, "x86_64") == 0) {
|
|
|
ae23c9 |
qtest_add_func("boot-order/pc", test_pc_boot_order);
|
|
|
ae23c9 |
} else if (strcmp(arch, "ppc") == 0 || strcmp(arch, "ppc64") == 0) {
|
|
|
ae23c9 |
+#if 0 /* Disabled for RHEL, since CONFIG_MAC and CONFIG_PREP are not enabled */
|
|
|
ae23c9 |
qtest_add_func("boot-order/prep", test_prep_boot_order);
|
|
|
ae23c9 |
qtest_add_func("boot-order/pmac_oldworld",
|
|
|
ae23c9 |
test_pmac_oldworld_boot_order);
|
|
|
ae23c9 |
qtest_add_func("boot-order/pmac_newworld",
|
|
|
ae23c9 |
test_pmac_newworld_boot_order);
|
|
|
ae23c9 |
+#endif /* Disabled for RHEL, since CONFIG_MAC and CONFIG_PREP are not enabled */
|
|
|
ae23c9 |
} else if (strcmp(arch, "sparc") == 0) {
|
|
|
ae23c9 |
qtest_add_func("boot-order/sun4m", test_sun4m_boot_order);
|
|
|
ae23c9 |
} else if (strcmp(arch, "sparc64") == 0) {
|
|
|
ae23c9 |
diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c
|
|
|
ae23c9 |
index 011525d..dc682c1 100644
|
|
|
ae23c9 |
--- a/tests/boot-serial-test.c
|
|
|
ae23c9 |
+++ b/tests/boot-serial-test.c
|
|
|
ae23c9 |
@@ -73,7 +73,7 @@ typedef struct testdef {
|
|
|
ae23c9 |
} testdef_t;
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static testdef_t tests[] = {
|
|
|
ae23c9 |
- { "alpha", "clipper", "", "PCI:" },
|
|
|
ae23c9 |
+/* { "alpha", "clipper", "", "PCI:" },
|
|
|
ae23c9 |
{ "ppc", "ppce500", "", "U-Boot" },
|
|
|
ae23c9 |
{ "ppc", "prep", "-m 96", "Memory size: 96 MB" },
|
|
|
ae23c9 |
{ "ppc", "40p", "-boot d", "Booting from device d" },
|
|
|
ae23c9 |
@@ -83,14 +83,14 @@ static testdef_t tests[] = {
|
|
|
ae23c9 |
{ "ppc64", "ppce500", "", "U-Boot" },
|
|
|
ae23c9 |
{ "ppc64", "prep", "-boot e", "Booting from device e" },
|
|
|
ae23c9 |
{ "ppc64", "40p", "-m 192", "Memory size: 192 MB" },
|
|
|
ae23c9 |
- { "ppc64", "mac99", "", "PowerPC,970FX" },
|
|
|
ae23c9 |
+ { "ppc64", "mac99", "", "PowerPC,970FX" },*/
|
|
|
ae23c9 |
{ "ppc64", "pseries", "", "Open Firmware" },
|
|
|
ae23c9 |
- { "ppc64", "powernv", "-cpu POWER8", "OPAL" },
|
|
|
ae23c9 |
- { "ppc64", "sam460ex", "-device e1000", "8086 100e" },
|
|
|
ae23c9 |
+/* { "ppc64", "powernv", "-cpu POWER8", "OPAL" },
|
|
|
ae23c9 |
+ { "ppc64", "sam460ex", "-device e1000", "8086 100e" },*/
|
|
|
ae23c9 |
{ "i386", "isapc", "-cpu qemu32 -device sga", "SGABIOS" },
|
|
|
ae23c9 |
{ "i386", "pc", "-device sga", "SGABIOS" },
|
|
|
ae23c9 |
{ "i386", "q35", "-device sga", "SGABIOS" },
|
|
|
ae23c9 |
- { "x86_64", "isapc", "-cpu qemu32 -device sga", "SGABIOS" },
|
|
|
ae23c9 |
+ { "x86_64", "pc", "-cpu qemu32 -device sga", "SGABIOS" },
|
|
|
ae23c9 |
{ "x86_64", "q35", "-device sga", "SGABIOS" },
|
|
|
ae23c9 |
{ "sparc", "LX", "", "TMS390S10" },
|
|
|
ae23c9 |
{ "sparc", "SS-4", "", "MB86904" },
|
|
|
ae23c9 |
diff --git a/tests/e1000-test.c b/tests/e1000-test.c
|
|
|
ae23c9 |
index 0c5fcdc..0504d33 100644
|
|
|
ae23c9 |
--- a/tests/e1000-test.c
|
|
|
ae23c9 |
+++ b/tests/e1000-test.c
|
|
|
ae23c9 |
@@ -29,8 +29,10 @@ static void test_device(gconstpointer data)
|
|
|
ae23c9 |
static const char *models[] = {
|
|
|
ae23c9 |
"e1000",
|
|
|
ae23c9 |
"e1000-82540em",
|
|
|
ae23c9 |
+#if 0 /* Disabled in Red Hat Enterprise Linux 7 */
|
|
|
ae23c9 |
"e1000-82544gc",
|
|
|
ae23c9 |
"e1000-82545em",
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
int main(int argc, char **argv)
|
|
|
ae23c9 |
diff --git a/tests/endianness-test.c b/tests/endianness-test.c
|
|
|
ae23c9 |
index 546e096..1bd87db 100644
|
|
|
ae23c9 |
--- a/tests/endianness-test.c
|
|
|
ae23c9 |
+++ b/tests/endianness-test.c
|
|
|
ae23c9 |
@@ -34,6 +34,7 @@ static const TestCase test_cases[] = {
|
|
|
ae23c9 |
{ "mips64", "mips", 0x14000000, .bswap = true },
|
|
|
ae23c9 |
{ "mips64", "malta", 0x10000000, .bswap = true },
|
|
|
ae23c9 |
{ "mips64el", "fulong2e", 0x1fd00000 },
|
|
|
ae23c9 |
+#if 0 /* Disabled for RHEL, since ISA is not enabled */
|
|
|
ae23c9 |
{ "ppc", "g3beige", 0xfe000000, .bswap = true, .superio = "i82378" },
|
|
|
ae23c9 |
{ "ppc", "prep", 0x80000000, .bswap = true },
|
|
|
ae23c9 |
{ "ppc", "bamboo", 0xe8000000, .bswap = true, .superio = "i82378" },
|
|
|
ae23c9 |
@@ -41,6 +42,7 @@ static const TestCase test_cases[] = {
|
|
|
ae23c9 |
{ "ppc64", "pseries", (1ULL << 45), .bswap = true, .superio = "i82378" },
|
|
|
ae23c9 |
{ "ppc64", "pseries-2.7", 0x10080000000ULL,
|
|
|
ae23c9 |
.bswap = true, .superio = "i82378" },
|
|
|
ae23c9 |
+#endif /* Disabled for RHEL, since ISA is not enabled */
|
|
|
ae23c9 |
{ "sh4", "r2d", 0xfe240000, .superio = "i82378" },
|
|
|
ae23c9 |
{ "sh4eb", "r2d", 0xfe240000, .bswap = true, .superio = "i82378" },
|
|
|
ae23c9 |
{ "sparc64", "sun4u", 0x1fe02000000LL, .bswap = true },
|
|
|
ae23c9 |
diff --git a/tests/ivshmem-test.c b/tests/ivshmem-test.c
|
|
|
ae23c9 |
index 8af16ee..df2eb50 100644
|
|
|
ae23c9 |
--- a/tests/ivshmem-test.c
|
|
|
ae23c9 |
+++ b/tests/ivshmem-test.c
|
|
|
ae23c9 |
@@ -257,6 +257,7 @@ static void test_ivshmem_pair(void)
|
|
|
ae23c9 |
g_free(data);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
typedef struct ServerThread {
|
|
|
ae23c9 |
GThread *thread;
|
|
|
ae23c9 |
IvshmemServer *server;
|
|
|
ae23c9 |
@@ -414,9 +415,11 @@ static void test_ivshmem_server_irq(void)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
test_ivshmem_server(false);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
#define PCI_SLOT_HP 0x06
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Test uses legacy ivshmem, which is disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
static void test_ivshmem_hotplug(void)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
const char *arch = qtest_get_arch();
|
|
|
ae23c9 |
@@ -434,6 +437,7 @@ static void test_ivshmem_hotplug(void)
|
|
|
ae23c9 |
qtest_end();
|
|
|
ae23c9 |
g_free(opts);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static void test_ivshmem_memdev(void)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
@@ -501,7 +505,7 @@ static gchar *mktempshm(int size, int *fd)
|
|
|
ae23c9 |
int main(int argc, char **argv)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
int ret, fd;
|
|
|
ae23c9 |
- const char *arch = qtest_get_arch();
|
|
|
ae23c9 |
+/* const char *arch = qtest_get_arch(); */
|
|
|
ae23c9 |
gchar dir[] = "/tmp/ivshmem-test.XXXXXX";
|
|
|
ae23c9 |
|
|
|
ae23c9 |
#if !GLIB_CHECK_VERSION(2, 31, 0)
|
|
|
ae23c9 |
@@ -528,14 +532,18 @@ int main(int argc, char **argv)
|
|
|
ae23c9 |
tmpserver = g_strconcat(tmpdir, "/server", NULL);
|
|
|
ae23c9 |
|
|
|
ae23c9 |
qtest_add_func("/ivshmem/single", test_ivshmem_single);
|
|
|
ae23c9 |
+#if 0 /* Test uses legacy ivshmem, which is disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
qtest_add_func("/ivshmem/hotplug", test_ivshmem_hotplug);
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
qtest_add_func("/ivshmem/memdev", test_ivshmem_memdev);
|
|
|
ae23c9 |
if (g_test_slow()) {
|
|
|
ae23c9 |
qtest_add_func("/ivshmem/pair", test_ivshmem_pair);
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux: */
|
|
|
ae23c9 |
if (strcmp(arch, "ppc64") != 0) {
|
|
|
ae23c9 |
qtest_add_func("/ivshmem/server-msi", test_ivshmem_server_msi);
|
|
|
ae23c9 |
qtest_add_func("/ivshmem/server-irq", test_ivshmem_server_irq);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
ret = g_test_run();
|
|
|
ae23c9 |
diff --git a/tests/qemu-iotests/051 b/tests/qemu-iotests/051
|
|
|
ae23c9 |
index f617e25..69d34eb 100755
|
|
|
ae23c9 |
--- a/tests/qemu-iotests/051
|
|
|
ae23c9 |
+++ b/tests/qemu-iotests/051
|
|
|
ae23c9 |
@@ -168,11 +168,11 @@ run_qemu -drive if=virtio
|
|
|
ae23c9 |
case "$QEMU_DEFAULT_MACHINE" in
|
|
|
ae23c9 |
pc)
|
|
|
ae23c9 |
run_qemu -drive if=none,id=disk -device ide-cd,drive=disk
|
|
|
ae23c9 |
- run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
|
|
|
ae23c9 |
+# run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
|
|
|
ae23c9 |
run_qemu -drive if=none,id=disk -device ide-drive,drive=disk
|
|
|
ae23c9 |
run_qemu -drive if=none,id=disk -device ide-hd,drive=disk
|
|
|
ae23c9 |
- run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-disk,drive=disk
|
|
|
ae23c9 |
- run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
|
|
|
ae23c9 |
+# run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-disk,drive=disk
|
|
|
ae23c9 |
+# run_qemu -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
|
|
|
ae23c9 |
;;
|
|
|
ae23c9 |
*)
|
|
|
ae23c9 |
;;
|
|
|
ae23c9 |
@@ -197,11 +197,11 @@ run_qemu -drive file="$TEST_IMG",if=virtio,readonly=on
|
|
|
ae23c9 |
case "$QEMU_DEFAULT_MACHINE" in
|
|
|
ae23c9 |
pc)
|
|
|
ae23c9 |
run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device ide-cd,drive=disk
|
|
|
ae23c9 |
- run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-cd,drive=disk
|
|
|
ae23c9 |
+# run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-cd,drive=disk
|
|
|
ae23c9 |
run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device ide-drive,drive=disk
|
|
|
ae23c9 |
run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device ide-hd,drive=disk
|
|
|
ae23c9 |
- run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-disk,drive=disk
|
|
|
ae23c9 |
- run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-hd,drive=disk
|
|
|
ae23c9 |
+# run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-disk,drive=disk
|
|
|
ae23c9 |
+# run_qemu -drive file="$TEST_IMG",if=none,id=disk,readonly=on -device lsi53c895a -device scsi-hd,drive=disk
|
|
|
ae23c9 |
;;
|
|
|
ae23c9 |
*)
|
|
|
ae23c9 |
;;
|
|
|
ae23c9 |
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
|
|
|
ae23c9 |
index 52a80f3..99777ec 100644
|
|
|
ae23c9 |
--- a/tests/qemu-iotests/group
|
|
|
ae23c9 |
+++ b/tests/qemu-iotests/group
|
|
|
ae23c9 |
@@ -77,7 +77,7 @@
|
|
|
ae23c9 |
068 rw auto quick
|
|
|
ae23c9 |
069 rw auto quick
|
|
|
ae23c9 |
070 rw auto quick
|
|
|
ae23c9 |
-071 rw auto quick
|
|
|
ae23c9 |
+# 071 rw auto quick -- requires whitelisted blkverify
|
|
|
ae23c9 |
072 rw auto quick
|
|
|
ae23c9 |
073 rw auto quick
|
|
|
ae23c9 |
074 rw auto quick
|
|
|
ae23c9 |
@@ -105,7 +105,7 @@
|
|
|
ae23c9 |
096 rw auto quick
|
|
|
ae23c9 |
097 rw auto backing
|
|
|
ae23c9 |
098 rw auto backing quick
|
|
|
ae23c9 |
-099 rw auto quick
|
|
|
ae23c9 |
+# 099 rw auto quick -- requires whitelisted blkverify
|
|
|
ae23c9 |
# 100 was removed, do not reuse
|
|
|
ae23c9 |
101 rw auto quick
|
|
|
ae23c9 |
102 rw auto quick
|
|
|
ae23c9 |
diff --git a/tests/qom-test.c b/tests/qom-test.c
|
|
|
ae23c9 |
index a34ff6b..db0d3ab 100644
|
|
|
ae23c9 |
--- a/tests/qom-test.c
|
|
|
ae23c9 |
+++ b/tests/qom-test.c
|
|
|
ae23c9 |
@@ -16,7 +16,9 @@
|
|
|
ae23c9 |
#include "libqtest.h"
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const char *blacklist_x86[] = {
|
|
|
ae23c9 |
- "xenfv", "xenpv", NULL
|
|
|
ae23c9 |
+ "xenfv", "xenpv", "isapc",
|
|
|
ae23c9 |
+ "rhel6.6.0", "rhel6.5.0", "rhel6.4.0", "rhel6.3.0",
|
|
|
ae23c9 |
+ "rhel6.2.0", "rhel6.1.0", "rhel6.0.0", NULL
|
|
|
ae23c9 |
};
|
|
|
ae23c9 |
|
|
|
ae23c9 |
static const struct {
|
|
|
ae23c9 |
diff --git a/tests/test-hmp.c b/tests/test-hmp.c
|
|
|
ae23c9 |
index 5352c9c..674dd64 100644
|
|
|
ae23c9 |
--- a/tests/test-hmp.c
|
|
|
ae23c9 |
+++ b/tests/test-hmp.c
|
|
|
ae23c9 |
@@ -139,7 +139,7 @@ static void add_machine_test_case(const char *mname)
|
|
|
ae23c9 |
char *path;
|
|
|
ae23c9 |
|
|
|
ae23c9 |
/* Ignore blacklisted machines that have known problems */
|
|
|
ae23c9 |
- if (!strcmp("xenfv", mname) || !strcmp("xenpv", mname)) {
|
|
|
ae23c9 |
+ if (!strcmp("xenfv", mname) || !strcmp("xenpv", mname) || !strcmp("isapc", mname)) {
|
|
|
ae23c9 |
return;
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
diff --git a/tests/test-x86-cpuid-compat.c b/tests/test-x86-cpuid-compat.c
|
|
|
ae23c9 |
index 02e4184..9e4a508 100644
|
|
|
ae23c9 |
--- a/tests/test-x86-cpuid-compat.c
|
|
|
ae23c9 |
+++ b/tests/test-x86-cpuid-compat.c
|
|
|
ae23c9 |
@@ -306,6 +306,7 @@ int main(int argc, char **argv)
|
|
|
ae23c9 |
"-cpu 486,xlevel2=0xC0000002,+xstore",
|
|
|
ae23c9 |
"xlevel2", 0xC0000002);
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Disabled in Red Hat Enterprise Linux */
|
|
|
ae23c9 |
/* Check compatibility of old machine-types that didn't
|
|
|
ae23c9 |
* auto-increase level/xlevel/xlevel2: */
|
|
|
ae23c9 |
|
|
|
ae23c9 |
@@ -356,6 +357,7 @@ int main(int argc, char **argv)
|
|
|
ae23c9 |
add_cpuid_test("x86/cpuid/xlevel-compat/pc-i440fx-2.4/npt-on",
|
|
|
ae23c9 |
"-machine pc-i440fx-2.4 -cpu SandyBridge,+npt",
|
|
|
ae23c9 |
"xlevel", 0x80000008);
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
/* Test feature parsing */
|
|
|
ae23c9 |
add_feature_test("x86/cpuid/features/plus",
|
|
|
ae23c9 |
diff --git a/tests/usb-hcd-xhci-test.c b/tests/usb-hcd-xhci-test.c
|
|
|
ae23c9 |
index 9c14e30..192b7f7 100644
|
|
|
ae23c9 |
--- a/tests/usb-hcd-xhci-test.c
|
|
|
ae23c9 |
+++ b/tests/usb-hcd-xhci-test.c
|
|
|
ae23c9 |
@@ -21,6 +21,7 @@ static void test_xhci_hotplug(void)
|
|
|
ae23c9 |
usb_test_hotplug("xhci", 1, NULL);
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux 7 */
|
|
|
ae23c9 |
static void test_usb_uas_hotplug(void)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
qtest_qmp_device_add("usb-uas", "uas", NULL);
|
|
|
ae23c9 |
@@ -34,6 +35,7 @@ static void test_usb_uas_hotplug(void)
|
|
|
ae23c9 |
qtest_qmp_device_del("scsihd");
|
|
|
ae23c9 |
qtest_qmp_device_del("uas");
|
|
|
ae23c9 |
}
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
|
|
|
ae23c9 |
int main(int argc, char **argv)
|
|
|
ae23c9 |
{
|
|
|
ae23c9 |
@@ -43,8 +45,9 @@ int main(int argc, char **argv)
|
|
|
ae23c9 |
|
|
|
ae23c9 |
qtest_add_func("/xhci/pci/init", test_xhci_init);
|
|
|
ae23c9 |
qtest_add_func("/xhci/pci/hotplug", test_xhci_hotplug);
|
|
|
ae23c9 |
+#if 0 /* Disabled for Red Hat Enterprise Linux 7 */
|
|
|
ae23c9 |
qtest_add_func("/xhci/pci/hotplug/usb-uas", test_usb_uas_hotplug);
|
|
|
ae23c9 |
-
|
|
|
ae23c9 |
+#endif
|
|
|
ae23c9 |
qtest_start("-device nec-usb-xhci,id=xhci"
|
|
|
ae23c9 |
" -drive id=drive0,if=none,file=null-co://,format=raw");
|
|
|
ae23c9 |
ret = g_test_run();
|
|
|
ae23c9 |
diff --git a/vl.c b/vl.c
|
|
|
ae23c9 |
index fce1fd1..03950fc 100644
|
|
|
ae23c9 |
--- a/vl.c
|
|
|
ae23c9 |
+++ b/vl.c
|
|
|
ae23c9 |
@@ -165,7 +165,7 @@ unsigned int max_cpus;
|
|
|
ae23c9 |
int smp_cores = 1;
|
|
|
ae23c9 |
int smp_threads = 1;
|
|
|
ae23c9 |
int acpi_enabled = 1;
|
|
|
ae23c9 |
-int no_hpet = 0;
|
|
|
ae23c9 |
+int no_hpet = 1; /* Always disabled for Red Hat Enterprise Linux */
|
|
|
ae23c9 |
int fd_bootchk = 1;
|
|
|
ae23c9 |
static int no_reboot;
|
|
|
ae23c9 |
int no_shutdown = 0;
|
|
|
ae23c9 |
--
|
|
|
ae23c9 |
1.8.3.1
|
|
|
ae23c9 |
|