Make the default disk be /dev/shm/vhostmd0.
authorRichard Jones <rjones@trick.home.annexia.org>
Wed, 7 Oct 2009 09:49:02 +0000 (10:49 +0100)
committerRichard Jones <rjones@trick.home.annexia.org>
Wed, 7 Oct 2009 09:49:02 +0000 (10:49 +0100)
commit0e903207780030521c4dad7f41e5b7b748376d85
tree53cbf0f8526a9bc4475e8b88a4511a88174f13e6
parent43dacb28ee9c4b4ef4ecefd7a2c305b69387ff89
Make the default disk be /dev/shm/vhostmd0.

Previously we used a subdirectory (/dev/shm/vhostmd/).  However
the permissions on the subdirectory had to be set by hand by the
system administrator, and if the sysadmin didn't set them, then
libvirt would fail to start the guest.

However by just putting the metrics disk into /dev/shm directly,
the permissions can be controlled by vhostmd when it creates the
device.

Not having the subdirectory is also simpler.
README
docs/man/vhostmd.8
libmetrics/libmetrics.c
vhostmd.xml
vhostmd/vhostmd.c