diff options
author | Zheng Da <zhengda1936@gmail.com> | 2010-09-20 21:39:02 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2010-09-20 21:39:02 +0200 |
commit | 22bc9da3dd61c6b12f8d03946ef75ec9cfb88a22 (patch) | |
tree | 74d5a3fe9843307c99543ff4b91bb65b8e20d00d /hostmux | |
parent | e58f5b6e2ef7ec859b799ba3d58914443ae47efe (diff) |
Add device virtualisation support to boot
* boot/boot.c: Add '-f' option.
(dev_map): New structure.
(dev_map_head): New variable.
(add_dev_map): New function.
(lookup_dev): New function.
(parse_opt): Handle the '-f' option: call 'add_dev_map'.
(ds_device_open): Try to call 'lookup_dev', and open the device from the
device file if it succeeds.
Diffstat (limited to 'hostmux')
0 files changed, 0 insertions, 0 deletions