mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 06:49:25 +00:00
dm: vhost: remove support for non-msix devices
irqfd only supports msix devices. In the current code a mevent is added to poll the callfd from userspace to support intx devices. This patch removes the support for non-msix devices since they are not used in the current device model. Tracked-On: #1877 Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
#define __VHOST_H__
|
||||
|
||||
#include "virtio.h"
|
||||
#include "mevent.h"
|
||||
|
||||
/**
|
||||
* @brief vhost APIs
|
||||
@@ -28,7 +27,6 @@ struct vhost_vq {
|
||||
int kick_fd; /**< fd of kick eventfd */
|
||||
int call_fd; /**< fd of call eventfd */
|
||||
int idx; /**< index of this vq in vhost dev */
|
||||
struct mevent *mevp; /**< mevent for call eventfd */
|
||||
struct vhost_dev *dev; /**< pointer to vhost_dev */
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user