LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 05-23-2012, 11:00 PM   #1
code penguin
LQ Newbie
 
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
some problemS about developing with libvirt onXCP,can not connect to xen hypervisor


I want to use Libvirt to do development on XCP and I write a simple test program of local connection,they are as follows:

conn = virConnectOpenReadOnly("xen:///");
if(conn == NULL) printf("connect\n");

But it has an error:

[root@xenserver-wss monitor_xcl]# ./vm1libvir: Xen Daemon error : unable to connect to 'localhost:8000': Connection refused connect
Then I use the “virsh version”,errors happen again:

[root@xenserver-wss monitor_xcl]# virsh versionerror: unable to connect to 'localhost:8000': Connection refusederror: failed to connect to the hypervisor

Most people suggest to modify the configuration file of“xend”: /etc/xen/xend-config.sxp
but I can’t find this file.
System information:
libvirtd (libvirt) 0.8.2Linux xenserver-wss 2.6.32.12-0.7.1.xs1.4.90.530.170661xen #1 SMP Mon Feb 6 17:55:01 EST 2012 i686 i686 i386 GNU/LinuxXCP-1.0

I would like to know whether Libvirt need Xend to support it and if XCP is no longer supports XM or not? How can I solve this problem?

Thanks in advance.If you require any ore information, please ask.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Xen Hypervisor upgrade up to 4.0.1 on Opensuse 11.3 LXer Syndicated Linux News 0 09-21-2010 11:00 AM
LXer: Hot Hypervisor upgrade up to 3.4.2 on Xen 3.4.1 & Libvirt 0.7.1-15 Dom0 on top LXer Syndicated Linux News 0 11-28-2009 05:20 PM
LXer: Citrix, Intel developing open source Xen desktop hypervisor LXer Syndicated Linux News 0 01-24-2009 07:40 PM
LXer: Backport Intrepid Xen 3.3 Hypervisor to Ubuntu Hardy Dom0 (2.6.24-21-xen) LXer Syndicated Linux News 0 11-13-2008 06:11 PM
LXer: Xen.org Delivers Version 3.3 of the Xen Hypervisor LXer Syndicated Linux News 0 08-29-2008 10:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration