Skip to content
Snippets Groups Projects
  1. Sep 29, 2013
  2. Sep 21, 2013
  3. Sep 20, 2013
  4. Sep 19, 2013
    • Pekka Enberg's avatar
      scripts/silenant.py: Fix error message if ant not found · 97cec783
      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: default avatarPekka Enberg <penberg@cloudius-systems.com>
      97cec783
    • Benoît Canet's avatar
      run.py: give some clues to the user when subprocess.call fail · 6def48d4
      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: default avatarBenoit Canet <benoit@irqsave.net>
      6def48d4
  5. Sep 17, 2013
  6. Sep 16, 2013
  7. Sep 14, 2013
    • Glauber Costa's avatar
      run.py: also execute xen · 23d0d827
      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.
      23d0d827
  8. Sep 12, 2013
  9. Sep 11, 2013
  10. Sep 10, 2013
  11. Sep 09, 2013
  12. Sep 08, 2013
  13. Sep 05, 2013
    • Glauber Costa's avatar
      build adaptions for single image · 16b47261
      Glauber Costa authored
      16b47261
    • Glauber Costa's avatar
      imgedit: extend image editing script to deal with partitions · 716ad81d
      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."
      716ad81d
    • Glauber Costa's avatar
      bootloader: move count32 variable · fcf173eb
      Glauber Costa authored
      It currently sits in the middle of the partition table. Move it to a safer
      location.
      fcf173eb
  14. Aug 28, 2013
  15. Jul 30, 2013
  16. Jul 10, 2013
  17. Jul 08, 2013
  18. Jul 02, 2013
  19. Jul 01, 2013
    • Avi Kivity's avatar
      sched: divorce timers from threads · 786a576e
      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.
      786a576e
    • Avi Kivity's avatar
      sched: fix timer state machine · 3d768789
      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.
      3d768789
  20. Jun 30, 2013
  21. Jun 17, 2013
  22. Jun 12, 2013
  23. Jun 09, 2013
  24. Jun 06, 2013
Loading