• M
    qemuxml2argv: Mock virSCSIDeviceGetSgName · 4b527c1a
    Michal Privoznik 提交于
    When constructing SCSI hostdev command line for qemu, the
    /sys/bus/scsi/devices/... dir is scanned. Unfortunately, even in
    the tests. This is needed to determine the name of SCSI device to
    passthrough to qemu, because in the domain XML we were given its
    address instead. Anyway, we should not be touching live system
    data in our test suite as it produced unpredictable results. The
    test is regressing from 1e9a0837 on.
    Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
    4b527c1a
qemuxml2argvmock.c 2.3 KB