Alex Gor wrote:
Having problem to make guest windows domU to start automatically on system boot.

SXCE b116 onnv-3.4
Xen 3.4

on_xend_start is set to 'start' in conf file

I tried to force on_xend_start like that

xm list -l > /tmp/myguest.sxp
change all the instances of on_xend_start from 'ignore' to 'start'
xm new -F /tmp/myguest.sxp

I just tried this with the latest 3.4 bits and it works fine for
me.  I rebooted my dom0 and the guest started when dom0 booted.
Note, the guests start when xvm/domains starts.

What do you see in dom0 for "svcs xvm/domains"?


I tried to run "virsh autostart winserver"

-bash-3.2# virsh autostart winserver
error: Failed to mark domain winserver as autostarted
error: failed to serialize S-Expr: (domain (on_crash restart) (uuid 
c24cf31a-8c80-ecac-1123-7e4c3349421e) (bootloader_args) (vcpus 1) (name 
winserver) (on_poweroff destroy) (on_reboot restart) (cpus (

libvirt isn't working very well with the 3.4 bits.
Still need to debug it...



MRJ




Nothing works.

Please see attached my conf file below

import os, re
vif = [ 'type=ioemu, bridge=e1000g0']
memory=2048
shadow_memory=160
vcpus=1
builder = "hvm"
device_model = '/usr/lib/xen/bin/amd64/qemu-dm'
kernel = "/usr/lib/xen/boot/hvmloader"
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncunused=0
vncpasswd='password'
usbdevice='tablet'
apic=0
acpi=0
pae=0
serial = "pty"
on_reboot   = 'restart'
on_crash    = 'restart'
on_poweroff = 'destroy'
name="winserver"
on_xend_start = 'start'
vncdisplay=1
boot="cd"
disk = [ 
'file:/data/winserver/winserver-system.img,hda,w','file:/data/iso/win2003_2.iso,hdc:cdrom,r'
 ]

Please help.Thanks a lot.
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to