mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
tools: remove hard coded paths in example config files
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
This commit is contained in:
1 parent
a05dfcaccf
commit
ed072758a7
7 files changed
+16
-21
No files matched your search
@@ -153,14 +153,14 @@ cpu_weight = 0.75
|
||||
try:
|
||||
os.write(fd,
|
||||
'''
|
||||
kernel = "/usr/lib/xen/boot/hvmloader"
|
||||
kernel = "hvmloader"
|
||||
builder='hvm'
|
||||
memory = 128
|
||||
name = "ExampleHVMDomain"
|
||||
vcpus=1
|
||||
vif = [ 'type=ioemu, bridge=xenbr0' ]
|
||||
disk = [ 'file:/var/images/min-el3-i386.img,ioemu:hda,w' ]
|
||||
device_model = '/usr/lib/xen/bin/qemu-dm'
|
||||
device_model = 'qemu-dm'
|
||||
sdl=0
|
||||
vnc=1
|
||||
vncviewer=1
|
||||
@@ -170,7 +170,7 @@ ne2000=0
|
||||
os.close(fd)
|
||||
|
||||
self.t('-f %s display=fakedisplay' % fname,
|
||||
{ 'kernel' : '/usr/lib/xen/boot/hvmloader',
|
||||
{ 'kernel' : 'hvmloader',
|
||||
'builder' : 'hvm',
|
||||
'memory' : 128,
|
||||
'name' : 'ExampleHVMDomain',
|
||||
@@ -179,7 +179,7 @@ ne2000=0
|
||||
'vif' : ['type=ioemu, bridge=xenbr0'],
|
||||
'disk' : [['file:/var/images/min-el3-i386.img',
|
||||
'ioemu:hda', 'w', None]],
|
||||
'device_model': '/usr/lib/xen/bin/qemu-dm',
|
||||
'device_model': 'qemu-dm',
|
||||
|
||||
'extra' : ('VNC_VIEWER=%s:%d ' %
|
||||
(xen.xm.create.get_host_addr(),
|
||||
|
||||