vmxnet3: Introduce 'x-disable-pcie' back-compat property
commit7d6d347d0602997a7fcb33b7edd20f8d8515b48b
authorShmulik Ladkani <shmulik.ladkani@ravellosystems.com>
Thu, 24 Dec 2015 07:17:40 +0000 (24 09:17 +0200)
committerJason Wang <jasowang@redhat.com>
Mon, 11 Jan 2016 03:01:35 +0000 (11 11:01 +0800)
tree4b16195c300e58dec2f2719723477ccb160968d7
parent3509866ab36972043d6757a03c48097c7b5ae22b
vmxnet3: Introduce 'x-disable-pcie' back-compat property

Following the previous patch which changed vmxnet3 to be a pci express
device, this patch introduces a boolean property 'x-disable-pcie' whose
default is false.

Setting 'x-disable-pcie' to 'on' preserves the old 'pci device' (non
express) behavior. This 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