]> rtime.felk.cvut.cz Git - jailhouse.git/commit
tools: config-create: Simplify parse_dmar_devscope
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 20 Aug 2014 05:46:30 +0000 (07:46 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 22 Aug 2014 12:19:44 +0000 (14:19 +0200)
commitd2dbcde351794e2152163db2c1acc386e83d2eba
tree8edbead3ee80ab0b6b0358d64d071b2e7ef35498
parent122a2f9f122f7107f4858eb8297232122499f7a4
tools: config-create: Simplify parse_dmar_devscope

We do not support complex device scope paths yet, code this into the
parsing function. This allows to simplify the call sites as well because
parse_dmar_devscope will now read as many bytes as supported or fail.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
tools/jailhouse-config-create