dom0/qvm-block: add support for md devices (#476)
This commit is contained in:
parent
c174d0c184
commit
d91bbdb3dd
@ -135,6 +135,9 @@ def block_name_to_majorminor(name):
|
||||
elif name.startswith("sr"):
|
||||
disk = False
|
||||
major = 11
|
||||
elif name.startswith("md"):
|
||||
disk = False
|
||||
major = 9
|
||||
else:
|
||||
# Unknown device
|
||||
return (0, 0)
|
||||
|
Loading…
Reference in New Issue
Block a user