| commit | bac58aeecf3b5dbafa170bd2271c2f9e3c1f8cd4 | [log] [tgz] |
|---|---|---|
| author | David Anderson <dvander@google.com> | Wed Jun 20 16:37:36 2018 -0700 |
| committer | David Anderson <dvander@google.com> | Thu Jun 21 12:48:34 2018 -0700 |
| tree | e3b73e17ea19ef1dcd60f1d649da85aeccf45692 | |
| parent | c7def6849aac0a47eca22ab5a24621d70276e8bf [diff] |
libdm: Implement zero and linear targets.
This change implements DmTargetZero and DmTargetLinear, and integrates
them into dmctl. It also implements DmTarget and DmTable serialization.
Example dmctl invocation:
dmctl create my-device -ro \
linear 0 800 /dev/block/by-name/system 0 \
zero 800 1200 \
linear 1200 1500 /dev/block/by-name/system 1200
Bug: 110035986
Test: libdm_test gtest
Change-Id: I7f945c1d9e23cfb78239c23a1aad88e8aef4972b