Popularity
8.1
Declining
Activity
0.0
Stable
17
16
0

Monthly Downloads: 10
Programming language: Haskell
License: MIT License
Tags: System    
Latest version: v0.1.0

hen alternatives and similar packages

Based on the "System" category.
Alternatively, view hen alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of hen or a related project?

Add another 'System' Package

README

hen Build Status

hen is a Haskell bindings to Xen hypervisor interface. Key feature of hen is that you can use a single library to interact with both Xen3 and Xen4 hypervisor versions.

The API is split into three levels:

|-----------------+-------------------------------------------------------------|
| Level           | Description                                                 |
|-----------------+-------------------------------------------------------------|
| System.Xen.Low  | Provides bindings to raw xenctrl calls.                     |
| System.Xen.Mid  | Defines useful helper functions for acessing System.Xen.Low |
|                 | and allows you to use your favourite impure Monad.          |
| System.Xen.High | Implements the Xen monad, which guarantees safety during    |
|                 | lowlevel operations.                                        |
|-----------------+-------------------------------------------------------------|

Example

module Main (main) where

import System.Xen (runXenT, domainGetInfo)

main :: IO ()
main = print =<< runXenT domainGetInfo

Installation

hen requires xenctrl headers, Google and unpack any of the two packages bellow:

+-----------+-----------------------------------------+
|XCP version|                   Package               |
|-----------+-----------------------------------------+
|1.1        |xen-devel-3.4.2-1.1.0.704.20055.i686.rpm |
|1.5        |xen-devel-4.1.3-1.6.10.498.23551.i686.rpm|
+-----------+-----------------------------------------+

After you've unpacked the headers, point cabal-dev to them and you're done:

λ cabal-dev configure --extra-include-dirs=/path/to/headers