summaryrefslogtreecommitdiffstats
path: root/python/run-python-tests
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 14:53:57 +0100
commit4ff32ca76ef11cc7a7b62ba2503c037cbd791b36 (patch)
treec5474b2670da745c3cc3ca58f6eb0879633c86f7 /python/run-python-tests
parentff610469fb8ad1d27dac5d3cb2f1e007d8c0ecc7 (diff)
downloadlibguestfs-4ff32ca76ef11cc7a7b62ba2503c037cbd791b36.tar.gz
libguestfs-4ff32ca76ef11cc7a7b62ba2503c037cbd791b36.tar.xz
libguestfs-4ff32ca76ef11cc7a7b62ba2503c037cbd791b36.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)
Diffstat (limited to 'python/run-python-tests')
0 files changed, 0 insertions, 0 deletions