[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MirageOS-devel] How to support a larger disk with hvt + kv_ro=direct (pass-through)?


Configured unix+kv_ro=direct, it seems to read a file from disk dynamically[1].
But hvt+kv_ro=direct seems to use a ramdisk(crunch?) statically[2].

How can hvt do the similar pass-through to a file as "unix+kv_ro=direct"?

$ mirage configure -t unix --kv_ro=direct && make depend && make
$ ./kv_ro 
2019-03-26 16:31:28 +00:00: INF [application] foo
$ echo -n "hello" > t/secret 
$ ./kv_ro 
2019-03-26 16:32:15 +00:00: INF [application] hello

$ mirage configure -t hvt --kv_ro=direct && make depend && make
$ sudo ./solo5-hvt kv_ro.hvt 
2019-03-26 16:34:19 -00:00: INF [application] foo
$ echo -n "hello" > t/secret 
$ sudo ./solo5-hvt kv_ro.hvt 
2019-03-26 16:35:11 -00:00: INF [application] foo

the above code change for skelton/device-usage/kv_ro:
MirageOS-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.