- Jan 13, 2014
-
-
Dmitry Fleytman authored
This patch is not needed anymore since alarm() implementation was extended with missing features. Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Dec 20, 2013
-
-
Asias He authored
if_getinfo is shorter and more consistent all the other if_ functions name, e.g., if_init, if_ioctl. Signed-off-by:
Asias He <asias@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Dec 19, 2013
-
-
Vlad Zolotarov authored
- Make ifconfig code use a new if_get_if_info() interface. - Expanded the output of the ifconfig: exposed a few more statistics. Signed-off-by:
Vlad Zolotarov <vladz@cloudius-systems.com> Reviewed-by:
Asias He <asias@cloudius-systems.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Dmitry Fleytman authored
In some cases netperf relies on SIGALRM to wake sleeping send*/recv*() calls. alarm() API on OSv doesn't fully comply to specification, i.e. it executes SIGALRM handler but doesn't interrupt sleeping syscalls. Because of this there is a race condition that makes netserver sleep infinitely in some cases. This commit introduces patch for netperf that acts as a work-around for this problem by setting socket timeout for network operations. This commit also introduces simple script that builds patched netperf in automated manner. Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Dec 03, 2013
-
-
Benoît Canet authored
This will allow the users to populate /usr with simples binaries like haproxy and their config at runtime. It's intented to be combined with the loader ability to run multiple binaries in a sequential way. For example -e '/tools/cpiod.so; /usr/haproxy.so -f /usr/haproxy.conf' Signed-off-by:
Benoit Canet <benoit@irqsave.net> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Benoît Canet authored
This pave the way for the creation of bare images that the user can populate using cpiod when he need it. Signed-off-by:
Benoit Canet <benoit@irqsave.net> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 15, 2013
-
-
Pekka Enberg authored
Use the new pivot_root() functionality to switch to ZFS root filesystem once OSv is up and running. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Nov 08, 2013
-
-
Takuya ASADA authored
This patch adds to support multiple NIC initialization on loader.cc. Signed-off-by:
Takuya ASADA <syuu@dokukino.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 25, 2013
-
-
Pekka Enberg authored
Run 'dos2unix' on the sucker... Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Tomasz Grabiec authored
The current implementation was copying the whole file contents into an array and then into stringstream which under the hood copied it again into even bigger array. These allocations were causing memory fragmentation which some times led to malloc failure. The new approach is using fixed amount of memory. For each file it wraps the cpio input stream in a restricted stream which limits the amount of data that can be read from it so that it represents a view for only that file's data. After the consumer has read it we simply ignore the remaining padding from the cpio stream. This fixes issue #66 Signed-off-by:
Tomasz Grabiec <tgrabiec@cloudius-systems.com>
-
- Oct 24, 2013
-
-
Or Cohen authored
Signed-off-by:
Or Cohen <orc@fewbytes.com>
-
- Oct 17, 2013
-
-
Pekka Enberg authored
Make the adding file message less intimidating. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Pekka Enberg authored
Start listening as soon as the guest is running. This makes host mkzfs.py conneciton less racy and fixes OSv image creation problems I'm seeing. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Oct 16, 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
Implement a parser for the cpio "newc" format. Signed-off-by:
Avi Kivity <avi@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
zfs utilities want /etc/mnttab, let them have it. 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>
-
- Oct 10, 2013
-
-
Avi Kivity authored
We have _KERNEL defines scattered throughout the code, which makes understanding it difficult. Define it just once, and adjust the source to build. We define it in an overridable variable, so that non-kernel imported code can undo it.
-
- Oct 03, 2013
-
-
Avi Kivity authored
bsd's ifconf conflicts with osv's; rename it. We use the bsd version in <osv/ioctl.h>, since we currently don't support the Linux-ABI variants of these ioctls. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com> Tested-By:
Benoit Canet <benoit@irqsave.net>
-
- Sep 29, 2013
-
-
Dmitry Fleytman authored
1. Netperf patch removed from repository 2. Documentation updated Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com> Signed-off-by:
Nadav Har'El <nyh@cloudius-systems.com>
-
- Sep 25, 2013
-
-
Dmitry Fleytman authored
Signed-off-by:
Dmitry Fleytman <dmitry@daynix.com>
-
- Aug 27, 2013
-
-
Glauber Costa authored
This allows lazy people like me to just copy the instructions
-
- Jun 19, 2013
-
-
Guy Zana authored
1. it is much cleaner that the header files perform extern "C" themselves, so they can be included both from C and C++ code. 2. when doing extern "C" from a C++ file then __cplusplus is also defined, and compilation can break in some situations. 3. as a bonus, this patch increase compilation time.
-
Nadav Har'El authored
ifconfig used to call sofree(), which assumed accept_mtx was taken, which wasn't true, resulting in either an assertion failure (if we implement assert_mtx - see next patch) or a mutex corruption (if assert_mtx does nothing). Instead, we should call soclose(). This wasn't very hard to figure out, given the comment in socreate() saying "The socket should be closed with soclose()." :-)
-
- Jun 04, 2013
-
-
Guy Zana authored
-
- Jun 03, 2013