Hello, Tobias Geerinckx-Rice skribis: > ERROR: In procedure copy-file: > In procedure copy-file: No space left on device > ^MESC[Kcopying 422 store items > boot program > '/gnu/store/lbvrvrlqab4qpw9f907na445kppmknab-linux-vm-loader' > terminated, rebooting > [ 1071.512054] Unregister pv shared memory for cpu 0 > [ 1071.522414] reboot: Restarting system > [ 1071.542285] reboot: machine restart > successfully built > /gnu/store/lbyq5790j5hfq3spbm76i1yw3sj41l8b-disk-image.drv I investigated a bit. I managed to get our code to cause a kernel panic upon failure (patch below). However I fail to turn that guest kernel panic into a different QEMU exit code. I tried to use the “pvpanic” paravirtualized device (the ‘pvpanic.ko’ module in the guest, and “-device pvpanic” on the QEMU command line), but unfortunately that thing is almost undocumented and I can’t get it to turn the panic into a non-zero exit code, nor do I know if it’s possible. Thoughts anyone? The other option would be to create a special file in the 9p mount that’s shared with the host upon success, but that seems a bit hacky. Thanks, Ludo’.