View previous topic :: View next topic |
Author |
Message |
infogerance n00b
Joined: 31 May 2006 Posts: 27 Location: France
|
Posted: Sun Jan 14, 2007 12:58 am Post subject: [Xen] how to bring up vif interfaces? |
|
|
Hi,
I run amd64 on core 2 duo, ARoss' Xen and Xen-sources-2.6.18 overlay's.
I would like to have Xen to run unmodified OS (Windows, and some other Linuces). I know Linux may be ran Xen-aware, but the goal is to experiment some kernel packaging, so that I need to use the distribution kernel.
I got the FC5 isos.
I made a file "/etc/xen/fc5-guest.cfg":
Quote: |
kernel = "/usr/lib64/xen/boot/hvmloader"
builder='hvm'
memory = 512
name = "fc5-guest"
vcpus=1
vif = [ 'bridge=xenbr0' ]
disk = ['phy:/dev/sda5,ioemu:hda,w','file:/home/mihamina/downloads/isos/FC-5-i386-disc1.iso,hdc:cdrom,r']
device_model ='/usr/lib64/xen/bin/qemu-dm'
boot='d'
vnc=1
vncviewer=1
serial='pty'
ne2000=0
|
But the problem is about vifX interfaces.
Neither http://fr.gentoo-wiki.com/HOWTO_XEN#Windows_XP
nor http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo tells how to bring up such interface.
In fact I dont see anywhere any documentation on how to setup networking for the need of Xen.
When I run Xen, I have:
Quote: |
asus ~ # xm create fc5-guest.cfg
Using config file "/etc/xen/fc5-guest.cfg".
VNC= 3
Error: Device 0 (vif) could not be connected. Hotplug
scripts not working.
|
bridge-utils is already emerged.
vnc is also emerged with USE="server"
What didi I do wrong? |
|
Back to top |
|
|
Dun Apprentice
Joined: 17 Apr 2004 Posts: 172 Location: Amsterdam (NL) / Venice (IT)
|
Posted: Sun Jan 14, 2007 9:23 am Post subject: |
|
|
First: all the vifs are brought up by the scripts in /etc/xen/scripts. Which ones is decided in the cfg file in "/etc/xen/xenconfig" (If i remember correctly).
Furthermore, maybe u r lacking of
Give it a try
Update: Did u type /etc/init.d/xend start, dont u? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|