summaryrefslogtreecommitdiffstats
path: root/lib/types/types.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-04-30 10:17:20 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-07-21 17:20:08 +0800
commite19c5fe83174de749843bb8486a0d12c25adcb82 (patch)
treec3602dff45153c6d021c0e3920574179cb63f52b /lib/types/types.h
parent0adfe11dc0738321cdd529f30773899cc8f79855 (diff)
downloadtalos-petitboot-e19c5fe83174de749843bb8486a0d12c25adcb82.tar.gz
talos-petitboot-e19c5fe83174de749843bb8486a0d12c25adcb82.zip
config: Add boot_device member to config
We'd like to specify a way to only boot from a specific block device; this adds a field to the configuration to hold the value. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/types/types.h')
-rw-r--r--lib/types/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/types/types.h b/lib/types/types.h
index 1293193..762530a 100644
--- a/lib/types/types.h
+++ b/lib/types/types.h
@@ -124,6 +124,7 @@ struct config {
struct network_config network;
struct boot_priority *boot_priorities;
unsigned int n_boot_priorities;
+ char *boot_device;
};
#endif /* _TYPES_H */
OpenPOWER on IntegriCloud