1. 18 11月, 2017 3 次提交
    • M
      build: Use XDR_CFLAGS in more places · 74a13be4
      Martin Kletzander 提交于
      Since update to glibc-2.26 removed the /usr/include/rpc/rpc.h we used until now,
      it showed us a problem with not using XDR_CFLAGS properly.  On linux that
      variable has usually -I/usr/include/tirpc because we already probe for it
      properly, we just don't use it everywhere we need.  It is needed by wireshark
      dissector as well as testutilsqemu.c (through includes) so the build fails with:
      
      wireshark/src/packet-libvirt.c:33:10: fatal error: rpc/xdr.h: No such file or directory
       #include <rpc/xdr.h>
                ^~~~~~~~~~~
      
      and
      
      In file included from ../src/logging/log_manager.h:29:0,
                       from ../src/qemu/qemu_domain.h:40,
                       from testutilsqemu.c:11:
      ../src/logging/log_protocol.h:9:10: fatal error: rpc/rpc.h: No such file or directory
       #include <rpc/rpc.h>
                ^~~~~~~~~~~
      
      Since lot of tests use testutilsqemu.c it is easier to add XDR_CFLAGS to
      AM_CFLAGS than adding it to all $binary_CFLAGS.  It's just for tests and we
      already have bunch of CFLAGS there anyway.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      74a13be4
    • J
      xenconfig: fix compilation error · ce3b585b
      Jim Fehlig 提交于
      Commit 03d0959a introduced a compilation error in
      src/xenconfig/xen_xl.c on ARM. Found by Xen's osstest
      
      http://logs.test-lab.xenproject.org/osstest/logs/116216/build-armhf-libvirt/6.ts-libvirt-build.log
      ce3b585b
    • D
      docs: add a page describing support guarantees for libvirt features · 9061b309
      Daniel P. Berrange 提交于
      While we have collective knowledge about the support status of various
      parts of libvirt, this has never been formally documented, leaving our
      users to guess.
      
      Note, this document makes one change to our previous policy. It explicitly
      declares the RPC protocol of libvirtd as being a supported interface. THis
      accepts the reality that we can a) never change it without breaking compat
      with old libvirt.so, b) there are both rust + go impls that are written
      against the RPC protocol already.
      Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
      Reviewed-by: NJim Fehlig <jfehlig@suse.com>
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      9061b309
  2. 17 11月, 2017 2 次提交
    • D
      docs: don't use https in XML namespace URIs · 01fb183c
      Daniel P. Berrange 提交于
      The XML namespace URI for the QEMU/LXC drivers must use http as the protocol
      otherwise it won't match the parser's expectations.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      01fb183c
    • J
      storage: Resolve storage driver crash · 2dd70901
      John Ferlan 提交于
      Resolve a storage driver crash as a result of a long running
      storageVolCreateXML when the virStorageVolPoolRefreshThread is
      run as a result of when a storageVolUpload completed and ran the
      virStoragePoolObjClearVols without checking if the creation
      code was currently processing a buildVol after incrementing
      the driver->asyncjob count.
      
      The refreshThread will now check the pool asyncjob count before
      attempting to pursue the pool refresh. Adjust the documentation
      to describe the condition.
      
      Crash from valgrind is as follows (with a bit of editing):
      
      ==21309== Invalid read of size 8
      ==21309==    at 0x153E47AF: storageBackendUpdateVolTargetInfo
      ==21309==    by 0x153E4C30: virStorageBackendUpdateVolInfo
      ==21309==    by 0x153E52DE: virStorageBackendVolRefreshLocal
      ==21309==    by 0x153DE29E: storageVolCreateXML
      ==21309==    by 0x562035B: virStorageVolCreateXML
      ==21309==    by 0x147366: remoteDispatchStorageVolCreateXML
      ...
      ==21309==  Address 0x2590a720 is 64 bytes inside a block of size 336 free'd
      ==21309==    at 0x4C2F2BB: free
      ==21309==    by 0x54CB9FA: virFree
      ==21309==    by 0x55BC800: virStorageVolDefFree
      ==21309==    by 0x55BF1D8: virStoragePoolObjClearVols
      ==21309==    by 0x153D967E: virStorageVolPoolRefreshThread
      ...
      ==21309==  Block was alloc'd at
      ==21309==    at 0x4C300A5: calloc
      ==21309==    by 0x54CB483: virAlloc
      ==21309==    by 0x55BDC1F: virStorageVolDefParseXML
      ==21309==    by 0x55BDC1F: virStorageVolDefParseNode
      ==21309==    by 0x55BE5A4: virStorageVolDefParse
      ==21309==    by 0x153DDFF1: storageVolCreateXML
      ==21309==    by 0x562035B: virStorageVolCreateXML
      ==21309==    by 0x147366: remoteDispatchStorageVolCreateXML
      ...
      2dd70901
  3. 16 11月, 2017 2 次提交
  4. 15 11月, 2017 3 次提交
  5. 14 11月, 2017 7 次提交
  6. 13 11月, 2017 14 次提交
  7. 12 11月, 2017 1 次提交
  8. 10 11月, 2017 6 次提交
  9. 09 11月, 2017 2 次提交