Fix qvm-block crash with /dev/mdXpY devices
This commit is contained in:
parent
631f5f8383
commit
268dcfd71d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user