Hi All,
I successfully installed a 32bit W2003 domu using the following config file (as
the CD image wasn''t persistent between reboots, otherwise I would have
used virt-install ;-) ) :
isk = [
''file:/images/xvm/w2003/w2003-disk.raw,hdc,w'',''file:/images/isos/en_win_srv_2003_r2_enterprise_cd1.
iso,hda:cdrom,r'' ]
memory = 512
name = "w2003"
kernel = "/usr/lib/xen/boot/hvmloader"
builder=''hvm''
vif = [ ''type=ioemu'' ]
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''preserve''
boot=''c''
vnc=1
vnclisten="0.0.0.0"
vncpasswd=''''
serial=''null''
usb=1
usbdevice="tablet"
import os, re
arch = os.uname()[4]
if re.search(''64'', arch):
arch_libdir = ''lib64''
else:
arch_libdir = ''lib''
device_model = ''/usr/'' + arch_libdir +
''/xen/bin/qemu-dm''
Trouble is, whenever I reboot or shutdown the domain, or reboot dom0, I lose the
config i.e. ''xm list'' does not show my domain. I can get the
domain back again by running ''xm create [domain config
filename]'' but that''s too much hassle!
Obviously a case of RTFM, if someone would be so kind as to point me in the
right direction!
Regards,
Simon.
This message posted from opensolaris.org
Andrew Gabriel
2007-Dec-10 13:18 UTC
Re: snv 77 W2003 domu loses config on reboot/shutdown
Just a guess, but try xm new rather than xm create.
I use virsh rather than xm, and this is
the difference between virsh create and virsh
define -- the latter puts the configuration into persistent
storage whereas the former does not. (virsh uses an XML
config file though.)
Simon Redmill wrote:
Hi All,
I successfully installed a 32bit W2003 domu using the following config file (as
the CD image wasn''t persistent between reboots, otherwise I would have
used virt-install ;-) ) :
isk = [
''file:/images/xvm/w2003/w2003-disk.raw,hdc,w'',''file:/images/isos/en_win_srv_2003_r2_enterprise_cd1.
iso,hda:cdrom,r'' ]
memory = 512
name = "w2003"
kernel = "/usr/lib/xen/boot/hvmloader"
builder=''hvm''
vif = [ ''type=ioemu'' ]
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''preserve''
boot=''c''
vnc=1
vnclisten="0.0.0.0"
vncpasswd=''''
serial=''null''
usb=1
usbdevice="tablet"
import os, re
arch = os.uname()[4]
if re.search(''64'', arch):
arch_libdir = ''lib64''
else:
arch_libdir = ''lib''
device_model = ''/usr/'' + arch_libdir +
''/xen/bin/qemu-dm''
Trouble is, whenever I reboot or shutdown the domain, or reboot dom0, I lose the
config i.e. ''xm list'' does not show my domain. I can get the
domain back again by running ''xm create [domain config
filename]'' but that''s too much hassle!
Obviously a case of RTFM, if someone would be so kind as to point me in the
right direction!
Regards,
Simon.
Boris Derzhavets
2007-Dec-10 14:15 UTC
Re: snv 77 W2003 domu loses config on reboot/shutdown
Per MRJ:-
Are you using the workaround for:
6612343 The fix for 6292092 and xvm dom0 not getting along
http://bugs.opensolaris.org/view_bug.do?bug_id=6612343
which is to put the following in /etc/system
set softcall_delay=0x100000
BTW, this should be fixed in b79.
This message posted from opensolaris.org
Thanks Andrew - ''xm new'' worked a treat! Simon. This message posted from opensolaris.org