dom0/qvm-block: add support for md devices (#476)

This commit is contained in:
Marek Marczykowski 2012-03-09 00:04:36 +01:00
parent c174d0c184
commit d91bbdb3dd

View File

@ -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)