- Nov 13, 2013
-
-
Pekka Enberg authored
I committed the file accidentally. It's a temporary file that shouldn't be there. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
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>
-
Raphael S. Carvalho authored
It simply tells QEMU not to start OSv at startup. To continue the execution, it's possible to use either the QEMU monitor or a GDB remote connection. Signed-off-by:
Raphael S. Carvalho <raphael.scarv@gmail.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 12, 2013
-
-
Dmitry Fleytman authored
Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 11, 2013
-
-
Dmitry Fleytman authored
EC2 does not support QCOW2. Force build to create RAW image. Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Dmitry Fleytman authored
Xen requires explicit image format specification. Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 08, 2013
-
-
Tomasz Grabiec authored
Saves a bit of manual work. Example: gdb$ osv info threads 0 (0x1de9e08) cpu0x0 waiting sched::thread::join() at core/sched.cc (SNIP) joining on 0xffffc0003e41e010 Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Dmitry Fleytman authored
Xen guests do not support user mode networking. Fall back to qemu when hypervisor detection used and no external networking configured. This logic is required for build to support Xen hosts properly. Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 07, 2013
-
-
Benoît Canet authored
This prevented the script to work on tmpfs. Signed-off-by:
Benoit Canet <benoit@irqsave.net> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Tomasz Grabiec authored
Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Pekka Enberg authored
As of commit 31fee0fa ("build: Build images as QCOW2 files.") we no longer build raw images. 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>
-
Benoît Canet authored
Signed-off-by:
Benoit Canet <benoit@irqsave.net> Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Tomasz Grabiec authored
This fixes 'osv info threads' command. when $rsp holds 0xffffc0003fdf6fc8, ulong() for gdb.Value representing it returns 18446673706036981704. This is out of int range. This causes that thread_context.__exit__() throws "Numeric constant too large" exception from set $rbp = 18446673706036981704 The fix removes the additional conversion as it seems to be unnecessary. The gdb.Value should format itself properly. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com> Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Dor Laor authored
Spanning tree causes the bridge port to start in listening mode. That causes dhcp packet to be ignored. Since we're not fearing of layer2 loops, we can safely remove the spanning tree config. Signed-off-by:
Dor Laor <dor@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Dmitry Fleytman authored
The script supports 3 modes of operation: - public release (default) for official releases - private release - for internal testing - development instance - for development Public release means AMI created public (visible to everyone) and replicated over all existing Amazon regions. Private release means AMI created private (visible to releaser's account only) and not replicated over regions. Development instance means no AMI created, script stops after instance creation. The script's help screen (--help command line parameter) provides detailed information about script interface, dependencies and configurations required. It's interesting to note that each public release made by this script costs about 20 USD mainly because of AMI replication over Amazon regions Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Dmitry Fleytman authored
Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 04, 2013
-
-
Pekka Enberg authored
Fix the following breakage caused by commit c98b928e ("Explicitly use python version number") when starting GDB: Traceback (most recent call last): File "/home/penberg/osv/scripts/loader.py", line 833, in <module> setup_libstdcxx() File "/home/penberg/osv/scripts/loader.py", line 496, in setup_libstdcxx Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 01, 2013
-
-
Anatol Pomozov authored
It is needed for systems where python points to python3 Signed-off-by:
Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by:
Pekka Enberg <penberg@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>
-
- Oct 29, 2013
-
-
Tomasz Grabiec authored
Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
- Oct 28, 2013
-
-
Avi Kivity authored
smp doesn't currently work on non-accelerated qemu, and doesn't help anyway during mkfs. Restrict ourselves to 1 vcpu to avoid problems. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Oct 24, 2013
-
-
Avi Kivity authored
Sometimes nc picks ipv6, which isn't supported; force it to use ipv4. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Oct 23, 2013
-
-
Pekka Enberg authored
Currently, OSv release numbers would look like this: $ git describe --tags --long v0.02-0-gc40b86b Stop using "--long" and let "git describe" do the right thing: $ git describe --tags v0.01-298-g42d11fb $ git tag v0.02 $ git describe --tags v0.02 Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Pekka Enberg authored
We are switching to Amazon S3 for OSv pre-built image releases. The script uses S3cmd: http://s3tools.org/s3cmd which can be installed on Fedora with: yum install s3cmd python-magic Please remember to configure your Amazon S3 credentials before running the script: s3cmd --configure To release a new version of OSv: git tag <version> ./scrips/release-s3 git push --tags Signed-off-by:
Pekka Enberg <penberg@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 21, 2013
-
-
Pekka Enberg authored
This adds a script for releasing OSv QCOW2 images to Artifactory. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Oct 18, 2013
-
-
Pekka Enberg authored
Add a 'make check' target that runs whitelisted tests under OSv. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Oct 17, 2013
-
-
Tomasz Grabiec authored
Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
Tomasz Grabiec authored
We should pass the image path to run.py Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
Tomasz Grabiec authored
This will be needed my mkzfs.py Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
Tomasz Grabiec authored
When the build/ directory is on tmpfs then 'cache=none' option makes qemu fail with error: could not open disk image build/release/usr.img : Invalid argument Using tmpfs for build/ makes a _huge_ difference in build time on some setups. This patch adds fallback to 'unsafe' mode when direct IO is not supported. Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
- Oct 16, 2013
-
-
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
Large partitions set head=254, not 255. Also be more accurate calculating the exact point of overflow.
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
More realistic. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Oct 09, 2013
-
-
Dmitry Fleytman authored
Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com>
-