Git Product home page Git Product logo

pisces's Introduction

******** Clone Repositories *********

-- Clone Palacios --
git clone http://essex.cs.pitt.edu/git/palacios.git

-- Clone Pisces --
git clone http://essex.cs.pitt.edu/git/pisces.git

-- Clone PetLib --
git clone http://essex.cs.pitt.edu/git/petlib.git

-- Clone XEMEM --
git clone http://essex.cs.pitt.edu/git/xpmem.git

-- Clone Kitten --
git clone  https://software.sandia.gov/git/kitten



******** Set Configs *********

-- Kitten configuration parameters --
Target Configuration -->System Architecture -->  Multi-instance environment
CONFIG_PISCES=y

Virtualization --> Include Palacios virtual machine monitor -->
    Internal/External Palacios libirary --> Link in Palacios as a self contained module
CONFIG_PALACIOS=y
# CONFIG_PALACIOS_INTERNAL is not set
CONFIG_PALACIOS_EXTERNAL=y
CONFIG_PALACIOS_PATH="/path/to/palacios"


-- Palacios configuration parameters --
V3_CONFIG_KITTEN=y
V3_CONFIG_KITTEN_KERN="/path/to/kitten"



******** Building *********

-- Building Environment -
(1) Build PetLib
(2) Build XEMEM
(3) Build Kitten
(4) Build Palacios
(5) Build Kitten again to link Palacios lib
(6) Build Pisces


******** Pisces Enclave Control *********

-- Launching Pisces Enclave --
From xpmem directory run 'insmod xpmem.ko'
From pisces directory run 'insmod pisces.ko'

(In pisces/linux_usr)
./pisces_load /path/to/vmlwk.bin /path/to/pisces_init_task 'console=pisces'
./pisces_launch [-n <numa_node>] [-c <cpu_id>] /dev/pisces-enclave0


-- Add memory/cpus to enclave --
./pisces_add [-n <numa_node>] -m <num memory blocks> /dev/pisces-enclave0
./pisces_add [-n <numa_node>] -c <num cpus> /dev/pisces-enclave0


-- Add PCI devices to enclave --
./v3_pci -a <device_name> <bus>:<dev>.<fn> /dev/pisces-enclave0


-- Connecting to Pisces console --
./pisces_cons /dev/pisces-enclave0


******** Palacios VM Control *********

-- Create Palacios VM --
./v3_create /dev/pisces-enclave0 -b /path/to/vm/config <vm name> /dev/pisces-enclave0


-- Launch Palacios VM
./v3_launch /dev/pisces-enclave0 0


-- Connecting to Palacios VM Console --
./v3_cons_sc /dev/pisces-enclave0 0

pisces's People

Contributors

jarusl avatar drouyang avatar ktpedre avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.