Message ID | 1093de0d5fdd91dc0001c2c27134d7c292a2056d.1447231392.git.chen.fan.fnst@cn.fujitsu.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index c593876..d2efbb0 100644 --- a/hw/vfio/pci.c +++ b/hw/vfio/pci.c @@ -3069,6 +3069,8 @@ static Property vfio_pci_dev_properties[] = { sub_vendor_id, PCI_ANY_ID), DEFINE_PROP_UINT32("x-pci-sub-device-id", VFIOPCIDevice, sub_device_id, PCI_ANY_ID), + DEFINE_PROP_BIT("aer", VFIOPCIDevice, features, + VFIO_FEATURE_ENABLE_AER_BIT, false), /* * TODO - support passed fds... is this necessary? * DEFINE_PROP_STRING("vfiofd", VFIOPCIDevice, vfiofd_name),