vmxnet3: Introduce 'x-old-msi-offsets' back-compat property
commitb22e0aef462df40e3355ee1cdf707b9578d23706
authorShmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Thu, 24 Dec 2015 07:17:37 +0000 (24 09:17 +0200)
committerJason Wang <jasowang@redhat.com>
Mon, 11 Jan 2016 03:01:34 +0000 (11 11:01 +0800)
tree9861f8f68bfec7512f9e4f3e1edd798b437c01bc
parent9c087a05040a7495d7614110fb85a81d65ac24d3
vmxnet3: Introduce 'x-old-msi-offsets' back-compat property

Following the previous patches, where vmxnet3's pci's msi/msix
capability offsets and msix's PBA table offsets have been changed, this
patch introduces a boolean property 'x-old-msi-offsets' to vmxnet3,
whose default is false.

Setting 'x-old-msi-offsets' to 'on' preserves the old offsets behavior,
which allows migration to older versions.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/vmxnet3.c
include/hw/compat.h