run-liminix-vm: map rootfs file iff --phram-address supplied
This commit is contained in:
parent
9a29a042e8
commit
a962f18369
1 changed files with 8 additions and 5 deletions
|
@ -113,11 +113,14 @@
|
||||||
(local exec-args
|
(local exec-args
|
||||||
(-> []
|
(-> []
|
||||||
(appendm (. bin options.arch))
|
(appendm (. bin options.arch))
|
||||||
(appendm ["-m" "272"
|
(appendm ["-echr" "16"])
|
||||||
"-echr" "16"
|
(appendm (if options.phram-address
|
||||||
"-device"
|
[
|
||||||
(.. "loader,file=" options.rootfs ",addr=" options.phram-address)
|
"-m" "272"
|
||||||
])
|
"-device"
|
||||||
|
(.. "loader,file=" options.rootfs ",addr=" options.phram-address)
|
||||||
|
]
|
||||||
|
["-m" "256"]))
|
||||||
(appendm
|
(appendm
|
||||||
(if options.background
|
(if options.background
|
||||||
(background options.background)
|
(background options.background)
|
||||||
|
|
Loading…
Reference in a new issue