Commit Graph

11 Commits

Author SHA1 Message Date
Gao feng 2784cb7bab util: move hyper_list_dir into util.c
this function is useful to debug

Signed-off-by: Gao feng <feng@hyper.sh>
2015-06-04 14:34:28 +08:00
Gao feng ed578419da call setns syscall directly
fix the problem that low version glibc doesn't have setns.

Signed-off-by: Gao feng <feng@hyper.sh>
2015-06-03 16:37:46 +08:00
Gao feng a00bdc776c hyperstart is the name of this program
not dvminit or hyperinit.

Signed-off-by: Gao feng <feng@hyper.sh>
2015-06-03 15:59:22 +08:00
Gao feng 820da51e32 Merge pull request #1 from hustcat/fix_configure
Add AM_PROG_CC_C_O for configure
2015-06-03 15:54:48 +08:00
Ye Yin 398667ac23 Add AM_PROG_CC_C_O for configure
Signed-off-by: Ye Yin <eyniy@qq.com>
2015-06-03 03:20:08 +08:00
Gao feng 953cc08de3 container: fix the fail to start bug if container has no tty
BU reported by @henrysher.

    [HYPER INFO  0531 20:54:^@55 26892 qemu_process.go] [:53] [console] setup pty device /dev/null for exec
    [HYPER INFO  0531 20:54:^@55 26892 qemu_process.go] [:53] [console] ioctl pty device for execcmd failed: Inappropriate ioctl for device
    [HYPER INFO  0531 20:54:^@55 26892 qemu_process.go] [:53] [console] setup tty failed
    [HYPER INFO  0531 20:54:^@55 26892 qemu_process.go] [:53] [console] hyper send type 10, len 0
    [HYPER INFO  0531 20:54:^@55 26892 qemu_process.go] [:53] [console] wait for container started failed
    [HYPER INFO  0531 20:54:^@55 26892 qemu_process.go] [:53] [console] container 2e60d916bb16655746830d89e1503c7067ef13560883a6ba62a77f11c44cadc8 init exit code -1

Signed-off-by: Gao feng <feng@hyper.sh>
2015-06-01 15:13:10 +08:00
Gao feng 980f7fda4c Add NOTICE file
Signed-off-by: Gao feng <feng@hyper.sh>
2015-05-29 16:00:25 +08:00
Gao feng 1f2865618b container: use symlink to replace link
/dev/pts/ptmx is on the different filesystem with /dev/ptmx,
use symbol link.

Signed-off-by: Gao feng <feng@hyper.sh>
2015-05-29 08:48:50 +08:00
Xu Wang 377b5b89ce Update readme for build infomation 2015-05-29 01:12:24 +08:00
Gao feng 6dc013fc59 hyperStart source code
The files under src directory is the codes of hyperStart,
use autogen.sh && configure && make to generate hyper-initrd.img,
this image will be used to start hyper instance.

Signed-off-by: Gao feng <feng@hyper.sh>
2015-05-28 18:59:34 +08:00
Xu Wang 4782098723 Initial commit 2015-05-25 14:24:46 +08:00