Bug 2268 - SIOV - DSA MDEV device failed to disable in guest
Summary: SIOV - DSA MDEV device failed to disable in guest
Status: RESOLVED FIXED
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: virt (show other bugs) virt
Version: unspecified
Hardware: x86_64 Linux
: P2-High S2-major
Target Milestone: ---
Assignee: maqiao
QA Contact: shuming
URL:
Whiteboard:
Keywords: Bugfix
Depends on:
Blocks:
 
Reported: 2022-09-23 21:10 UTC by Fengqian
Modified: 2023-01-17 15:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fengqian intel_group 2022-09-23 21:10:13 UTC
Description of problem:
DSA MDEV device that passed in guest failed to disable.


How reproducible:


Steps to Reproduce:
1. Create DSA MDEV device and assigned to VM
2. In guest, enable DSA device
3. Disable DSA device in guest

Actual results:
[root@localhost ~]# accel-config disable-device dsa0
failed in dsa0
disabled 0 device(s) out of 1

[root@localhost ~]# accel-config enable-device dsa0
dsa0 is in enabled state already, skipping...
failed in dsa0
enabled 0 device(s) out of 1


Expected results:


Additional info:
Comment 1 Fengqian intel_group 2022-09-26 11:08:27 UTC
The same issue exists in upstream kernel.
Comment 2 xiaochenshen intel_group 2022-09-30 12:09:05 UTC
The patch submitted to LKML:
https://lore.kernel.org/all/20220930032835.2290-1-fengqian.gao@intel.com/
Comment 3 maqiao alibaba_cloud_group 2023-01-17 15:10:57 UTC
merged: https://gitee.com/anolis/cloud-kernel/pulls/756