summary refs log tree commit diff
path: root/gnu/services.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-03-26 23:21:11 +0100
committerLudovic Courtès <ludo@gnu.org>2020-03-26 23:45:41 +0100
commitbe6520e6a58d7f6ee58f4cab76db9d1245410113 (patch)
tree0ac32bca8086d876583a9ae148b032a29ec9de64 /gnu/services.scm
parent60eee3e6de2a11b425496bbdf90bfe1f807c8f49 (diff)
downloadguix-be6520e6a58d7f6ee58f4cab76db9d1245410113.tar.gz
vm: Distinguish between success and failure of the guest code.
Fixes <https://bugs.gnu.org/34276>.
Reported by Tobias Geerinckx-Rice <me@tobias.gr>.

* gnu/system/vm.scm (expression->derivation-in-linux-vm)[loader]:
Produce '/xchg/.exit-status' file upon success.
* gnu/build/vm.scm (load-in-linux-vm): Check for 'xchg/.exit-status'
once QEMU has completed and respond accordingly.
Diffstat (limited to 'gnu/services.scm')
0 files changed, 0 insertions, 0 deletions