1. 24 4月, 2017 1 次提交
  2. 30 3月, 2017 1 次提交
  3. 27 3月, 2017 6 次提交
  4. 25 3月, 2017 1 次提交
    • J
      qemu: Add TLS params to _qemuMonitorMigrationParams · 3d06cb96
      John Ferlan 提交于
      Add the fields to support setting tls-creds and tls-hostname during
      a migration (either source or target). Modify the query migration
      function to check for the presence and set the field for future
      consumers to determine which of 3 conditions is being met (NULL,
      present and set to "", or present and sent to something). These
      correspond to qemu commit id '4af245dc3' which added support to
      default the value to "" and allow setting (or resetting) to ""
      in order to disable. This reset option allows libvirt to properly
      use the tls-creds and tls-hostname parameters.
      
      Modify code paths that either allocate or use stack space in order
      to call qemuMigrationParamsClear or qemuMigrationParamsFree for cleanup.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      3d06cb96
  5. 17 3月, 2017 2 次提交
  6. 04 3月, 2017 3 次提交
  7. 24 2月, 2017 3 次提交
  8. 22 2月, 2017 1 次提交
  9. 15 2月, 2017 1 次提交
  10. 30 1月, 2017 1 次提交
  11. 18 1月, 2017 1 次提交
  12. 13 1月, 2017 1 次提交
  13. 12 1月, 2017 2 次提交
  14. 06 1月, 2017 1 次提交
  15. 06 12月, 2016 2 次提交
    • J
      qemu: Add support for parsing iotune group setting · c53bd25b
      John Ferlan 提交于
      Add support to read/parse the iotune group setting for qemu.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      c53bd25b
    • J
      qemu: Alter qemuMonitorJSONSetBlockIoThrottle command logic · ad9f1273
      John Ferlan 提交于
      Currently we build the JSON object for the "block_set_io_throttle"
      command using the knowledge that a NULL for a support*Options boolean
      would essentially ignore the rest of the arguments.
      
      This may not work properly if some capability was backported, plus it just
      looks rather ugly. So instead, build the "base" arguments and then if
      the support*Option bool capability is set, add in the arguments on the fly.
      
      Then append those arguments to the basic command and send to qemu.
      ad9f1273
  16. 28 11月, 2016 1 次提交
    • J
      qemu: Add support for unavailable-features · a1adfb0f
      Jiri Denemark 提交于
      QEMU 2.8.0 adds support for unavailable-features in
      query-cpu-definitions reply. The unavailable-features array lists CPU
      features which prevent a corresponding CPU model from being usable on
      current host. It can only be used when all the unavailable features are
      disabled. Empty array means the CPU model can be used without
      modifications.
      
      We can use unavailable-features for providing CPU model usability info
      in domain capabilities XML:
      
          <domainCapabilities>
            ...
            <cpu>
              <mode name='host-passthrough' supported='yes'/>
              <mode name='host-model' supported='yes'>
                <model fallback='allow'>Skylake-Client</model>
                ...
              </mode>
              <mode name='custom' supported='yes'>
                <model usable='yes'>qemu64</model>
                <model usable='yes'>qemu32</model>
                <model usable='no'>phenom</model>
                <model usable='yes'>pentium3</model>
                <model usable='yes'>pentium2</model>
                <model usable='yes'>pentium</model>
                <model usable='yes'>n270</model>
                <model usable='yes'>kvm64</model>
                <model usable='yes'>kvm32</model>
                <model usable='yes'>coreduo</model>
                <model usable='yes'>core2duo</model>
                <model usable='no'>athlon</model>
                <model usable='yes'>Westmere</model>
                <model usable='yes'>Skylake-Client</model>
                ...
              </mode>
            </cpu>
            ...
          </domainCapabilities>
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      a1adfb0f
  17. 25 11月, 2016 1 次提交
    • M
      virstring: Unify string list function names · c2a5a4e7
      Michal Privoznik 提交于
      We have couple of functions that operate over NULL terminated
      lits of strings. However, our naming sucks:
      
      virStringJoin
      virStringFreeList
      virStringFreeListCount
      virStringArrayHasString
      virStringGetFirstWithPrefix
      
      We can do better:
      
      virStringListJoin
      virStringListFree
      virStringListFreeCount
      virStringListHasString
      virStringListGetFirstWithPrefix
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      c2a5a4e7
  18. 22 11月, 2016 1 次提交
  19. 21 11月, 2016 1 次提交
  20. 09 11月, 2016 1 次提交
  21. 26 10月, 2016 2 次提交
    • J
      qemu: Add length for bps/iops throttling parameters to driver · 223438a2
      John Ferlan 提交于
      Add support for a duration/length for the bps/iops and friends.
      
      Modify the API in order to add the "blkdeviotune." specific definitions
      for the iotune throttling duration/length options
      
          total_bytes_sec_max_length
          write_bytes_sec_max_length
          read_bytes_sec_max_length
          total_iops_sec_max_length
          write_iops_sec_max_length
          read_iops_sec_max_length
      223438a2
    • J
      qemu: Return real error message for block_set_io_throttle · 0ac8b70b
      John Ferlan 提交于
      This patch will also adjust the qemuMonitorJSONSetBlockIoThrottle error
      procession so that rather than returning/displaying:
      
          "error: internal error: Unexpected error"
      
      Fetch the actual error message from qemu and display that
      0ac8b70b
  22. 25 10月, 2016 1 次提交
  23. 06 10月, 2016 3 次提交
  24. 05 10月, 2016 2 次提交