import os, re arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib' kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 128 name = "debian-unstable-hvm-1" disk = [ 'file:/home/horms/projects/xen/media/debian-unstable.disk,hda,w'] boot='c' pci = [ '00:1d.0', '00:1d.1' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' sdl=0 opengl=0 vnc=1 vnclisten="0.0.0.0" vncunused=1 nographic=0 stdvga=0 serial='pty'