Skip to content
Snippets Groups Projects
README 766 B
Newer Older
  • Learn to ignore specific revisions
  • Christoph Hellwig's avatar
    Christoph Hellwig committed
    2) make sure all git submodules are uptodate
       -----------------------------------------
    
    
    Dor Laor's avatar
    Dor Laor committed
        git submodule init external/openjdk.bin/
        git submodule init external/libunwind
    
    Christoph Hellwig's avatar
    Christoph Hellwig committed
        git submodule update
    
    
    1) build the specially patched libunwind
       -------------------------------------
    
    
    Christoph Hellwig's avatar
    Christoph Hellwig committed
        cd external/libunwind
    
    Dor Laor's avatar
    Dor Laor committed
        autoreconf -i
    
    Christoph Hellwig's avatar
    Christoph Hellwig committed
        cp ./src/.libs/libunwind.a ../..
        cd ../..
    
    
    
    2) build osv
       ---------
    
        make
    
    To run OSv
    ==========
    
    1) start the binary in qemu
       ------------------------
    
        sh scripts/run.sh
    
    2) connect a debugger
       ---------------------
    
        c-a c
        (qemu) gdbserver
    
        In another terminal:
    
        # gdb build/debug/loader.elf
        (gdb) connect
    
    Avi Kivity's avatar
    Avi Kivity committed
        (gdb) osv syms