- Nov 13, 2013
-
-
Tomasz Grabiec authored
Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Takuya ASADA authored
The idea of the patch is basically described in prevoius post: https://groups.google.com/d/msg/osv-dev/RL2S3AL9TNE/l4XZJo3-lI0J Whis this patch, you will be able to install OSv apps into disk image on "make all" stage. These apps does not require to exist in OSv repository, you can install apps which is on any git repository or svn repository, or on local directory. You'll need to write a config file to add apps, format of the file is JSON. Here's a sample of the file: { "modules":[ { "name":"osv-mruby", "type":"git", "path":"https://github.com/syuu1228/osv-mruby.git", "branch":"master" } ] } If you add "module" on config file, make all calls script/module.py. This scripts perform "git clone" to fetch repository to $(out)/module, and invoke "make module" on each module. "make module" should outputs bootfs.manifest/usr.manifest on module directory, the script merge bootfs.manifest.skel/usr.manifest.skel and module local manifests to single file $(out)/bootfs.manifest/$(out)/usr.manifest. Here's app Makefile example: https://github.com/syuu1228/osv-mruby/blob/master/Makefile It have "module" target, and the target builds all binaries and generates *.manifest. Signed-off-by:
Takuya ASADA <syuu@dokukino.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 11, 2013
-
-
Dmitry Fleytman authored
Default image format stays QCOW2 as before. May be changed via img_format variable: make img_fomat=raw all This option is required by release-ec2 script as EC2 does not support QCOW2. Also will be useful for other hypervisors like VMWARE. Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 07, 2013
-
-
Avi Kivity authored
Dead code, and boost::signals2::signal<> does the job better. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 05, 2013
-
-
Benoît Canet authored
Make use of the python nbd client. Signed-off-by:
Benoit Canet <benoit@irqsave.net> Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Nov 04, 2013
-
-
Avi Kivity authored
Consolidates generated files, and makes it easier to maintain the eclipse index. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Tomasz Grabiec authored
I dismissed the idea to configure the bridge in default JVM configuration because having a default like this would force all apps to use particular slf4j-api version. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
- Oct 30, 2013
-
-
Nadav Har'El authored
This patch simplifies the host-side work in the new /usr zfs filesystem build process. Previously, we copied the files to a temporary directory, used "cpio" to archive them and sent its output to the guest with "netcat". With this patch, we no longer have a temporary directory, and do not need either cpio or netcat on the build machine. Rather, mkzfs.py itself, using python (instead of a separate "nc" process), connects to the guest and sends it the files - still using the CPIO format. Rather than arbitrarily sleep for 3 seconds before the host tries to connect to the guest (which might not be enough for some, or a waste of time for others), with this patch the host looks at the guest's output and connects when it sees the message "Waiting for connection". Signed-off-by:
Nadav Har'El <nyh@cloudius-systems.com>
-
Pekka Enberg authored
The tst-zfs-simple.so test case has serverd its purpose for bringup. As OSv build relies on working ZFS now, there's no need to run the tests. Furthermore, we have the full ztest stress test in the tree: bsd/cddl/contrib/opensolaris/cmd/ztest/ztest.c which we can use if needed. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Oct 29, 2013
-
-
Tomasz Grabiec authored
The call to namei("/dir/file/") currently fails with ENOENT when "/dir/file" exists. A more standard way is to return ENOTDIR instead. This way calls to stat, open, rename, etc. will be in line with the POSIX spec. It is also useful to rename() implementation which needs to differentiate behaviour between the case in which target does not exist and the case in which it does but the path has trailing slash and the last component is not a directory. In addition to that the check was performed in an inconsistent matter - only when dentry lookup failed. This change makes the check performed always. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
Avi Kivity authored
When converting a source file from .c to .cc, make will complain that the old source file was missing. This is annoying, especially when bisecting or compile-testing a patch set. Fix by removing the source file dependency. Since the dependency is alread specified explicitly by the makefile, no information is lost. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Oct 28, 2013
-
-
Pekka Enberg authored
Add 'werror' option to Makefile that can be used to disable the -Werror GCC option temporarily as follows: make werror=0 This is useful when fixing up build breakage caused by addition of new default compiler warnings. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Oct 25, 2013
-
-
Or Cohen authored
Some distributions have enabled gcc -Wformat-security by default. This causes the build to raise format warnings even though -Wformat=0 is used. Setting no-format-security for build consistency between distros. Signed-off-by:
Or Cohen <orc@fewbytes.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Oct 24, 2013
-
-
Benoît Canet authored
Signed-off-by:
Benoit Canet <benoit@irqsave.net> Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Benoît Canet authored
Signed-off-by:
Benoit Canet <benoit@irqsave.net> Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Tomasz Grabiec authored
For example, assuming the following file exists: /tmp/dir/x ..the following was sondiered absent: /tmp/dir/ ..this was considered present: /tmp/dir Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
- Oct 23, 2013
-
-
Tomasz Grabiec authored
Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
Tomasz Grabiec authored
Needed to link with boost_filesystem. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
Pekka Enberg authored
This patch adds version numbering to the loader. We use "git tag" for generating an unique version number with a little bit of shell script magic to make sure version number is always up-to-date. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Oct 17, 2013
-
-
Tomasz Grabiec authored
strlcpy() expects buffer length not string length. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
- Oct 16, 2013
-
-
Avi Kivity authored
Not supported by older qemus. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Drop sudo and global /zfs temporary directory. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
This drops the superuser requirement from the build process, and reduces the build prerequisite list. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
This allows using the boost libraries in shared objects. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Pekka Enberg authored
Dump registers on general protection fault for debugging purposes. Even if you have gdb available, getting to the exception frame is not always possible after OSv has crashed. Example output looks as follows: registers: RIP: 0x0000100000b7e913 RFL: 0x0000000000010202 CS: 0x0000000000000008 SS: 0x0000000000000010 RAX: 0xffffc000418ed278 RBX: 0xffffc00041b2c050 RCX: 0x0000000000000004 RDX: 0x0000000000000000 RSI: 0x0000000000000001 RDI: 0x43e0000000000000 RBP: 0x0000200008548d10 R8: 0xffffc000426e3010 R9: 0x0000000000000004 R10: 0x43e0000000000000 R11: 0xffffc00041b2c050 R12: 0xffffc000418ed1e8 R13: 0x0000000000000004 R14: 0x43e0000000000000 R15: 0xffffc00041b2c050 RSP: 0x0000200008548aa0 general protection fault Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Avi Kivity authored
Create a file system on top of the pool. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
For the moment, it only creates a zpool, not a filesystem. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Oct 15, 2013
-
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Tomasz Grabiec authored
Related changes previously made in java/build.xml were reverted and moved to java/runjava/build.xml Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
Tomasz Grabiec authored
Building with ant requires no changes in the build scripts when new classes are added. It is a standrd tool to build java programs. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
- Oct 14, 2013
-
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
We don't want it in /usr, because it won't have been created yet. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Oct 13, 2013
-
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Oct 11, 2013
-
-
Tomasz Grabiec authored
This also requires fixing paths to mgmt jars in build.mk and usr.manifest as the version scheme has changed. git log --format=short 7a4db4e759b..54f4810a7: commit 54f4810a76fabf955aeea34baefa336abf8b8467 Author: Tomasz Grabiec <tgrabiec@cloudius-systems.com> Revert "supporting artifactory publish" commit 4abf771d146d6cde66f330e6b6ab6ececffb4cdd Author: Tomasz Grabiec <tgrabiec@cloudius-systems.com> mgmt/web: ditch jline-2.7 pulled by jruby-core commit 3863a3b58b661cd751314966cccb0f6c9835ed4a Author: Nadav Har'El <nyh@cloudius-systems.com> Moved RunJava to io.osv namespace commit be0717595f45d647062e7a41cc8dd38393c96547 Author: Ronen Narkis <narkisr@gmail.com> supporting testing (jruby rake test does not work no matter what) commit 46e74f6bb886a0c62b06f08559fe2e44efdb8900 Author: Ronen Narkis <narkisr@gmail.com> ignoring build commit 95ff3b70bae877d5d8cf0144853d1a201a0be333 Author: Ronen Narkis <narkisr@gmail.com> verfying json existence and giving meaning full error commit 8b60c4a40aa4bcb7ce08bba600fd9cd6d63e1073 Author: Ronen Narkis <narkisr@gmail.com> moving to three digit versioning in order to have a finer grained control on rel commit ffa7646388cec8d5b138ff4fc28a985c6344824c Author: Ronen Narkis <narkisr@gmail.com> supporting artifactory publish commit 8855112e2c867b4f855ed28ad9d9982c26bc56a3 Author: Ronen Narkis <narkisr@gmail.com> clearing unused repo commit 3be79eb18b2be7bf1f28aaebd9905ac77945e4e4 Author: Or Cohen <orc@fewbytes.com> Migrated ifconfig from previous JS console commit 287b014cf709e9c46692c59f87b70ebf056114b5 Author: Or Cohen <orc@fewbytes.com> Migrated run command from previous CLI commit 0ffe064d30c1a812d7e853ee568ce45bfc16ed42 Author: Or Cohen <orc@fewbytes.com> Added daemonizeIfNeeded helper method for commands commit 36951a86493c954a2e939648b5060260fac5b539 Author: Or Cohen <orc@fewbytes.com> Moved ELFLoader from cloudius.cli to cloudius.util
-