diff options
| author | Richard W.M. Jones <rjones@redhat.com> | 2012-09-28 15:00:26 +0100 |
|---|---|---|
| committer | Richard W.M. Jones <rjones@redhat.com> | 2012-10-01 14:53:57 +0100 |
| commit | 4ff32ca76ef11cc7a7b62ba2503c037cbd791b36 (patch) | |
| tree | c5474b2670da745c3cc3ca58f6eb0879633c86f7 /python/run-python-tests | |
| parent | ff610469fb8ad1d27dac5d3cb2f1e007d8c0ecc7 (diff) | |
| download | libguestfs-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
