piix: Move pc-0.13 virtio-9p-pci compat to PC_COMPAT_0_13
commitd765519bef48bd95f2139314a5354144387523eb
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 14 May 2015 18:53:08 +0000 (14 15:53 -0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 31 May 2015 14:26:41 +0000 (31 16:26 +0200)
treef878a1918d981fca412680ceb7402d2f71bcd306
parentd5303df71073da70e0ad29a6dfb304ec7b747f5c
piix: Move pc-0.13 virtio-9p-pci compat to PC_COMPAT_0_13

The compat property was added by commit
9dbcca5aa13cb9ab40788ac4c56bc227d94ca920, and the pc-0.12 and older
machine-types were not changed because virtio-9p-pci was introduced on QEMU
0.13 (commit 9f10751365b26b13b8a9b67e0e90536ae3d282df). The only problem is
that this breaks the PC_COMPAT_* nesting pattern we currently use.

So, move the property to PC_COMPAT_0_13. This make pc-0.12 and older inherit
it, but that shouldn't be an issue as QEMU 0.12 didn't have virtio-9p-pci.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
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>
hw/i386/pc_piix.c