<html><head><style type='text/css'>body { font-family: 'Arial'; font-size: 10pt; color: #000000}</style></head><body>Ick. Thanks for your help!<br><br><br>----- Original Message -----<br>From: "Daniel P. Berrange" <berrange@redhat.com><br>To: "Jim Klein" <jklein@saugus.k12.ca.us><br>Cc: "fedora-xen" <fedora-xen@redhat.com><br>Sent: Friday, June 1, 2007 2:30:24 PM (GMT-0800) America/Los_Angeles<br>Subject: Re: [Fedora-xen] F7 and xenstore<br><br>On Fri, Jun 01, 2007 at 02:20:00PM -0700, Jim Klein wrote:<br>> Is all the configuration for domu's now in xenstore? If so, then is <br>> there an easier way to manage it than the xenstore commands? <br>> /var/lib/xend/domains appears to contain config files, listed by uuid, <br>> but changes are ignored. What are the steps to edit a domain's <br>> configuration? Thanks in advance. <br><br>No, they're no kept in xenstore. The /var/lib/xend/domains directory is<br>the location XenD uses for persistent storage of guest domain configs.<br>It is in /var because it is not user editable - changes you make there<br>will be ignored and/or overwritten by XenD at will. Not ideal, but that's<br>just what upstream Xen decided to do...<br><br>Thus we recommend using libvirt's virsh command for changing the config <br><br> 1. Get dump of the existing config<br><br>      virsh dumpxml [guest name]  > guest.xml<br><br> 2. Edit it in vi/emacs<br><br>      vi guest.xml<br><br> 3. Feed it back into Xend <br><br>       virsh define guest.xml<br><br>For a description of various XML elements/attributes that are allowed<br>in the config there is:<br><br>  http://libvirt.org/format.html<br><br>Or if you are really feeling adventurous a Relax-NG schema<br><br>  http://libvirt.org/libvirt.rng<br><br><br>Finally, virt-manager has some slightly increased capabilities for changing<br>existing guests configs. You can use it to add/remove both disk and network<br>devices - as well as previous UI for memory/max-memory & vcpus<br><br>Regards,<br>Dan.<br>-- <br>|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|<br>|=-           Perl modules: http://search.cpan.org/~danberr/              -=|<br>|=-               Projects: http://freshmeat.net/~danielpb/               -=|<br>|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| <br></body></html>