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

Re: [Xen-users] Emulating Multiple NIC cards on Guests

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Emulating Multiple NIC cards on Guests
From: jim burns <jim_burn@xxxxxxxxxxxxx>
Date: Tue, 12 Feb 2008 21:35:21 -0500
Delivery-date: Tue, 12 Feb 2008 18:36:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1202819208.2930.10.camel@xxxxxxxxxxxxxxxxxxxxx>
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: <12E3FCFEFACC6D47A2525F89FB04446D40FEA9@xxxxxxxxxxxxxxxx> <47A9C1E8.1070504@xxxxxxxxxx> <1202819208.2930.10.camel@xxxxxxxxxxxxxxxxxxxxx> (sfid-20080212_074645_006000_7089205F)
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 20071221.751182)
On Tuesday 12 February 2008 07:26:48 am Viswanath T K wrote:
> 6.  I dont see any file in /etc/xen/<guest name> so as to add vif=[], Is
> this file auto-generated when we create a guest using virt-manager.

No. While the domain is running, on a root console do 'virsh 
dumpxml "domain-id">domain.xml'. Then you can create a flat config file from 
the .xml file if you are familiar with the common options. Just remove any 
parms that refer to specific run time conditions, like the domain id #, and 
any pty in the 'console' statement. Since virsh/virt-manager maintain a 
definition (in xenstore?) that shows up in 'xm list' even when the domain is 
shutdown, you will need to do an 'xm delete domain-id' before you can run 'xm 
create flat-config'. This is the same as clicking on 'delete' in 
virt-manager. (You can always revert to the virsh behavior with 'virsh new 
domain.xml.)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users