Commit Graph

  • 7294253548 Merge pull request #171 from gao-feng/init-fail Lai Jiangshan 2016-09-19 15:32:27 +08:00
  • 41366ae88a setup init_pid of pod until pod started successfully Gao feng 2016-09-19 14:52:11 +08:00
  • 5edb81f783 Merge pull request #160 from jcvenegas/use-shared-dir-macro Lai Jiangshan 2016-09-16 13:46:00 +08:00
  • eea9702389 Use macro SHARED_DIR for /tmp/hyper/shared path Jose Carlos Venegas Munoz 2016-09-13 17:15:21 +00:00
  • 7acbc5e288 Merge pull request #165 from hyperhq/revert-154-mntinit Peng Tao 2016-09-14 17:38:45 +08:00
  • 34ec350357 Revert "handle volume special fstype" Peng Tao 2016-09-14 17:35:48 +08:00
  • b58b03874d Merge pull request #163 from laijs/c-string Gao feng 2016-09-14 05:25:14 -04:00
  • 02b777058d Merge pull request #164 from laijs/file-command Gao feng 2016-09-14 05:10:25 -04:00
  • 17f9f7b4cf use file_command for write_file command Lai Jiangshan 2016-09-14 10:02:43 +08:00
  • 4fa99f7a5b rename hyper_reader to file_command Lai Jiangshan 2016-09-14 09:24:04 +08:00
  • 6efb8d2638 Merge pull request #162 from laijs/consume-all-the-data-in-handle Gao feng 2016-09-14 10:51:06 +08:00
  • e2b79425f1 enable using api command data as c-string inplace Lai Jiangshan 2016-09-14 10:40:03 +08:00
  • 21cb97d970 always comsume the date after handle() Lai Jiangshan 2016-09-14 10:17:06 +08:00
  • f06259b0b9 direct set the buf->get to zero after consume Lai Jiangshan 2016-09-14 10:12:41 +08:00
  • 70dd9f1447 Merge pull request #161 from laijs/api-header Lai Jiangshan 2016-09-14 10:02:01 +08:00
  • 8b674e78f5 move constants of API to src/api.h Lai Jiangshan 2016-09-13 23:47:00 +08:00
  • de59d91bc2 Merge pull request #159 from dlespiau/20160912-trivial Lai Jiangshan 2016-09-13 07:49:11 +08:00
  • 6824ff3d2e util: Fix 'calss' type in the virtio-ports scanning code Damien Lespiau 2016-09-12 14:56:41 +01:00
  • ffd28a721c container: Fix error message in hyper_rescan_scsi() Damien Lespiau 2016-09-12 14:47:37 +01:00
  • 6f73ec97e3 init: Fix copy/paste typo in mount error string Damien Lespiau 2016-09-12 14:22:50 +01:00
  • f01a9f4081 all: Fix the directroy typo Damien Lespiau 2016-09-12 13:57:31 +01:00
  • 79d066d847 gitignore: Ignore tags files Damien Lespiau 2016-09-12 15:30:10 +01:00
  • 9089ec3f25 Merge pull request #158 from dlespiau/20160912-autogen-hyperstart Lai Jiangshan 2016-09-12 20:37:14 +08:00
  • 6e8bc85878 build: Change hyperinit strings in autogen.sh to say hyperstart Damien Lespiau 2016-09-12 13:29:41 +01:00
  • 4c0887f131 Merge pull request #153 from bergwolf/volmode Gao feng 2016-09-09 12:45:51 +08:00
  • 3d942a45bb set umask when setting up container rootfs Peng Tao 2016-08-31 23:57:54 +08:00
  • 83223f6832 Merge pull request #154 from bergwolf/mntinit Lai Jiangshan 2016-09-02 22:45:57 +08:00
  • a2202183fb Merge pull request #155 from laijs/fix-order-bug Gao feng 2016-09-02 15:08:30 +08:00
  • 37856283d5 ensure the mnt_ns opened before the process exit Lai Jiangshan 2016-09-02 14:48:30 +08:00
  • bb7ebdaadd handle volume special fstype Peng Tao 2016-08-31 14:30:06 +08:00
  • fe5c9a9d9c Merge pull request #152 from laijs/api-version Gao feng 2016-09-01 14:37:59 +08:00
  • 62ef95ba93 add version API Lai Jiangshan 2016-08-31 13:37:00 +08:00
  • d8fb6c1af3 Merge pull request #143 from YaoZengzeng/parson-winsize Lai Jiangshan 2016-08-31 09:29:25 +08:00
  • 2ccac3fa9c Merge pull request #151 from gao-feng/conntrack Pengfei Ni 2016-08-30 09:48:43 +08:00
  • 52c87dc016 portmapping: blow up nf_conntrack_max Gao feng 2016-08-30 01:27:12 +08:00
  • f359cb9468 Merge pull request #150 from laijs/v0.6.2 v0.6.2 Lai Jiangshan 2016-08-29 17:27:01 +08:00
  • 3de74e927c bump version to 0.6.2 Lai Jiangshan 2016-08-29 17:18:06 +08:00
  • 7b54d5c9da Merge pull request #149 from gao-feng/limit Lai Jiangshan 2016-08-29 16:55:35 +08:00
  • 1e4711d898 setup file-max by default Gao feng 2016-08-29 14:01:09 +08:00
  • cb71f43ed1 blow up rlimit of process Gao feng 2016-08-29 12:09:28 +08:00
  • c72276b004 Merge pull request #146 from bergwolf/mkdir-for-file-volume-only Gao feng 2016-08-14 14:49:17 +08:00
  • 5735f9f674 free scandir list in non file volumes case Peng Tao 2016-08-14 13:54:06 +08:00
  • de0c2c97e4 do not create _data dir without checking first Peng Tao 2016-08-11 18:54:32 +08:00
  • 8a86dd1f51 Merge pull request #144 from bergwolf/file-vol Lai Jiangshan 2016-08-10 22:41:48 +08:00
  • 5ba9b2550d handle directory destination for a file volume binding Peng Tao 2016-08-10 18:03:52 +08:00
  • da986b4a3a create file volume's parent directory when necessary Peng Tao 2016-07-27 10:45:07 +08:00
  • 5b21370efd hyper_set_win_size with parson YaoZengzeng 2016-08-08 16:44:05 +08:00
  • 2f4626dde2 Merge pull request #142 from laijs/enter-sandbox Gao feng 2016-08-02 22:30:03 +08:00
  • bf61d6306e enter the sandbox when hyper_setup_container_rootfs() Lai Jiangshan 2016-08-02 11:15:26 +08:00
  • 74f6930073 add hyper_enter_sandbox() Lai Jiangshan 2016-08-02 11:06:47 +08:00
  • 0c05c999e3 remove tty from struct hyper_win_size Lai Jiangshan 2016-07-29 13:07:42 +08:00
  • 97099eb46e declare functions to static Lai Jiangshan 2016-07-20 20:36:10 +08:00
  • b28a02fa0d Merge pull request #140 from gao-feng/event2 Lai Jiangshan 2016-08-01 09:39:50 +08:00
  • 9a6738d84d handle ttyfd out event priorly when write buffer is full Gao feng 2016-07-29 12:57:42 +08:00
  • d3cfa23dde Merge pull request #139 from gao-feng/revert Lai Jiangshan 2016-07-21 10:07:15 +08:00
  • 9bfb3be414 Revert "move mount /proc to hyper_container_final_init()" Gao feng 2016-07-21 10:02:58 +08:00
  • ae2d491c20 Merge pull request #138 from laijs/mount-proc Gao feng 2016-07-20 17:15:57 +08:00
  • b0a601793e move mount /proc to hyper_container_final_init() Lai Jiangshan 2016-07-20 16:58:41 +08:00
  • 19f1dc012e refactor struct hyper_container Lai Jiangshan 2016-07-20 15:28:55 +08:00
  • 87b1a5c29a add missing pod->remains++ Lai Jiangshan 2016-07-20 12:24:48 +08:00
  • 4a63bceb67 Merge pull request #137 from bergwolf/volume_mode Lai Jiangshan 2016-07-19 09:13:15 +08:00
  • b2f6b89ea6 move hyper_create_file to util.h Peng Tao 2016-07-18 20:34:34 +08:00
  • db4f364510 create volume _data dir with 0777 mode Peng Tao 2016-07-18 20:14:43 +08:00
  • 2ccea842bd Merge pull request #136 from bergwolf/hyper_cp Gao feng 2016-07-18 13:24:44 +08:00
  • 3197bcad45 hyper_copy_dir should use hyper_cmd Peng Tao 2016-07-16 16:01:24 +08:00
  • 3bed96c176 Merge pull request #133 from gao-feng/env Lai Jiangshan 2016-07-15 16:40:43 +08:00
  • eecb4c5612 env: setup envs of container for exec Gao feng 2016-07-14 19:41:34 +08:00
  • c015887bb6 Merge pull request #132 from gao-feng/bug Gao feng 2016-07-14 22:55:38 +08:00
  • 2169309145 exec: restore sigmask of child process Gao feng 2016-07-14 19:37:21 +08:00
  • c5d25b6f5f event: rename de to he Gao feng 2016-07-14 19:25:39 +08:00
  • da6b36411a remove useless var global_exec Gao feng 2016-07-14 19:22:09 +08:00
  • 06d10f2844 Merge pull request #130 from gao-feng/proc Lai Jiangshan 2016-07-07 21:08:46 +08:00
  • 70d35640b9 mount proc filesystem of container in enter_container Gao feng 2016-07-07 18:50:47 +08:00
  • 1f501c5417 Merge pull request #129 from bergwolf/shutdown_on_error Gao feng 2016-07-07 09:14:46 +08:00
  • 1c21bb2e6f Merge pull request #128 from laijs/open-ns Gao feng 2016-07-07 09:14:07 +08:00
  • b6c6e1f991 wait until mount namespace fd is opened Lai Jiangshan 2016-07-06 19:20:03 +08:00
  • 98059369b8 send ERROR to runv when shutting down upon errors Peng Tao 2016-07-06 18:03:22 +08:00
  • 03187117e1 Merge pull request #127 from laijs/container-and-exec-operations Gao feng 2016-07-06 19:04:23 +08:00
  • 54aed5efc5 split container operation to hyper_setup_container() and hyper_run_process() Lai Jiangshan 2016-07-06 17:15:42 +08:00
  • 98b8211ddc move hyper_start_containers() to hyper_start_pod() Lai Jiangshan 2016-07-06 15:52:12 +08:00
  • cd9a8f4306 set early env for exec Lai Jiangshan 2016-07-06 13:53:05 +08:00
  • bb550c2444 do not apply the container's env on exec Lai Jiangshan 2016-07-06 11:47:33 +08:00
  • 00308d00b5 split hyper_exec_cmd() Lai Jiangshan 2016-07-06 11:39:27 +08:00
  • e255de660d Merge pull request #126 from laijs/exec-fork Gao feng 2016-07-05 12:58:25 +08:00
  • ca004ec273 use fork() instead of fragile clone(CLONE_VM|CLONE_FILES) Lai Jiangshan 2016-07-04 22:55:33 +08:00
  • 52aca5a860 Merge pull request #125 from laijs/rootfs Lai Jiangshan 2016-07-05 09:50:12 +08:00
  • 5fcac6f0bb move the call of hyper_watch_exec_pty() to parent(init) process Lai Jiangshan 2016-07-04 22:38:43 +08:00
  • 216bce6fe0 don't wait hyper_do_exec_cmd() via waitpid() Lai Jiangshan 2016-07-04 22:21:28 +08:00
  • e8381942d4 send pid back to parent rather than touch the parent's memory directly Lai Jiangshan 2016-07-04 22:12:21 +08:00
  • 51dc391bc0 all exec should have container id Lai Jiangshan 2016-07-04 21:58:05 +08:00
  • 73a9c3e8e9 use /tmp/hyperstart-rootfs as temporary rootfs Lai Jiangshan 2016-07-04 20:56:00 +08:00
  • 505ad4ddb0 Merge pull request #121 from YaoZengzeng/delete-container Gao feng 2016-07-01 11:23:44 +08:00
  • 20158b9033 Support for removing container YaoZengzeng 2016-06-22 23:39:15 -07:00
  • 1e6dffd36f Merge pull request #123 from laijs/introduce-parson Gao feng 2016-06-30 15:30:48 +08:00
  • d919414192 use parson to parse kill command Lai Jiangshan 2016-06-30 12:09:15 +08:00
  • b15d771a56 add const to container id in hyper_find_container() Lai Jiangshan 2016-06-30 12:03:27 +08:00
  • b99768db28 add parson(github.com/kgabis/parson) Lai Jiangshan 2016-06-30 11:17:44 +08:00
  • 1a612982e8 Merge pull request #122 from gao-feng/cleanup Lai Jiangshan 2016-06-29 17:13:48 +08:00
  • 3f034fec04 remove useless field in hyper_pod Gao feng 2016-06-29 14:25:41 +08:00
  • 831113b7d0 Merge pull request #118 from bergwolf/kvm-nested Lai Jiangshan 2016-06-27 12:18:56 +08:00