- Sep 20, 2013
-
-
Yang Bai authored
add TAGS target to Makefile to support etags. Signed-off-by:
Yang Bai <hamo.by@gmail.com>
-
- Sep 19, 2013
-
-
Sasha Levin authored
Having that implementation in the tree even though it was superceded is confusing and really unnecessary. Signed-off-by:
Sasha Levin <levinsasha928@gmail.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Benoît Canet authored
This regression test trigger issue #8 "Make Java InetAddress.getHostName() work" by exercising the DNS resolver on localhost and a dns root server. The test takes care of specifying NI_NOFQDN to resolve only the hostname part of localhost ip. It appears that the DNS ip is not communicated to the libc by core/dhcp.cci: /etc/resolv.conf is not filled. Test contributed while waiting for an fix idea to implement. Signed-off-by:
Benoit Canet <benoit@irqsave.net> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Pekka Enberg authored
If Apache Ant is not found, the build fails with a cryptic error message: [penberg@localhost osv]$ make ANT tests/bench Traceback (most recent call last): File "scripts/silentant.py", line 14, in <module> stderr = subprocess.PIPE) File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1308, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory make: *** [all] Error 1 Make it more human friendly: [penberg@localhost osv]$ make ANT tests/bench Apache Ant not found. Please install the 'ant' package. make: *** [all] Error 1 Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Benoît Canet authored
OSerror exceptions throwed by subprocess.call are made silent using pass. Fix this by properly catching the exception and pretty print it. Signed-off-by:
Benoit Canet <benoit@irqsave.net>
-
- Sep 18, 2013
-
-
Sasha Levin authored
percpu had too little space allocated to support 64 vcpus, which lead to a crash when booting with more than 13 vcpus. Fix it by using a correct size to support 64 vcpus. Signed-off-by:
Sasha Levin <levinsasha928@gmail.com> Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Zhi Yong Wu authored
make[1]: Entering directory `/home/zwu/virt/osv/build/release' GEN gen/include/bits/alltypes.h AS arch/x64/boot16.o LD boot.bin AS arch/x64/boot.o CXX loader.o In file included from <command-line>:0:0: ./../../compiler/include/intrinsics.hh:10:127: error: new declaration ‘unsigned char __builtin_ia32_addcarryx_u64(unsigned char, long unsigned int, long unsigned int, long long unsigned int*)’ [-Werror] ./../../compiler/include/intrinsics.hh:10:127: error: ambiguates built-in declaration ‘unsigned char __builtin_ia32_addcarryx_u64(unsigned char, long long unsigned int, long long unsigned int, long long unsigned int*)’ [-Werror] cc1plus: all warnings being treated as errors make[1]: *** [loader.o] Error 1 make[1]: Leaving directory `/home/zwu/virt/osv/build/release' make: *** [all] Error 2 Signed-off-by:
Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
-
Pekka Enberg authored
Fix ant dependency on Debian
-
Raphael S.Carvalho authored
the ant package must also be explicitly specified, otherwise the following error will raise when building osv. raphaelsc@debian:~/Desktop/osv_dir/osv$ make ANT tests/bench Traceback (most recent call last): File "scripts/silentant.py", line 14, in <module> stderr = subprocess.PIPE) File "/usr/lib/python2.6/subprocess.py", line 623, in __init__ errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory make: *** [all] Error 1
-
Pekka Enberg authored
Fix few minor but annoying coding style issues in drivers/virtio-blk.cc. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Pekka Enberg authored
Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Sep 17, 2013
-
-
Or Cohen authored
-
Nadav Har'El authored
runtime.cc included a verbatim copy of the structure __locale_data from glibc. We don't need it (not to mention that we're not supposed to copy anything from glibc, it has the wrong license). We previously believed that libstdc++ pokes into this structure, so it needs to be in the exact format of glibc, but now I believe this is not the case, and it only uses __nl_langinfo_l, which in our implementation doesn't even adhere to the locale, and just uses the C locale.
-
Pekka Enberg authored
Running "ctags -R" takes a long time because of git submodules: [penberg@localhost osv]$ time ctags -R real 0m35.076s user 0m18.770s sys 0m3.929s Add a "make tags" target that's much faster to run: [penberg@localhost osv]$ time make tags find . -name "*.cc" -o -name "*.hh" -o -name "*.h" -o -name "*.c" | ctags -L - real 0m0.980s user 0m1.033s sys 0m0.158s Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Pekka Enberg authored
run.py trivial fixes
-
Sasha Levin authored
Signed-off-by:
Sasha Levin <levinsasha928@gmail.com>
-
- Sep 16, 2013
-
-
Sasha Levin authored
Don't use stdio and specify -daemonize when user wants to attach with qemu. Signed-off-by:
Sasha Levin <levinsasha928@gmail.com>
-
Sasha Levin authored
--detach is a boolean, shouldn't accept a flag. Signed-off-by:
Sasha Levin <levinsasha928@gmail.com>
-
Sasha Levin authored
We want to access the guest even when we're using usermode networking. Redirect port 8080 to the outside. Signed-off-by:
Sasha Levin <levinsasha928@gmail.com>
-
Or Cohen authored
-
Or Cohen authored
-
Or Cohen authored
-
Dmitry Fleytman authored
-
Glauber Costa authored
Right now we send route messages with MTUs zeroed out. This can lead to the following assert in ip_output.c (~line 308) triggering: KASSERT(mtu > 0, ("%s: mtu %d <= 0, rte=%p (rt_flags=0x%08x) ifp=%p", __func__, mtu, rte, (rte != NULL) ? rte->rt_flags : 0, ifp)); This happens because the code will assume that if there is a valid route, that route will have a valid MTU. And in this case, will always use the route MTU instead of the interface one. When we allocate the route it has a valid MTU. But when we send the route message, we will overwrite it with the value we see in the route message. This is done in rtsock.c:rt_setmetrics. With this patch, those assertion stops happening. A note: this wasn't been seen in local instalations, only on EC2. Looking at it, there is nothing Xen specific. The reason it was not happening on local, is that local traffic does not go through the default route, but rather through the local 192.168.100.0/24 route. That one seems to take a different configuration path, and thus sets the MTU correctly.
-
Dmitry Fleytman authored
-
- Sep 15, 2013
-
-
Or Cohen authored
-
Or Cohen authored
Also, fixed the Java command to forward all arguments to RunJava
-
Nadav Har'El authored
Add Cloudius copyright statements to our tests (C++ and Java code).
-
Nadav Har'El authored
Add Cloudius copyright statements in libc/. One unfortunate problem we have in libc/ is that most of the code there was copied from Musl, and Musl is copyrighted and licensed, but individual files do not carry any statements - Rich Felker explains in Musl's COPYRIGHT file: "The decision to exclude such comments is intentional, as it should be possible to carry around the complete source code on tiny storage media." In the future, we should find all the Musl files and add to each one the line Copyright (C) 2005-2013 Rich Felker. But we'll need to do it carefully so as not to wrongly attribute non-Musl code to Musl. In the meantime, if we just have documentation/LICENSE-musl, and don't claim our own copyright on the musl files, I think we're playing fair.
-
Nadav Har'El authored
Add Cloudius copyright statement to files in java/. All of these (one C++ java.cc and the rest Java source code) are our own code.
-
Nadav Har'El authored
Added Cloudius copyright statement to our own code in include/. Also added include/api/LICENSE saying that these are copied from Musl and public domain (according to the Musl COPYRIGHT file).
-
Nadav Har'El authored
This patch addes a "LICENSE" file, explaining our copyright status and 3-clause BSD license. It also includes in documentation/LICENSE-* the licenses of the four projects we copied code from - FreeBSD, Prex, Open Solaris and Musl. Our top-level LICENSE file refers to these separate LICENSE files.
-
Nadav Har'El authored
Add "CONTRIBUTING" file, with instructions based mostly on Linux's "Developer's Certificate of Origin 1.1" (Documentation/SendingPatches).
-
Nadav Har'El authored
Added Cloudius copyright statement to source files in fs/ which are our own code (and not from Prex or FreeBSD). Also added our copyright statement in addition to the original one when I thought we made non-trivial changes to the original.
-
Nadav Har'El authored
Add Cloudius copyright and license statement to drivers/*. A couple of header files were based on Linux's BSD-licensed header files (e.g., include/uapi/linux/virtio_net.h) so they included the BSD license, but not any copyright statement, so we can just replace that by our own statement of the BSD license.
-
Nadav Har'El authored
Added Cloudius copyright statement to core/*. poll.cc already had a BSD copyright statement, I believe this is a mistake (I think Guy wrote this code from scratch), but not wanting to rush to a conclusion I'm leaving both copyright statements and we should address this issue later.
-
Nadav Har'El authored
Added copyright statement to all Javascript commands for our old CLI, in console/*. We should eventually remove this directory, but while it still exists, let's add copyright statements.
-
Nadav Har'El authored
Added our copyright statements to some of the files in the top bsd/ directory, and in bsd/porting. I only added our copyright to files which were completely by us - I did not attempt to hunt which bsd or solaris files we modified to add our copyright to them, I don't think this is important (or, we can do this later). I also found one header file (uma_stub.h) that had large chunks copied from freebsd, so I added both the freebsd copyright and ours.
-
Nadav Har'El authored
Add Cloudius copyright to everything in arch/x64. This includes C++ code, assembly code, and ld scripts.
-
Nadav Har'El authored
Sorry, previous commit left loader.cc with only a copyright statement. Our copyright is important, but not *that* important! I'll be more careful next time...
-