Fix run directory for the fake hypervisor
authorIustin Pop <iustin@google.com>
Mon, 28 Jan 2008 14:41:35 +0000 (14:41 +0000)
committerIustin Pop <iustin@google.com>
Mon, 28 Jan 2008 14:41:35 +0000 (14:41 +0000)
commit7dbcf4a9ead6480cf12451d9c9797593811ba98b
treeeefcc62ef0a7fba835ef757d9eb3234418ce9f05
parentfb3d6e010dc9a521c186af705fe1ca0b8b563a6a
Fix run directory for the fake hypervisor

Currently the fake hypervisor has hardcoded ‘/var/run’ as a base
directory for its store. This patch adds a constant RUN_DIR that is used
for both the fake hypervisor and for BDEV_CACHE_DIR.

Reviewed-by: ultrotter
lib/constants.py
lib/hypervisor.py