summaryrefslogtreecommitdiffstats
path: root/python/t/010-launch.py
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-28 15:00:26 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-10-01 15:07:14 +0100
commitf51a2de42508e5a9fb8d8f8c96e9eaf116c2f8c1 (patch)
tree779844f78a7881b86272823137f2cf2d0f82e3fa /python/t/010-launch.py
parent1b2a2d596c01806fdafe689368bc065865bd5d57 (diff)
downloadlibguestfs-f51a2de42508e5a9fb8d8f8c96e9eaf116c2f8c1.tar.gz
libguestfs-f51a2de42508e5a9fb8d8f8c96e9eaf116c2f8c1.tar.xz
libguestfs-f51a2de42508e5a9fb8d8f8c96e9eaf116c2f8c1.zip
daemon: When sorting devices, don't fail on mix of /dev/sd and /dev/vd
(RHBZ#858128). If compare_device_names was given two devices with devices with different interfaces (eg. /dev/sda and /dev/vda) then it would try to compare the partition numbers, and fail when it could parse them. It's arguable what we should be doing in this case (except for strongly discouraging people from using the interface feature), but let's at least not cause the daemon to assert-fail. Found by Red Hat QA, thanks Mohua Li. (cherry picked from commit 6f53d49a27fbf7f1b5c22080e2509375e128d5e4) (cherry picked from commit 4ff32ca76ef11cc7a7b62ba2503c037cbd791b36)
Diffstat (limited to 'python/t/010-launch.py')
0 files changed, 0 insertions, 0 deletions