similar to: How to specify the libvirtd in connect call

Displaying 20 results from an estimated 9000 matches similar to: "How to specify the libvirtd in connect call"

2012 Jun 19
1
caps->nguests == 0?
hi, I compiled the libvirt-0.9.10 and started the libvirtd with sudo. Unfortunately, I got an Error, saying 'virDomainDefParseXML unknown OS type hvm'. I debugged it and found in function virCapabilitiesSupportsGuestOSType, the parameter caps->nguests is 0. On the other hand, I tried start the libvirtd with common user, and creating domain with virsh, i found the caps->ngusts
2016 Jul 24
2
Lifecycle of a connection to libvirtd
Hey! I am trying to figure out how to reliably maintain a connection to libvirtd. From the documentation, I would expect something like that: - virConnectOpen() - virConnectRegisterCloseCallback() - virConnectSetKeepAlive() - Application logic And in the registered callback, I would: - virConnectUnregisterCloseCallback() - virConnectClose() - virConnectOpen() -
2012 May 28
1
What features of kernel are required to support virDomainGetCPUStats?
Hi, Weeks ago, I developed my app under ubuntu-11.10 (kernel 3.0) with lilbvirt-0.9.10. In my code , I used virDomainGetCPUStats to query cpu usage info of domains, and it worked well. However, today, I port my code to ubuntu-10.04.4 (kernel 2.6.32) with libvirt-0.9.10, I find the function virDomainGetCPUStats can't work and complains "this function is not supported by the connection
2012 Apr 03
1
[Building Error] cannot stat `t-af.gmo': No such file or directory
Hi, everyone I'm building the newest libvirt from git repository, of version 782afa98e4a5fa9a0927a9e32f9cf36082a2e8e7 and failed complaining as the following. make[3]: Entering directory `/home/harvey/open-projects/libvirt-build/po' cd ../../libvirt/po && : --update af.po libvirt.pot cd ../../libvirt/po && rm -f af.gmo && : -c --statistics -o af.gmo af.po mv:
2017 Jun 01
3
libvirtd not accepting connections
Hi, Ever since I recently upgraded to Fedora 25, I can't get kvm working. It's worked on this system since initial fedora 20 install. All upgrades were done via yum, then once available, dnf. I do have libvirt-sock in LISTENING state: STREAM LISTENING /var/run/libvirt/libvirt-sock I noticed I also have multiple connections in CONNECTING state: STREAM CONNECTING 0
2011 Aug 23
1
libvirt ruby binding with vmware
Hi, I've been trying to use the ruby libvirt binding with vmware esx on F15, however it doesnt seems to work, I get: Libvirt::ConnectionError: Call to virConnectOpen failed: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory I've using the same uri with virsh and it works. it seems like somehow the no_verify is not passed, or we are back to old
2014 Jun 10
2
TCP connection works for only remote host
tcp connection working only for remote host . for localhost raising the following error >>> con=libvirt.open("qemu+tcp:///system") libvirt: XML-RPC error : unable to connect to server at 'localhost:16509': Connection refused Traceback (most recent call last): File "<stdin>", line 1, in <module> File
2012 Sep 13
1
How to disable dnsmasq from starting automatically with libvirtd
Hi. I have a machine with a local DHCP server and a couple of virtual networks and I've configured the server for each virtual interface, so that I would be able to install VMs on the corresponding subnets using PXE. The problem is that the two DHCP servers (my local server and dnsmasq) are conflicting with each other causing the boot process to either fails or takes ages untill a VM can
2010 Sep 16
1
virConnectOpen question.
Hi, I am using virConnectOpen(const char *uri) to connect to the local hypervisor. When uri is set to "lxc:///", an error gets logged in /var/log/messages about failed connection. But I do not see any error for "xen:///". The machine does not have these drivers installed, and I am using libvirt 0.6.3. My questions are - 1. Why I see error in /var/log/messages for container
2013 Jun 24
3
deadlock on connection loosing
libvirtd will lock if for example kill programm which established connection, only sigkill + restart helps., to reproduce: virConnectPtr libvirt_connection = virConnectOpen("qemu:///system"); if(libvirt_connection == NULL) { std::cout<<"failed to connect to qemu:///system\n"; exit(-1); } exit(0);
2013 Oct 14
2
Re: event handler
Michal Privoznik писал 2013-10-14 11:39: > On 14.10.2013 10:33, Alexandr wrote: >> Michal Privoznik писал 2013-10-14 08:48: >>> On 14.10.2013 02:42, Alexandr wrote: >>>> good day to all. >>>> i still have not solved my problem with event handling. >>>> currently i have following code >>>> >>>> >>>> void
2013 Oct 14
2
Re: event handler
Michal Privoznik писал 2013-10-14 08:48: > On 14.10.2013 02:42, Alexandr wrote: >> good day to all. >> i still have not solved my problem with event handling. >> currently i have following code >> >> >> void libvirt_eventloop_thr_func() >> { >> while(true) //TODO: stop somehow on exit >> { >>
2016 Jul 25
0
Re: Lifecycle of a connection to libvirtd
On Sun, Jul 24, 2016 at 11:13:08PM +0200, Vincent Bernat wrote: >Hey! > >I am trying to figure out how to reliably maintain a connection to >libvirtd. From the documentation, I would expect something like that: > > - virConnectOpen() > - virConnectRegisterCloseCallback() > - virConnectSetKeepAlive() > - Application logic > >And in the registered callback, I would:
2008 May 12
5
virt-install fails on SXDE build 87
Hi. I have an AMD Athlon 64 X2/dual core processor and 2 gigs of ram running SXDE/87 (as far as I can tell, it''s on a ufs filesystem, not zfs). I''m attempting to install Vista from cd and the virt-install command fails with the same error regardless of what I do. I''m running this from my user (not root) account. I''m using qemu-img to create my hard drive images.
2011 Feb 12
4
if xend block
Hi, All I use python, I want to know If xend is blocked, then I call virConnectOpen will it return or block? Thanks, Allan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2012 Jun 12
2
What's the most recent compatible libvirt and qemu-kvm?
Figured I'd test qemu-kvm-1.0.1 and libvirt-0.9.12, but the result after default compiles is: root at black:/usr/local/sbin# ./libvirtd 2012-06-12 19:53:41.894+0000: 6076: info : libvirt version: 0.9.12 2012-06-12 19:53:41.894+0000: 6076: warning : ebiptablesDriverInit:4084 : Could not find 'ebtables' executable 2012-06-12 19:53:42.675+0000: 6076: error : qemuCapsComputeCmdFlags:1209
2013 Oct 14
2
event handler
good day to all. i still have not solved my problem with event handling. currently i have following code void libvirt_eventloop_thr_func() { while(true) //TODO: stop somehow on exit { if(virEventRunDefaultImpl() < 0) { virErrorPtr err = virGetLastError(); fprintf(stderr, "Failed to run event loop: %s\n", err && err->message ? err->message : "Unknown
2014 Apr 01
3
set keep alive
Can anyone explain what is happening. After call virConnectOpen virEventRegisterDefaultImpl() call virConnectSetKeepAlive returns VirtError(1): internal error: the caller doesn't support keepalive protocol; perhaps it's missing event loop implementation, but the next call this sequence of commands returns success. Why virConnectSetKeepAlive not work right the first time? -- Fl at sh
2009 Sep 23
1
virt-install error - failed to connect
Hi all, I installed Xen 3.4.0 on RH5.3 from the source, It is working fine (Dom0), but when i tried to create new guest (hvm) by the virt-install i got the next message: Wed, 23 Sep 2009 12:02:15 ERROR virConnectOpen() failed Traceback (most recent call last): File "/usr/sbin/virt-install", line 560, in ? main() File "/usr/sbin/virt-install", line 348, in main
2009 Sep 30
2
Few questions about oVirt install.
Hi. I have successfully installed ovirt. Boot 2 nodex throught PXE boot, and added to pool. Whe i try to create NFS storage, they in state: pending setup. How to add NFS storage? taskomatic.log INFO Wed Sep 30 16:59:09 +0300 2009 (1991) starting task_refresh_pool INFO Wed Sep 30 16:59:09 +0300 2009 (1991) storage_find_suitable_host: host node3.ovirt.priv uuid 30303234-3144-3832-4638-3931FF