- Sep 29, 2013
-
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Looking up symbols is expensive, store them in a cache. Speeds up dumping the trace log when a backtrace is taken. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
Avi Kivity authored
Also fix other review comments related to 1f161695. Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
-
- Sep 21, 2013
-
-
Pekka Enberg authored
Fix up the error message as suggested by Nadav. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
Pekka Enberg authored
This adds a user-friendly error message to run.py if QEMU/KVM is not installed. Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Sep 20, 2013
-
-
Sasha Levin authored
Port 22 is usually taken on the host, so use port 2222 instead. Signed-off-by:
Sasha Levin <levinsasha928@gmail.com> Signed-off-by:
Pekka Enberg <penberg@cloudius-systems.com>
-
- Sep 19, 2013
-
-
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 17, 2013
-
-
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>
-
Dmitry Fleytman authored
-
- Sep 14, 2013
-
-
Glauber Costa authored
So far, our run.py script only runs qemu-based VMs, like KVM. For Xen, I was resorting to manually run xl. This patch implements xen support in that script. We do need a bit of extra information, like the bridge name. I am defaulting to F19's, allowing the user to set it up. We can do better by trying to guess from reading what is in the system, but this will do for now. Another problem is the console, which Xen does not redirect to stdio. We have to attach one, but detaching it does not kill the guest, as it happens with the qemu-based VMs. Because of that, I am defaulting to include the "-c" option to automatically attach a console, but for people who would like to have it on background, an option to not include it.
-
- Sep 12, 2013
-
-
Guy Zana authored
-
Guy Zana authored
-
Avi Kivity authored
Command line option: --trace-backtraces
-
Dmitry Fleytman authored
-
- Sep 11, 2013
-
-
Pekka Enberg authored
Nobody cares about vma address and it's easy to confuse it to the vma start address so drop it from "osv mmap" output. Suggested by Nadav Har'El.
-
- Sep 10, 2013
-
-
Pekka Enberg authored
Fix up memory layout of 'class vma' for 'osv mmap' gdb command.
-
- Sep 09, 2013
-
-
Guy Zana authored
use to dump tracepoints to a file - trace.txt, x100 faster ;)
-
- Sep 08, 2013
-
-
Guy Zana authored
-
- Sep 05, 2013
-
-
Glauber Costa authored
-
Glauber Costa authored
Given a partition size and start address, this will edit the image passed as parameter to create a partition entry. This assumes the disk is always bigger than 8Gb while setting the CHS address. From osdev wiki: "For drives smaller than 8GB, the LBA fields and the CHS fields must "match" when the values are converted into the other format. For drives bigger than 8GB, generally the CHS fields are set to Cylinder = 1023, Head = 254 or 255, Sector = 63 -- which is considered an invalid setting."
-
Glauber Costa authored
It currently sits in the middle of the partition table. Move it to a safer location.
-
- Aug 28, 2013
-
-
Pekka Enberg authored
Now that we can walk through the vma list, add mmap numbers to 'osv mem': (gdb) osv mem Total Memory: 4294564864 Bytes Mmap Memory: 3278278656 Bytes (76.34%) Free Memory: 474492928 Bytes (11.05%)
-
Pekka Enberg authored
-
- Jul 30, 2013
-
-
Christoph Hellwig authored
Once all the bugs vs I/O error handling in virtio-blk are fixed we'll actually need this.
-
- Jul 10, 2013
-
-
Dor Laor authored
-
- Jul 08, 2013
-
-
Christoph Hellwig authored
Alternatively we could just remove it, but doing recursive removes in a top-level directory as root seem a bit too dangerous for a build process.
-
- Jul 02, 2013
-
-
Christoph Hellwig authored
-
- Jul 01, 2013
-
-
Avi Kivity authored
We want to use timers for more than just waking up threads (in this case, for the scheduler time slice), so we need to remove the internal dependencies. The timer class is split into timer_base, which does most of the work, and timer, which preserves the original timer interface. The timer-related parts of 'class thread' are split off into a new class timer_base::client, which thread inherits from.
-
Avi Kivity authored
Timers currently have two states: expired, and not expired. But how is cancel() to distinguish between an armed-but-not-expired timer, and a timer which was never armed (using set())? It can't, and will probably crash. Fix by adding a state to the timer. Now there are three distinct states: free, armed, and expired, corresponding to the timer life cycle.
-
- Jun 30, 2013
-
-
Guy Zana authored
-
- Jun 17, 2013
-
-
Guy Zana authored
-
- Jun 12, 2013
-
-
Glauber Costa authored
I have been commenting in and out lines in this script to choose the right underlying hypervisor to run. So here is the automated version of it. I haven't choosed the letters h or y because they usually denote help and yes, respectively. Also not a kvm/no-kvm boolean because very soon we will like to include xen. Signed-off-by:
Glauber Costa <glommer@cloudius-systems.com>
-
- Jun 09, 2013
-
-
Avi Kivity authored
-
- Jun 06, 2013
-
-
Avi Kivity authored
Allows networking to work without reconfiguration or dhcp.
-
Avi Kivity authored
Place the tracepointv type in an anonymous namespace. This makes every translation unit have its own unique tracepoint types, so we only need to ensure uniqueness within a source file. Use the type's type_info to select the correct patch sites. Idea from Nadav.
-