|
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' ] 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. |
_______________________________________________ xen-discuss mailing list [email protected]
