Skip to contentSkip to conversation

virt-manager problem on Ubuntu

DISCUSSION XingBin 1 participant 1 message Jul 8, 2008

lore
Share & tools
lore

XingBin

author
#0 lore raw

Hello, everyone!
I installed xen3.2.0 on Ubuntu and meet some problem. After the following commands
make all
make linux-2.6-xen0-config CONFIGMODE=menuconfig make linux-2.6-xen0-build
make linux-2.6-xen0-install

    I got xen-3.2.0.gz   vmlinuz-2.6.18.8-xen0 etc. and put them to

/boot, then I modified the menu.lst

title Xen 3.2.0 / Ubuntu 8.04, kernel 2.6.18.8-xen0
root (hd0,8)
kernel /boot/xen-3.2.0.gz
module /boot/vmlinuz-2.6.18.8-xen0 root=/dev/hda9
quiet
Now I can boot the Dom 0, and the output of 'xm list' was:
root@xingbin-desktop:/boot# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 939 2 r----- 316.5
but when I start the virt-manager, the following errors occurred:

Unable to open a connection to the Xen hypervisor/daemon.

Verify that:
- A Xen host kernel was booted
- The Xen service has been started

Details:
Unable to open connection to hypervisor URI 'xen:///':
<class 'libvirt.libvirtError'> virConnectOpenReadOnly() failed Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/connection.py", line 332,
in _open_thread
self.vmm = libvirt.openReadOnly(self.uri)
File "/usr/lib/python2.5/site-packages/libvirt.py", line 144, in openReadOnly
if ret is None:raise libvirtError('virConnectOpenReadOnly() failed')
libvirtError: virConnectOpenReadOnly() failed

So what's the reason?
Thank you all!