ACRN:DM: Fix the vhost register kick fd issue.

Add the new parameter for register ioevent function, let the vhost
vq and viothread vq can share the register ioevent common API.

Tracked-On: #8323
Signed-off-by: Liu Long <long.liu@linux.intel.com>
Reviewed-by: Conghui <conghui.chen@intel.com>
This commit is contained in:
Liu Long
2022-11-16 15:59:59 +08:00
committed by acrnsi-robot
parent 796fb2971c
commit 0caf1ac0de
3 changed files with 7 additions and 9 deletions

View File

@@ -776,5 +776,5 @@ uint32_t virtio_device_cfg_read(
int virtio_set_modern_pio_bar(
struct virtio_base *base, int barnum);
int virtio_register_ioeventfd(struct virtio_base *base, int idx, bool is_register);
int virtio_register_ioeventfd(struct virtio_base *base, int idx, bool is_register, int fd);
#endif /* _VIRTIO_H_ */