Bug 8043 - unpriv_sgio is not supported by this kernel
Summary: unpriv_sgio is not supported by this kernel
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: kernel - anck-5.10 (show other bugs) kernel - anck-5.10
Version: 8.8
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: maqiao_mq
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-25 10:34 UTC by yangkai
Modified: 2024-01-25 10:34 UTC (History)
0 users

See Also:


Attachments
Error screenshot (11.05 KB, image/png)
2024-01-25 10:34 UTC, yangkai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yangkai 2024-01-25 10:34:29 UTC
Created attachment 987 [details]
Error screenshot

Description of problem:

内核不支持 unpriv_sgio特性
Version-Release number of selected component (if applicable):
release:AnolisOS-8.8  kernel:  5.10.134-13 

How reproducible:
libvirt creates and specifies disk parts xml using scsi sg locks


Steps to Reproduce:
1.Define libvirt xml to test.xml for a vm and specifies that the disk part xml uses the sg lock of the scsi disk, where the scsi libvirt xml is defined as follows:

<disk type='block' device='lun' sgio='unfiltered'>
​  <driver name='qemu' type='raw'/>
​  <source dev='/dev/disk/by-path/pci-0000\:04\:00.1-fc-0x203400a0b85ad1d7-lun-0'/>
​  <target dev='sda' bus='scsi'/>
  <shareable/>
​</disk>
2.start this vm
virsh start {vm}

Actual results:

The VM starts abnormally

Expected results:
The VM starts properly


Additional info: