From d91bbdb3dde23031dd3b7d7fc1e1bcd3e81b6834 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Fri, 9 Mar 2012 00:04:36 +0100 Subject: [PATCH] dom0/qvm-block: add support for md devices (#476) --- dom0/qvm-core/qubesutils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dom0/qvm-core/qubesutils.py b/dom0/qvm-core/qubesutils.py index 9df4a54f..e9e0897f 100644 --- a/dom0/qvm-core/qubesutils.py +++ b/dom0/qvm-core/qubesutils.py @@ -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)