]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Accept test data path for scsi device's sg_path
authorOsier Yang <jyang@redhat.com>
Thu, 30 Jan 2014 11:48:22 +0000 (19:48 +0800)
committerPavel Hrdina <phrdina@redhat.com>
Thu, 30 Jan 2014 15:34:43 +0000 (16:34 +0100)
commitb1b81efe9a21b7e80e4f0523e67728999931ef89
tree430b76d1f927694ae7b3f175aa32ee331ec18d49
parentfb321a009fbb6fc733a99a1b6eb810c1d91fbbd5
util: Accept test data path for scsi device's sg_path

Commit 10c9ceff6d intended to introduce new argument for the
testing purpose, but it missed the similar changing of the
device's sg_path. The problem was hidden since my laptop has
the /dev/sg0 and /dev/sg1.  A later patch will modify the tests
accordingly.

Signed-off-by: Osier Yang <jyang@redhat.com>
Reported-by: Pavel Hrdina <phrdina@redhat.com>
src/util/virscsi.c