WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Changing domU config parameters permanently (FC8)
From: "Kris Adler" <spurfan15@xxxxxxxxx>
Date: Thu, 12 Jun 2008 21:20:54 +0000
Delivery-date: Thu, 12 Jun 2008 14:21:42 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=qLjtBcJ8lZ3pPf+pOi6k9s1iRyjLVM9hRQ3qeMEvvIs=; b=v+WrYJLT12/y0lCpYo5liKvNwbm4yQkgDxyjwlZWI2g4xM4fflcVMAuBGxnvVu8/Ny 9VFw5tBxcQLvn3cqIiamq4uMt27EjSKlNlpxG5/toG4NtilXewHS/P6qHdc4OAWKt7XL KNfn15Qa10yyU7GOW740m0nL7ElYD1WFM7BBc=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <9846f8ae0806121021q435581eeq9d522f115ea1d17c@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <9846f8ae0806121021q435581eeq9d522f115ea1d17c@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>