diff options
author | Zhu Lingshan <lingshan.zhu@intel.com> | 2020-05-12 16:00:44 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-06-04 15:36:51 -0400 |
commit | 7dd793f37e2ab4ca6585df8cfb1a1fcf44f61248 (patch) | |
tree | d906604b46aeab0827cd55e7331c3474c5e645f5 /drivers/vdpa/vdpa_sim | |
parent | 002ef18eff43708be1d914cb11dbdd84fb149474 (diff) |
ifcvf: move IRQ request/free to status change handlers
This commit move IRQ request and free operations from probe()
to VIRTIO status change handler to comply with VIRTIO spec.
VIRTIO spec 1.1, section 2.1.2 Device Requirements: Device Status Field
The device MUST NOT consume buffers or send any used buffer
notifications to the driver before DRIVER_OK.
Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Link: https://lore.kernel.org/r/1589270444-3669-1-git-send-email-lingshan.zhu@intel.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/vdpa/vdpa_sim')
0 files changed, 0 insertions, 0 deletions