q35: Use PC_Q35_COMPAT_1_4 on pc-q35-1.4 compat_props
commit48cb7f3c1526b4632bd63d945cac80d26616d6f5
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 13 Jun 2014 03:28:32 +0000 (13 00:28 -0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 23 Jun 2014 14:48:42 +0000 (23 17:48 +0300)
tree7bb7ea8c1e67af749bf34db5d6fa3372cd65cc25
parentc7ff54825b74f27c3aac85aad540542801630d0a
q35: Use PC_Q35_COMPAT_1_4 on pc-q35-1.4 compat_props

pc-q35-1.4 was incorrectly using PC_COMPAT_1_4 instead of
PC_Q35_COMPAT_1_4.

The only side-effect was that the hpet compat property (inherited from
PC_Q35_COMPAT_1_7) was missing.

Without this patch, pc-q35-1.4 inicorrectly initializes hpet-intcap to
0xff0104 (behavior introduced in QEMU 2.0, by commit
7a10ef51c2397ac4323bc786af02c58b413b5cd2).

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
hw/i386/pc_q35.c