[libvirt-users] libvirt 0.9.4-23 on CentOS 6.2 with xen support

2012-01-31 Thread Rudolf Ladyzhenskii
Hi, all I am trying to install xen on CentOS 6.2. (64 bit on Intel CPU). I am at the stage when xen kernel is app and running and xend is running. Next issue is that I am getting following message when tyring to run virt-manager: no connection driver available for No connection for URI xen:/

Re: [libvirt-users] Libvirt migration issues (0.9.4 and 0.9.9)

2012-01-31 Thread Eric Blake
[please don't top-post on technical lists] On 01/31/2012 02:47 AM, Daniel Espling wrote: > Sorry for the spamming, but changing the below code: > > if (cloexec) > fd = fcntl(sock->fd, F_DUPFD_CLOEXEC); > else > fd = dup(sock->fd); > > to: > > fd = dup(sock->fd); > if (cloe

Re: [libvirt-users] Libvirt migration issues (0.9.4 and 0.9.9)

2012-01-31 Thread Daniel Espling
Sorry for the spamming, but changing the below code: if (cloexec) fd = fcntl(sock->fd, F_DUPFD_CLOEXEC); else fd = dup(sock->fd); to: fd = dup(sock->fd); if (cloexec && fd >= 0) cntl(fd, F_SETFD, FD_CLOEXEC); made it work for me. //Daniel On Jan 31, 2012, at 10:

Re: [libvirt-users] Libvirt migration issues (0.9.4 and 0.9.9)

2012-01-31 Thread Daniel Espling
Hi again, I spent some time trying to debug this: added some printouts and noticed that the virNetSocketDupFD() function is called with cloexec = True, hence triggering the call: fd = fcntl(sock->fd, F_DUPFD_CLOEXEC); However, running on CentOS 5.5 our glibc version is glibc-2.5-49.el5_5.5, a