I'm seeing this in guest due to lacking of /dev/pts: sh-4.2# xterm xterm: Error 32, errno 28: No space left on device Reason: get_pty: not enough ptys Signed-off-by: Asias He <asias.hejun@xxxxxxxxx> --- tools/kvm/guest/init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/kvm/guest/init.c b/tools/kvm/guest/init.c index 44e7db8..e1f377f 100644 --- a/tools/kvm/guest/init.c +++ b/tools/kvm/guest/init.c @@ -31,6 +31,8 @@ static void do_mounts(void) mount("", "/sys", "sysfs", 0, NULL); mount("proc", "/proc", "proc", 0, NULL); mount("devtmpfs", "/dev", "devtmpfs", 0, NULL); + mkdir("/dev/pts", 0755); + mount("devpts", "/dev/pts", "devpts", 0, NULL); } int main(int argc, char *argv[]) -- 1.7.11.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html