the reason it reboots, by the way, is that under qemu-user, calling the reboot syscall straight up just reboots your machine(under qemu-system it reboots the VM, of course)