hsXenCtrl-0.2.0: FFI bindings to the Xen Control library.

System.Xen.CBindings

Synopsis

Documentation

xc_physdev_pci_access_modify :: XCHandle -> DomId -> Bus -> Dev -> Function -> Enable -> IO CIntSource

xc_perfc_control :: XCHandle -> PerfcOp -> Ptr XCperfcDesc -> Ptr XCperfcVal -> Ptr CInt -> Ptr CInt -> IO CIntSource

Must mlock() the XCperfc data structures after poking and before calling this function.

xc_domctl :: XCHandle -> Ptr XenDomCtl -> IO CIntSource

xc_sysctl :: XCHandle -> Ptr XenSysCtl -> IO CIntSource

data XCError Source

Constructors

XCError 

newtype DomId Source

DomId identifies the Xen VM

Constructors

DomId Word32 

newtype XCHandle Source

Xen Control Handle identifies the IO channel through which must functions will pass their messages.

Constructors

XCHdl CInt 

data MMUExtOp Source

The user of MMUExtOp must perform their own marshaling operations, note the lack of a Storable instance.

Constructors

MMUExtOp