1. 19 11月, 2018 1 次提交
  2. 14 11月, 2018 1 次提交
  3. 12 10月, 2018 1 次提交
    • E
      virsh: Fix regression with duplicated error messages · 35966308
      Eric Blake 提交于
      Commit 4f4c3b13 (v3.3) fixed an issue where performing cleanup of
      libvirt objects could sometimes lose error messages, by adding code
      to copy the libvirt error into last_error prior to cleanup paths.
      However, it caused a regression: on other paths, some errors are now
      printed twice, if libvirt still remembers in its thread-local
      storage that an error was set even after virsh cleared last_error.
      For example:
      
      $ virsh -c test:///default snapshot-delete test blah
      error: Domain snapshot not found: no domain snapshot with matching name 'blah'
      error: Domain snapshot not found: no domain snapshot with matching name 'blah'
      
      Fix things by telling libvirt to discard any thread-local errors at
      the same time virsh prints an error message (whether or not the libvirt
      error is the same as what is stored in last_error).
      
      Update the virsh-undefine testsuite (partially reverting portions of
      commit b620bdee, by removing -q, to more easily pinpoint which commands
      are causing which messages), now that there is only one error message
      instead of two.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      35966308
  4. 08 10月, 2018 1 次提交
  5. 05 10月, 2018 2 次提交
  6. 26 9月, 2018 1 次提交
  7. 24 9月, 2018 14 次提交
  8. 21 9月, 2018 1 次提交
  9. 20 9月, 2018 2 次提交
  10. 19 9月, 2018 1 次提交
  11. 17 9月, 2018 1 次提交
  12. 01 9月, 2018 1 次提交
  13. 24 8月, 2018 3 次提交
  14. 14 8月, 2018 1 次提交
  15. 13 8月, 2018 2 次提交
  16. 10 8月, 2018 1 次提交
  17. 09 8月, 2018 1 次提交
    • J
      Fix link errors in tools/nss and tests · b3d9b08e
      Jim Fehlig 提交于
      While local builds succeed fine, a build worker building in a chroot
      environment is encountering errors when linking some items in tools/nss
      and tests, e.g.
      
      [  469s] libtool: link: gcc -shared  -fPIC -DPIC  -Wl,--whole-archive nss/.libs/libnss_libvirt_impl.a -Wl,--no-whole-archive  -lpthread -lutil -ltirpc  -fstack-protector-strong -grecord-gcc-switches -O2 -fstack-protector-strong -g -Wl,--version-script=./nss/libvirt_nss.syms -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--no-copy-dt-needed-entries -Wl,-z -Wl,defs -grecord-gcc-switches -O2 -fstack-protector-strong -g   -pthread -Wl,-soname -Wl,libnss_libvirt.so.2 -o nss/.libs/libnss_libvirt.so.2
      [  469s] nss/.libs/libnss_libvirt_impl.a(libvirt_nss_la-virjsoncompat.o): In function `virJSONJanssonOnce':
      [  469s] /home/abuild/rpmbuild/BUILD/libvirt-4.6.0/src/util/virjsoncompat.c:63: undefined reference to `dlopen'
      [  469s] /home/abuild/rpmbuild/BUILD/libvirt-4.6.0/src/util/virjsoncompat.c:79: undefined reference to `dlsym'
      ...
      
      A similar problem was fixed in commit b018ada3 and inspires this fix.
      Signed-off-by: NJim Fehlig <jfehlig@suse.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      b3d9b08e
  18. 06 8月, 2018 1 次提交
  19. 23 7月, 2018 2 次提交
  20. 21 7月, 2018 1 次提交
  21. 20 7月, 2018 1 次提交