commit | 2b70789182ad8a18f4b779ec607fadea7d29bf26 | [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 | 58ae341ac6f2d64e7d131b9d9e5a3625eadcd943 [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