[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: Changing domU config parameters permanently (FC8)


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Kris Adler" <spurfan15@xxxxxxxxx>
  • Date: Thu, 12 Jun 2008 21:20:54 +0000
  • Delivery-date: Thu, 12 Jun 2008 14:21:42 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=L2UacyDaXINaxGjIX4G2MZTTFB33HJ5XFA/ML6Gf4pudtMn2jxkzl1JgSJE5PD3Q51 2kNfS4ZDdYOAk3S7qHZuBDR95BtrD9v1ufxra3k2/ms7ik8knkJMc+mtTXLQjBAwAZQY uPNmRZGei6NT0Da9TXHKnU2CBvP3Ieo2Ma+bs=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.