1. 20 3月, 2020 1 次提交
  2. 25 2月, 2020 1 次提交
  3. 04 2月, 2020 3 次提交
  4. 17 1月, 2020 1 次提交
  5. 19 11月, 2019 1 次提交
  6. 12 11月, 2019 1 次提交
  7. 21 10月, 2019 1 次提交
  8. 15 10月, 2019 1 次提交
  9. 14 10月, 2019 2 次提交
  10. 19 9月, 2019 1 次提交
  11. 07 8月, 2019 1 次提交
  12. 29 7月, 2019 1 次提交
  13. 27 7月, 2019 1 次提交
  14. 26 7月, 2019 1 次提交
  15. 12 7月, 2019 1 次提交
  16. 17 5月, 2019 1 次提交
    • M
      lib: Avoid double close when passing FDs with virCommandPassFD() · 5cdd5d38
      Michal Privoznik 提交于
      If an FD is passed into a child using:
      
        virCommandPassFD(cmd, fd, VIR_COMMAND_PASS_FD_CLOSE_PARENT);
      
      then the parent should refrain from touching @fd thereafter. This
      is even documented in virCommandPassFD() comment. The reason is
      that either at virCommandRun()/virCommandRunAsync() or
      virCommandFree() time the @fd will be closed. Closing it earlier,
      e.g. right after virCommandPassFD() call might result in
      undesired results. Another thread might open a file and receive
      the same FD which is then unexpectedly closed by virCommandFree()
      or virCommandRun().
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      5cdd5d38
  17. 17 12月, 2018 1 次提交
    • D
      qemu: use line breaks in command line args written to log · 07c9d660
      Daniel P. Berrangé 提交于
      The QEMU command line arguments are very long and currently all written
      on a single line to /var/log/libvirt/qemu/$GUEST.log. This introduces
      logic to add line breaks after every env variable and "-" optional
      argument, and every positional argument. This will create a clearer log
      file, which will in turn present better in bug reports when people cut +
      paste from the log into a bug comment.
      
      An example log file entry now looks like this:
      
        2018-12-14 12:57:03.677+0000: starting up libvirt version: 5.0.0, qemu version: 3.0.0qemu-3.0.0-1.fc29, kernel: 4.19.5-300.fc29.x86_64, hostname: localhost.localdomain
        LC_ALL=C \
        PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin \
        HOME=/home/berrange \
        USER=berrange \
        LOGNAME=berrange \
        QEMU_AUDIO_DRV=none \
        /usr/bin/qemu-system-ppc64 \
        -name guest=guest,debug-threads=on \
        -S \
        -object secret,id=masterKey0,format=raw,file=/home/berrange/.config/libvirt/qemu/lib/domain-33-guest/master-key.aes \
        -machine pseries-2.10,accel=tcg,usb=off,dump-guest-core=off \
        -m 1024 \
        -realtime mlock=off \
        -smp 1,sockets=1,cores=1,threads=1 \
        -uuid c8a74977-ab18-41d0-ae3b-4041c7fffbcd \
        -display none \
        -no-user-config \
        -nodefaults \
        -chardev socket,id=charmonitor,fd=23,server,nowait \
        -mon chardev=charmonitor,id=monitor,mode=control \
        -rtc base=utc \
        -no-shutdown \
        -boot strict=on \
        -device qemu-xhci,id=usb,bus=pci.0,addr=0x1 \
        -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x2 \
        -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
        -msg timestamp=on
        2018-12-14 12:57:03.730+0000: shutting down, reason=failed
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      07c9d660
  18. 02 10月, 2018 1 次提交
  19. 20 9月, 2018 2 次提交
  20. 06 6月, 2018 1 次提交
  21. 20 11月, 2017 1 次提交
  22. 03 11月, 2017 1 次提交
    • A
      Remove backslash alignment attempts · 3e7db8d3
      Andrea Bolognani 提交于
      Right-aligning backslashes when defining macros or using complex
      commands in Makefiles looks cute, but as soon as any changes is
      required to the code you end up with either distractingly broken
      alignment or unnecessarily big diffs where most of the changes
      are just pushing all backslashes a few characters to one side.
      
      Generated using
      
        $ git grep -El '[[:blank:]][[:blank:]]\\$' | \
          grep -E '*\.([chx]|am|mk)$$' | \
          while read f; do \
            sed -Ei 's/[[:blank:]]*[[:blank:]]\\$/ \\/g' "$f"; \
          done
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      3e7db8d3
  23. 10 10月, 2017 1 次提交
  24. 11 4月, 2017 1 次提交
  25. 04 4月, 2017 1 次提交
  26. 27 3月, 2017 1 次提交
    • M
      Remove src/nodeinfo · 26ae4e48
      Martin Kletzander 提交于
      There is no "node driver" as there was before, drivers have to do
      their own ACL checking anyway, so they all specify their functions and
      nodeinfo is basically just extending conf/capablities.  Hence moving
      the code to src/conf/ is the right way to go.
      
      Also that way we can de-duplicate some code that is in virsysfs and/or
      virhostcpu that got duplicated during the virhostcpu.c split.  And
      Some cleanup is done throughout the changes, like adding the vir*
      prefix etc.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      26ae4e48
  27. 14 7月, 2016 1 次提交
    • A
      tests: command: Fix build on ppc64/aarch64 · 5bcbf724
      Andrea Bolognani 提交于
      Commit ca10bb04 introduced a new test that fails to build
      on at least some architectures:
      
        commandtest.c: In function 'test25':
        commandtest.c:1121:5: error: comparison is always true due to
                              limited range of data type [-Werror=type-limits]
          if (rv >= 0) {
          ^
      
      Change the type of 'rv' from char to int, which is the proper
      return type for virCommandExec() anyway.
      5bcbf724
  28. 12 7月, 2016 1 次提交
  29. 08 6月, 2016 2 次提交
  30. 20 5月, 2016 1 次提交
  31. 21 10月, 2015 1 次提交
  32. 27 4月, 2015 1 次提交
  33. 03 9月, 2014 1 次提交
  34. 23 8月, 2014 1 次提交
  35. 22 8月, 2014 1 次提交