1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-12-18 20:24:58 +03:00

* docs/examples/examples.xsl docs/examples/index.html

docs/site.xsl: integates the examples page in the web site
* docs//* : fixed generator and rebuilt the docs
* python/tests/basic.py python/tests/create.py: couple cleanups
Daniel
This commit is contained in:
Daniel Veillard
2006-02-20 20:50:48 +00:00
parent 144141872b
commit 9c5111b9c9
31 changed files with 93 additions and 323 deletions

View File

@@ -4,6 +4,10 @@ import sys
import os
import time
if not os.access("/proc/xen", os.R_OK):
print 'System is not running a Xen kernel'
sys.exit(1)
#
# Try to provide default OS images paths here, of course non standard
#
@@ -23,10 +27,6 @@ if osroot == None:
print "Could not find a guest OS root, edit to add the path in osroots"
sys.exit(1)
if not os.access("/proc/xen", os.R_OK):
print 'System is not running a Xen kernel'
sys.exit(1)
kernel=open("/proc/version").read().split()
kernelOv = kernel[2]
kernelU = "/boot/vmlinuz-" + kernelOv.replace('hypervisor', 'guest')