qemu-e2k/hw
Eduardo Habkost b8f5cfd682 pc: Move q35 compat props to PC_COMPAT_*
For each compat property on PC_Q35_COMPAT_*, there are only two
possibilities:

 * If the device is never instantiated when using a machine other than
   pc-q35, then the compat property can be safely added to
   PC_COMPAT_*;
 * If the device can be instantiated when using a machine other than
   pc-q35, that means the other machines also need the compat property
   to be set.

That means we don't need separate PC_Q35_COMPAT_* macros at all, today.

The hpet.hpet-intcap case is interesting: piix and q35 do have something
that emulates different defaults, but the machine-specific default is
applied _after_ compat_props are applied, by simply checking if the
property is zero (which is the real default on the hpet code).

The hpet.hpet-intcap=0x4 compat property can (should?) be applied to
piix too, because 0x4 was the default on both piix and q35 before the
hpet-intcap property was introduced.

Now, if one day we change the default HPET intcap on one of the PC
machine-types again, we may want to introduce PC_{Q35,I440FX}_COMPAT
macros. But while we don't need that, we can keep the code simple.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Cc: Liu Ping Fan <pingfank@linux.vnet.ibm.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-06-29 18:59:06 +03:00
..
9pfs virtio: Drop superfluous conditionals around g_free() 2014-06-19 16:41:53 +03:00
acpi qmp: convert ACPI_DEVICE_OST event 2014-06-23 11:12:28 -04:00
alpha
arm Use PSCI v0.2 compatible string when KVM or TCG provides it 2014-06-19 18:33:05 +01:00
audio audio: fmopl: drop INLINE macro 2014-06-23 11:01:24 -04:00
block virtio-blk: Rename complete_request_early to complete_request_vring 2014-06-27 18:20:42 +02:00
bt
char virtio-serial: report frontend connection state via monitor 2014-06-27 09:33:27 -04:00
core net: move queue number into NICPeers 2014-06-27 11:19:31 +02:00
cpu
cris
display spice: fix 32bit build 2014-06-20 16:22:07 +01:00
dma
gpio
i2c
i386 pc: Move q35 compat props to PC_COMPAT_* 2014-06-29 18:59:06 +03:00
ide qapi: adjust existing defines 2014-06-23 11:01:25 -04:00
input Fix new typos (found by codespell) 2014-06-24 20:01:24 +04:00
intc xics: Implement xics_ics_free() 2014-06-27 13:48:26 +02:00
ipack
isa acpi: implement ospm_status() method for PIIX4/ICH9_LPC devices 2014-06-19 18:44:22 +03:00
lm32
m68k
mem qmp: add query-memory-devices command 2014-06-19 18:44:22 +03:00
microblaze
mips gt64xxx_pci: Add VMStateDescription 2014-06-20 23:40:16 +02:00
misc vfio: Enable for SPAPR 2014-06-27 13:48:23 +02:00
moxie hw/moxie/moxiesim.c: Remove unused moxie_intc_create() 2014-06-24 20:01:24 +04:00
net hw/net/eepro100: Implement read-only bits in MDI registers 2014-06-27 12:23:45 +02:00
nvram spapr: Fix RTAS token numbers 2014-06-27 13:48:22 +02:00
openrisc
pci pcie: coding style tweak 2014-06-23 17:49:49 +03:00
pci-bridge hw/pcie: implement power controller functionality 2014-06-23 17:48:42 +03:00
pci-host uninorth: Fix PCI hole size 2014-06-27 13:48:24 +02:00
pcmcia
ppc PPC: e500: Only create dt entries for existing serial ports 2014-06-27 13:48:27 +02:00
s390x
scsi qapi: adjust existing defines 2014-06-23 11:01:25 -04:00
sd
sh4
sparc
sparc64
ssi
timer qapi event: convert RTC_CHANGE 2014-06-23 11:12:27 -04:00
tpm
unicore32
usb migration: Remove unneeded minimum_version_id_old 2014-06-23 19:14:52 +02:00
virtio Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging 2014-06-24 13:06:13 +01:00
watchdog qapi event: clean up in callers 2014-06-27 09:27:56 -04:00
xen
xenpv
xtensa hw/xtensa/xtfpga: implement initrd loading 2014-06-29 02:32:42 +04:00
Makefile.objs pc: implement pc-dimm device abstraction 2014-06-19 16:41:47 +03:00