Fix qvm-block crash with /dev/mdXpY devices

This commit is contained in:
Danny Fullerton 2014-01-08 00:42:29 -05:00 committed by Marek Marczykowski-Górecki
parent 631f5f8383
commit 268dcfd71d

View File

@ -138,7 +138,7 @@ def block_name_to_majorminor(name):
disk = False
major = 7
elif name.startswith("md"):
disk = False
dXpY_style = True
major = 9
elif name.startswith("dm-"):
disk = False