commit | 8ae8e904fcba484ff7c3f8f31339b56ebd88fbad | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu Mar 06 15:43:42 2014 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Mar 06 17:27:23 2014 +0100 |
tree | 02f21e22619345aed4194734d2489b829e4db052 | |
parent | d5546c5e776ac8f6277ddfdd59df9888e7919c2f [diff] |
blockdev: Fail blockdev-add with encrypted images Encrypted images need a password before they can be used, and we don't want blockdev-add to create BDSes that aren't fully initialised. So for now simply forbid encrypted images; we can come back to it later if we need the functionality. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>