]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Forbid "sgio" support for SCSI generic host device
authorOsier Yang <jyang@redhat.com>
Fri, 7 Mar 2014 14:23:26 +0000 (22:23 +0800)
committerOsier Yang <jyang@redhat.com>
Thu, 13 Mar 2014 10:01:40 +0000 (18:01 +0800)
commitce346623c19f82f4b35f3466e2ee4066847b750c
tree83441126e83e6d5f1b5614126c78e55eb13dd056
parent55d444bc01e58b33336581be520d5037b04aa48e
qemu: Forbid "sgio" support for SCSI generic host device

The kernel didn't support the unprivileged SGIO for SCSI generic
device finally, and since it's unknow whether the way to support
unprivileged SGIO for SCSI generic device will be similar as for
SCSI block device or not, even it's simliar (I.e. via sysfs, for
SCSI block device, it's /sys/dev/block/8\:0/queue/unpriv_sgio,
for example), the file name might be different, So it's better not
guess what it should be like currently.

This patch removes the related code (mainly about the "shareable"
checking on the "sgio" setting, it's not supported at all, why
we leave checking code there? :-), and error out if "sgio" is
specified in the domain config.
src/qemu/qemu_conf.c