mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
conf: Parse and format the new XML
Like "rawio", "sgio" is only allowed for block disk of device type "lun". It doesn't default disk->sgio to "filtered" when parsing, as it won't be able to distinguish explicitly requested "filtered" and a default "filtered" in driver then. We have to error out for explicit request when the kernel doesn't support the new sysfs knob "unpriv_sgio", however, for defaulted "filtered", we can just ignore it if the kernel doesn't support "unpriv_sgio".
This commit is contained in:
@@ -238,6 +238,7 @@ mymain(void)
|
||||
DO_TEST("seclabel-static");
|
||||
DO_TEST("seclabel-none");
|
||||
DO_TEST("numad-static-vcpu-no-numatune");
|
||||
DO_TEST("disk-scsi-lun-passthrough-sgio");
|
||||
|
||||
DO_TEST("disk-scsi-disk-vpd");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user