|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Re: Changing domU config parameters permanently (FC8)
Never mind, I can edit my domain configurations now. I see that the process for editing a domain in virsh is:
virsh shutdown <domain> virsh dumpxml <domain> > domain.xml make changes to domain.xml
virsh undefine <domain> virsh define domain.xml virsh start <domain>
Regards,
Kris
On Thu, Jun 12, 2008 at 5:21 PM, Kris Adler < spurfan15@xxxxxxxxx> wrote:
Hello,
I have Xen running with FC8 as the host domain. I installed CentOS 5.1 x64 as my first guest OS, and that works fine. I have been using virt-install to perform guest OS installations, and I have been using Fedora's virsh for much of my domain operation, along with some use of xm.
I managed to get Win2k installed yesterday in fully virtualized mode, but it required a bit of luck. First boot from my Win2k CD went fine, but on the reboot, 2k wanted access to the CD, and Xen had unmounted it. I was going to try install again, so I did destroy and delete on the 2k domain, then I did another virt-install. Since the 2k partition was still whole, and Xen booted from CD again, Win2k booted up, the CD was mounted, and the install completed.
That was good fortune, but I'd really like to have the ability to put any CD in the Win2k environment at any time, so I can install programs from disk. I checked the virsh dumpxml, and saw that after the first installation run, xen changed the settings, and the cdrom settings are now wrong.
I just learned how to manually attach and detach my cd device by using xm block-configure (I've confirmed it works), but I still don't know how to permanently affect changes to my domain. There aren't any active hvm files in /etc/xen, probably because virsh handles all of my settings. What is the best way (if any) for me to change settings like boot device, cdrom settings, etc so they are correct at domain startup?
Regards,
Kris
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|