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/
Home Products Support Community News


Re: [Xen-devel] /etc/xc/defaults question..

To: I RATTAN <rattan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] /etc/xc/defaults question..
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 06 Apr 2004 21:10:32 +0100
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, Rolf Neugebauer <rolf.neugebauer@xxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 06 Apr 2004 21:12:55 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 06 Apr 2004 15:57:30 EDT." <Pine.GSO.4.58.0404061549590.988@xxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> I am looking at xeno-1.2-install.tgz from download URL.
> The tar file wrt to ./install, so
> do I copy the files to respective dirs in the underlying system?

Yes. The only possible problem is that the Python modules may not end
up in the right place to get found by your Python installation. In
which case you may need to set the PYTHONPATH environment variable, or
manually work out teh correct place to put the modules (it'll be
somthing like /usr/lib/python-2.2/site-packages).
> Also, the same defaults file problem is visible: (I have / on /dev/hda1
> and swap /dev/hda2):
> vbd_list = [ ('phy:sda%d'%(7+vnid),'sda1','w'), ('phy:sda6','sda6','r') ]
> ...
> cmdline_root = "root=/dev/sda1 ro"
> ...
> cmdline_extra = "4 VMID=%d usr=/dev/sda6"%vmid
> ...
> /dev/sda sounds like SCSI, so how to replace it by IDE. Is there
> some other trick to create other domains??

It doesn't matter -- it's not /really/ SCSI. It's just the name the
teh virtual device appears as in the other guest. What you do need to
change is: 
 vbd_list = [ ('phy:sda%d'%(7+vnid),'sda1','w'), ('phy:sda6','sda6','r') ]
                    ^^^^^^^^^^^^^^^                    ^^^^

The former binds the name 'sda1' in the guest to real physical device
sda(7+vmid), and 'sda6' to realy physical device sda6. These need to
be changed to appropriate partitions on hda.

 -- Keir

This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>