RE: [libvirt] broken pipe?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the tips.
Next batch of issues...

1. while still trying to build manually... Any estimation on when/if 0.5
will make it to F10?

2. I'm using git, not cvs. Are these error in autobuild.sh of any
significance?
autopoint: *** cvs program not found
autopoint: *** Stop.

3. the blocking one - neither 0.5 tag nor head can autobuild or autogen.
Both fail with:
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in
since there are some other messages in the output, I've attached below the
full output in case it is relevant.

Thanks,
   Itamar

./autobuild.sh

# Make things clean.

test -n "$1" && RESULTS=$1 || RESULTS=results.log

test -f Makefile && make -k distclean || :
rm -rf coverage

#rm -rf build
#mkdir build
#cd build

./autogen.sh --prefix="$AUTOBUILD_INSTALL_ROOT" \
  --enable-test-coverage \
  --enable-compile-warnings=error \
  --with-xen-proxy
autopoint: *** cvs program not found
autopoint: *** Stop.
Putting files in AC_CONFIG_AUX_DIR, `build-aux'.
configure.in:1066: required file `build-aux/config.rpath' not found
configure.in:1066: required file `./ABOUT-NLS' not found
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for working alloca.h... yes
checking for alloca... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for stdint.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking whether the preprocessor supports include_next... yes
checking for inline... inline
checking whether <sys/socket.h> is self-contained... yes
checking for shutdown... yes
checking whether <sys/socket.h> defines the SHUT_* macros... yes
checking for complete errno.h... yes
checking whether stdin defaults to large file offsets... yes
checking for struct addrinfo... yes
checking for C/C++ restrict keyword... __restrict
checking for IPv4 sockets... yes
checking for IPv6 sockets... yes
checking whether getdelim is declared... yes
checking whether getline is declared... yes
checking whether getpass is declared... yes
checking for __fsetlocking... yes
checking for tcgetattr... yes
checking for tcsetattr... yes
checking for gettimeofday... yes
checking for lstat... yes
checking for vasnprintf... no
checking whether fflush_unlocked is declared... yes
checking whether flockfile is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether funlockfile is declared... yes
checking whether putc_unlocked is declared... yes
checking for struct timeval... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for external symbol _system_configuration... no
checking whether snprintf is declared... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking whether strdup is declared... yes
checking for working strerror function... yes
checking whether strndup is declared... yes
checking whether strnlen is declared... yes
checking whether stat file-mode macros are broken... no
checking for wchar_t... yes
checking for wint_t... yes
checking for size_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking for alloca as a compiler built-in... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for fseeko... yes
configure: checking how to do getaddrinfo, freeaddrinfo and getnameinfo
checking for library containing getaddrinfo... none required
checking for getaddrinfo... yes
checking for gai_strerror (possibly via ws2tcpip.h)... yes
checking for library containing gethostbyname... none required
checking for library containing getservbyname... none required
checking for gethostbyname... yes
checking for struct sockaddr.sa_len... no
checking whether getaddrinfo is declared... yes
checking whether freeaddrinfo is declared... yes
checking whether gai_strerror is declared... yes
checking whether getnameinfo is declared... yes
checking for struct addrinfo... (cached) yes
checking for getdelim... yes
checking for gethostname... yes
checking for getline... yes
checking for working getline function... yes
checking for getpass... yes
checking for gettimeofday with POSIX signature... yes
checking whether gettimeofday clobbers localtime buffer... no
checking for inet_ntop... yes
checking whether inet_ntop is declared... yes
checking for inet_pton... yes
checking whether inet_pton is declared... yes
checking whether lseek detects pipes... yes
checking whether lstat dereferences a symlink specified with a trailing
slash... yes
checking for working mkstemp... yes
checking for struct addrinfo... (cached) yes
checking whether <netinet/in.h> is self-contained... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/param.h... yes
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for pstat_getstatic... no
checking for pstat_getdynamic... no
checking for sysmp... no
checking for getsysinfo... no
checking for sysctl... yes
checking for table... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking for poll... yes
checking for a shell that conforms to POSIX... /bin/sh
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for snprintf... yes
checking whether snprintf respects a size of 1... yes
checking for socklen_t... yes
checking whether stdint.h conforms to C99... yes
checking for struct random_data... yes
checking for strdup... yes
checking for working strndup... yes
checking for working strnlen... yes
checking for strpbrk... yes
checking for strsep... yes
checking whether <sys/select.h> is self-contained... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking whether <sys/socket.h> is self-contained... (cached) yes
checking for shutdown... (cached) yes
checking whether <sys/socket.h> defines the SHUT_* macros... (cached) yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for nlink_t... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for ptrdiff_t... yes
checking for snprintf... (cached) yes
checking for wcslen... yes
checking whether _snprintf is declared... no
checking for vasprintf... yes
checking whether <wchar.h> is standalone... yes
checking for stdint.h... (cached) yes
checking whether setsockopt requires -lsocket... no
checking for wchar_t... (cached) yes
checking for wint_t... (cached) yes
checking whether <sys/ioctl.h> declares ioctl... checking whether ioctl is
declared... yes
yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for shutdown... (cached) yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for an ANSI C-conforming const... yes
checking for function prototypes... yes
checking for string.h... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1966080
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs...
immediate
appending configuration tag "F77" to libtool
checking whether gcc and cc understand -c and -o together... yes
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wformat... yes
checking whether gcc understands -Wformat-security... yes
checking whether gcc understands -Wmissing-prototypes... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Wpointer-arith... yes
checking whether gcc understands -Wextra... yes
checking whether gcc understands -Wshadow... yes
checking whether gcc understands -Wcast-align... yes
checking whether gcc understands -Wwrite-strings... yes
checking whether gcc understands -Waggregate-return... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Winline... yes
checking whether gcc understands -Wredundant-decls... yes
checking whether gcc understands -Wno-sign-compare... yes
checking whether gcc understands -Wp,-D_FORTIFY_SOURCE=2... yes
checking whether gcc understands -fexceptions... yes
checking whether gcc understands -fasynchronous-unwind-tables... yes
checking whether gcc understands -Werror... yes
checking what language compliance flags to pass to the C compiler...
checking for special C compiler options needed for large files... (cached)
no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) no
checking for cfmakeraw... yes
checking for regexec... yes
checking for uname... yes
checking for sched_getaffinity... yes
checking for getuid... yes
checking for getgid... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for sys/wait.h... (cached) yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking for termios.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for xdrmem_create in -lportablexdr... no
checking for library containing xdrmem_create... none required
checking for gettext in -lintl... no
checking for rpcgen... /usr/bin/rpcgen
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_join in -lpthread... yes
checking for rm... /bin/rm
checking for mv... /bin/mv
checking for tar... /bin/tar
checking for xmllint... /usr/bin/xmllint
checking for xmlcatalog... /usr/bin/xmlcatalog
checking for xsltproc... /usr/bin/xsltproc
checking for augparse... /usr/bin/augparse
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for dnsmasq... /usr/sbin/dnsmasq
checking for brctl... /usr/sbin/brctl
checking for udevadm... /sbin/udevadm
checking for udevsettle... /sbin/udevsettle
checking where to write libvirtd PID file...
${prefix}/var/run/libvirtd.pid
checking for init script flavor... redhat
checking for lokkit... /usr/sbin/lokkit
checking for iptables... /sbin/iptables
checking for xs_read in -lxenstore... yes
checking for xen/xen.h... yes
checking for xen/version.h... yes
checking for xen/dom0_ops.h... yes
checking for xen/sys/privcmd.h... yes
checking linux/inotify.h usability... yes
checking linux/inotify.h presence... yes
checking for linux/inotify.h... yes
checking linux/param.h usability... yes
checking linux/param.h presence... yes
checking for linux/param.h... yes
checking linux/sockios.h usability... yes
checking linux/sockios.h presence... yes
checking for linux/sockios.h... yes
checking linux/if_bridge.h usability... yes
checking linux/if_bridge.h presence... yes
checking for linux/if_bridge.h... yes
checking linux/if_tun.h usability... yes
checking linux/if_tun.h presence... yes
checking for linux/if_tun.h... yes
checking linux/kvm.h usability... yes
checking linux/kvm.h presence... yes
checking for linux/kvm.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBXML... yes
checking for struct _xmlURI.query_raw... yes
checking gnutls/gnutls.h usability... yes
checking gnutls/gnutls.h presence... yes
checking for gnutls/gnutls.h... yes
checking for gnutls_handshake in -lgnutls... yes
checking for gnutls_session... yes
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking for sasl_client_init in -lsasl2... yes
checking for POLKIT... no
checking for AVAHI... no
checking selinux/selinux.h usability... no
checking selinux/selinux.h presence... no
checking for selinux/selinux.h... no
checking for fgetfilecon in -lselinux... no
checking numa.h usability... no
checking numa.h presence... no
checking for numa.h... no
checking for numa_available in -lnuma... no
checking readline/readline.h usability... no
checking readline/readline.h presence... no
checking for readline/readline.h... no
checking for readline in -lreadline... no
checking for library containing tgetent... no
checking for rl_initialize in -lreadline... no
configure: WARNING: readline library not found
checking for mount... /bin/mount
checking for umount... /bin/umount
checking for showmount... /usr/sbin/showmount
checking for qemu-img... /usr/bin/qemu-img
checking for qcow-create... no
checking for pvcreate... /sbin/pvcreate
checking for vgcreate... /sbin/vgcreate
checking for lvcreate... /sbin/lvcreate
checking for pvremove... /sbin/pvremove
checking for vgremove... /sbin/vgremove
checking for lvremove... /sbin/lvremove
checking for vgchange... /sbin/vgchange
checking for vgscan... /sbin/vgscan
checking for pvs... /sbin/pvs
checking for vgs... /sbin/vgs
checking for lvs... /sbin/lvs
checking for iscsiadm... /sbin/iscsiadm
checking for parted... /sbin/parted
checking for LIBPARTED... no
checking parted/parted.h usability... no
checking parted/parted.h presence... no
checking for parted/parted.h... no
checking for uuid_generate in -luuid... no
checking for ped_device_read in -lparted... no
checking for python... /usr/bin/python
Found Python version 2.5
could not find python2.5/Python.h
checking whether this host is running a Xen kernel... no
checking If XenD UNIX socket /var/run/xend/xmlrpc.sock is accessible... no
checking whether compiler accepts -fprofile-arcs... yes
checking whether compiler accepts -ftest-coverage... yes
checking if Xen setuid proxy is needed... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... /bin/sh:
build-aux/config.rpath: No such file or directory
done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for windres... no
checking for HAL... no
checking for GLIB2... no
configure: creating ./config.status
config.status: error: cannot find input file: Makefile.in



> -----Original Message-----
> From: Daniel P. Berrange [mailto:berrange@xxxxxxxxxx]
> Sent: Wednesday, December 03, 2008 11:28 AM
> To: Itamar Heim
> Cc: Libvir-list@xxxxxxxxxx
> Subject: Re: [libvirt] broken pipe?
> 
> On Wed, Dec 03, 2008 at 02:25:58AM -0500, Itamar Heim wrote:
> > As no one answered my previous problem., I'm trying to build latest
> > libvirt to be able to be more productive and find out if happens on
> later
> > versions.
> >
> > Some silly questions to save time (on FC10 64):
> >
> > 1.       Can one build without xen-devel (the autobuild.sh does not
> care
> > for --without-xen
> > configure: error: You must install the Xen development package to
> compile
> > Xen driver with -lxenstore
> > (I installed xen-devel to bypass for now)
> 
> autobuild.sh is our automated build system for dev purposes, so it
> forces
> enablement of everything.
> 
> For your own builds from CVS, just run  autogen.sh and pass whatever
> flags you need. Or just install xen-devel as you mention.
> 
> >
> > 2.       checking libxml2 xml2-config >= 2.5.0 ... configure: error:
> Could
> > not find libxml2 anywhere (see config.log for details)
> > but
> > Package libxml2-2.7.2-2.fc10.x86_64 already installed and latest
> version?
> 
> You need the development package  libxml2-devel for compilation. Also
> make sure yum gives you the 64-bit -devel package, not just the -32bit
> one.
> 
> > 3.       already found the SDL patch is part of 0.50. since the build
> > failed, I installed the rpm:
> >
> > rpm -i /tmp/libvirt-0.5.0-1.fc9.x86_64.rpm
> 
> The version number here says it was built for Fedora 9
> 
> > warning: /tmp/libvirt-0.5.0-1.fc9.x86_64.rpm: Header V3 DSA signature:
> > NOKEY, key ID de95bc1f
> >
> > error: Failed dependencies:
> >
> >  libgnutls.so.13()(64bit) is needed by libvirt-0.5.0-1.fc9.x86_64
> >
> >  libgnutls.so.13(GNUTLS_1_3)(64bit) is needed by
> > libvirt-0.5.0-1.fc9.x86_64
> 
> But you mention above you are on Fedora 10. As a general rule you
> can't mix & match builds like this. The Fedora 9 GNUTLS has a differnt
> ABI to the Fedora 10 GNUTLS, hence why RPM complains when trying to
> install a libvirt built on F9, on F10.
> 
> > 4.       as for the python-libvirt rpm
> >
> > Seems the libvirt-python spec does not check for some dependency of
> cygwin
> > (why would I need that on fedora)?
> >
> > Traceback (most recent call last):
> >
> >   File "./test_libvirt.py", line 2, in <module>
> >
> >     import libvirt
> >
> >   File "/usr/lib64/python2.5/site-packages/libvirt.py", line 12, in
> > <module>
> >
> >     import cygvirtmod as libvirtmod
> >
> > ImportError: No module named cygvirtmod
> 
> You only get this becasue the first 'import libvirt' failed for
> some reason - I guess the libvirt-python vs libvirt RPMs you have
> installed are not matching.
> 
> If you are compiling from source from CVS, you generally need to make
> sure you set
> 
>   export LD_LIBRARY_PATH=$PREFIX/lib
>   export PYTHONPATH=$PREFIX/lib/python2.5/site-packages
> 
> replacing $PREFIX with whatever --prefix value you gave to configure
> 
> > I happen to want to use SDL, and it fails on "Could not initialize SDL
> -
> > exiting".
> >
> > While I need to solve this error (i.e., find out in which version this
> > patch was included to allow me to specify the DISPLAY
> > http://www.mail-archive.com/libvir-list@xxxxxxxxxx/msg08764.html)
> 
> That patch is in 0.5.0 release
> 
> > ./test_libvirt.py
> >
> > libvir: Remote error : socket closed unexpectedly
> >
> > Traceback (most recent call last):
> >
> >   File "./test_libvirt.py", line 37, in <module>
> >
> >     vm = c.createLinux(x, 0) # what a lousy function name
> >
> >   File "/usr/lib64/python2.5/site-packages/libvirt.py", line 892, in
> > createLinux
> >
> >     if ret is None:raise libvirtError('virDomainCreateLinux() failed',
> > conn=self)
> >
> > libvirt.libvirtError: socket closed unexpectedly
> >
> > libvir: Remote error : Broken pipe
> 
> This indicates a bug in the libvirtd daemon - it is probably crashing.
> If you want to investigate, then use do 'debuginfo-install libvirt'
> and use gdb to capture a stack trace
> 
> >
> >
> >
> > Code:
> >
> > #!/usr/bin/env python
> >
> > import libvirt
> >
> > c = libvirt.open('qemu:///system')
> >
> > x = """<domain type='kvm'>
> 
> [snip]
> 
> >     <graphics type='sdl'/>
> 
> 
> You really need to set
> 
>   <graphics type='sdl' display='0.0' and xauth='....some xuath file'/>
> 
> The libvirtd daemon blocks any $DISPLAY env set when it was started, so
> without explicitly setting the display in the XML you'll be very
> unlikely
> to start SDL.
> 
> 
> Daniel
> --
> |: Red Hat, Engineering, London   -o-
> http://people.redhat.com/berrange/ :|
> |: http://libvirt.org  -o-  http://virt-manager.org  -o-
> http://ovirt.org :|
> |: http://autobuild.org       -o-
> http://search.cpan.org/~danberr/ :|
> |: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B
> 9505 :|

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]