All pastes #574987 Raw Edit

Stuff

public text v1 · immutable
·published 2007-06-18 20:26 UTC
rendered paste body
(xen1:~) # xm list Boss -l
(domain
    (domid 1)
    (on_crash restart)
    (uuid 34d90d44-89e7-e495-711a-bd25e6676898)
    (bootloader_args )
    (vcpus 1)
    (name Boss)
    (on_poweroff destroy)
    (on_reboot restart)
    (bootloader )
    (maxmem 64)
    (memory 64)
    (shadow_memory 2)
    (cpu_weight 256)
    (cpu_cap 0)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (start_time 1182198043.59)
    (cpu_time 5.532468891)
    (online_vcpus 1)
    (image
        (hvm
            (kernel /usr/lib/xen/boot/hvmloader)
            (args 'vnc=1')
            (acpi 1)
            (apic 1)
            (boot c)
            (device_model /usr/lib/xen/bin/qemu-dm)
            (isa 0)
            (localtime 0)
            (monitor 1)
            (nographic 0)
            (pae 1)
            (rtc_timeoffset 0)
            (sdl 0)
            (stdvga 0)
            (usb 0)
            (vnc 1)
            (vncconsole 1)
            (vnclisten 0.0.0.0)
            (vncpasswd whatever)
            (vncunused 1)
            (xauthority /home/crichardson/.Xauthority)
            (notes (SUSPEND_CANCEL 1))
        )
    )
    (status 2)
    (state r-----)
    (store_mfn 16382)
    (device
        (vif
            (bridge xenbr0)
            (uuid 9aaef293-779e-4c3e-b02d-a82b959eeb3a)
            (script vif-bridge)
            (mac 00:16:3e:03:59:9f)
            (type ioemu)
            (backend 0)
        )
    )
    (device
        (vbd
            (uname file:/mnt/Xen_Systems/Testing/Boss2.img)
            (uuid 4f5e9a12-545a-d462-55c4-b38da8d93f2c)
            (mode w)
            (dev hda:disk)
            (backend 0)
            (bootable 1)
        )
    )
    (device
        (vfb
            (vncpasswd whatever)
            (vncunused 1)
            (vnclisten 0.0.0.0)
            (uuid 350b5aab-6110-6f4c-ac2e-f8bc18c9313f)
            (location 0.0.0.0:5900)
        )
    )
    (device
        (console
            (protocol vt100)
            (location 3)
            (uuid a22dad98-7e45-9897-af0b-8f66223e7e4e)
        )
    )
)




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 = 64
shadow_memory = 8
name = "Boss"
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'file:/mnt/Xen_Systems/Testing/Boss2.img,ioemu:hda,w' ]
cdrom='/mnt/Xen_Systems/Testing/SUSE_INSTALL.img'
device_model = '/usr/lib/xen/bin/qemu-dm'
boot="c"
vnc=1
sdl=0
vnclisten="0.0.0.0"
vncpasswd="whatever"
extra = 'vnc=1'
vncconsole = 1
monitor = 1