commit | 0f6b4d21121bec70b383b4a3bc1c46d9c83f8692 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Tue Sep 27 14:39:42 2011 +0200 |
committer | Riku Voipio <riku.voipio@linaro.org> | Thu Oct 27 14:42:40 2011 +0300 |
tree | 78d200a6f19a48b8f8e641a0d9448d9dcc84bb51 | |
parent | f4c690101c74afcc58deead71f6302fe343718b7 [diff] |
linux-user: implement reboot syscall For OBS, we're running a full cross-guest inside of a VM. When a build is done there, we reboot the guest as shutdown mechanism. Unfortunately, reboot is not implemented in linux-user. So this mechanism fails, spilling unpretty warnings. This patch implements sys_reboot() emulation. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Riku Voipio <riku.voipio@iki.fi>