Merge pull request #377 from mirage/master

shared-memory ring update
Merge pull request #378 from mirage/master

xenstore and remaining mirage tweak