I can't install any guest vm,(I'm trying this on
Fedora13 and kernel 3.2.7,compiled as dom0 and xen 4.1.2)
virt-manager connect to xen but when trying to create a new
guest it
fails with this error:
Unable to complete install: 'POST operation failed: xend_post:
error
from xen daemon: (xend.err 'Device 0 (vif) could not be
connected.
Hotplug scripts not working.')'
operation failed: xend_post: error from xen daemon: (xend.err
'Device
0 (vif) could not be connected. Hotplug scripts not working.')
Traceback (most recent call last):
File "/usr/share/virt-manager/
virtManager/create.py", line 1567, in
do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py",
line
1023, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py",
line
1088, in _do_install
"install")
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py",
line
1059, in _create_guest
dom = self.conn.createLinux(start_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line
1277, in
createLinux
if ret is None:raise libvirtError('virDomainCreateLinux()
failed',
conn=self)
libvirtError: POST operation failed: xend_post: error from xen
daemon:
(xend.err 'Device 0 (vif) could not be connected. Hotplug
scripts not
working.')
and the same problem when creating by commandline.
I'v set up a bridge:
brctl show
bridge name bridge id STP enabled
interfaces
br0 8000.0024e8e7bd75 no eth0
virbr0 8000.000000000000 yes
ifcfg-br0 file :
DEVICE=br0
TYPE=Bridge
BOOTPROTO=dhcp
>
NM_CONTROLLED=yes
ifconfig
br0 Link encap:Ethernet HWaddr 00:24:E8:E7:BD:75
inet6 addr: fe80::224:e8ff:fee7:bd75/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:554 (554.0 b)
eth0 Link encap:Ethernet HWaddr 00:24:E8:E7:BD:75
UP BROADCAST MULTICAST MTU:9000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:36 Base address:0x8000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:131950 errors:0 dropped:0 overruns:0
frame:0
TX packets:131950 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:15243838 (14.5 MiB) TX bytes:15243838
(14.5 MiB)
virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:#.#.#.# Bcast:#.#.#.# Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)