Skip to content

Instantly share code, notes, and snippets.

@pllopis
pllopis / gist:57cb7ccff93ec8ffcce4
Created October 30, 2012 16:37 — forked from anonymous/gist:8dfca128e1409cb198bf
Paravirtualized Storage Interface
// All domains need to know is container name and object names
// The domain which creates the container needs to know the groupid
// CONTAINER OPERATIONS
// Creates a new container shared with groupid
// Returns a container ID (>=0) if no error occurs.
// Returns error (<0) if resource allocation fails or if container already exists
int container_create(char *name, int groupid)