vmw_pvscsi: Introduce 'x-old-pci-configuration' backword compatability property
commit952970ba5651e8f6d1fec7de0366c63a79cadfdb
authorShmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Sun, 13 Dec 2015 08:08:29 +0000 (13 10:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Dec 2015 14:24:34 +0000 (17 15:24 +0100)
tree030623df20a47bb3715c679748f73254fa3a0f3b
parent836fc48cbc83fba07a43a444db072fe41dacf9fd
vmw_pvscsi: Introduce 'x-old-pci-configuration' backword compatability property

Following the previous patches, which introduced various changes in
pvscsi's pci configuration space (device subsystem id and revision, msi
offset), this patch introduces a boolean property
'x-old-pci-configuration' to pvscsi.

Its default value is false, exposing the above changes in the pci config
space.

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

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Message-Id: <1449994112-7054-4-git-send-email-shmulik.ladkani@ravellosystems.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/vmw_pvscsi.c
include/hw/compat.h