mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-26 11:14:03 +00:00
dm: virtio: add support for VBS-K device reset
A new ioctl is introduced in VBS-K to issue reset command to kernel VBS-K driver. This is used to support VBS-K S3. When FE enters S3 reset command is sent to device model. Backend driver in device model should use this ioctl to inform the VBS-K drvier in kernel. Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Reviewed-by: Shuo Liu <shuo.a.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
This commit is contained in:
@@ -43,5 +43,6 @@ struct vbs_dev_info {
|
||||
|
||||
#define VBS_K_SET_DEV _IOW(VBS_K_IOCTL, 0x00, struct vbs_dev_info)
|
||||
#define VBS_K_SET_VQ _IOW(VBS_K_IOCTL, 0x01, struct vbs_vqs_info)
|
||||
#define VBS_K_RESET_DEV _IO(VBS_K_IOCTL, 0x02)
|
||||
|
||||
#endif /* _VBS_COMMON_IF_H_ */
|
||||
|
Reference in New Issue
Block a user