1. 10 12月, 2019 1 次提交
  2. 15 11月, 2019 1 次提交
    • J
      Add API to change qemu agent response timeout · 95f5ac9a
      Jonathon Jongsma 提交于
      Some layered products such as oVirt have requested a way to avoid being
      blocked by guest agent commands when querying a loaded vm. For example,
      many guest agent commands are polled periodically to monitor changes,
      and rather than blocking the calling process, they'd prefer to simply
      time out when an agent query is taking too long.
      
      This patch adds a way for the user to specify a custom agent timeout
      that is applied to all agent commands.
      
      One special case to note here is the 'guest-sync' command. 'guest-sync'
      is issued internally prior to calling any other command. (For example,
      when libvirt wants to call 'guest-get-fsinfo', we first call
      'guest-sync' and then call 'guest-get-fsinfo').
      
      Previously, the 'guest-sync' command used a 5-second timeout
      (VIR_DOMAIN_QEMU_AGENT_COMMAND_DEFAULT), whereas the actual command that
      followed always blocked indefinitely
      (VIR_DOMAIN_QEMU_AGENT_COMMAND_BLOCK). As part of this patch, if a
      custom timeout is specified that is shorter than
      5 seconds,  this new timeout is also used for 'guest-sync'. If there is
      no custom timeout or if the custom timeout is longer than 5 seconds, we
      will continue to use the 5-second timeout.
      Signed-off-by: NJonathon Jongsma <jjongsma@redhat.com>
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      95f5ac9a
  3. 01 10月, 2019 1 次提交
  4. 16 9月, 2019 1 次提交
  5. 26 8月, 2019 1 次提交
  6. 27 7月, 2019 1 次提交
  7. 17 6月, 2019 1 次提交
  8. 07 3月, 2019 1 次提交
  9. 19 11月, 2018 1 次提交
    • J
      lib: Introduce virDomainSetIOThreadParams · ae69bda5
      John Ferlan 提交于
      Create a new API that will allow an adjustment of IOThread
      polling parameters for the specified IOThread. These parameters
      will not be saved in the guest XML. Currently the only parameters
      supported will allow the hypervisor to adjust the parameters used
      to limit and alter the scope of the polling interval. The polling
      interval allows the IOThread to spend more or less time processing
      in the guest.
      
      Based on code originally posted by Pavel Hrdina <phrdina@redhat.com>
      to add virDomainAddIOThreadParams and virDomainModIOThreadParams.
      Modification of those changes to use virDomainSetIOThreadParams
      instead and remove concepts related to saving the data in guest
      XML as well as the way to specifically enable the polling parameters.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      ACKed-by: NMichal Privoznik <mprivozn@redhat.com>
      ae69bda5
  10. 26 6月, 2018 1 次提交
  11. 12 6月, 2018 2 次提交
  12. 28 5月, 2018 3 次提交
  13. 18 4月, 2018 1 次提交
  14. 09 2月, 2018 1 次提交
  15. 19 10月, 2017 1 次提交
  16. 14 10月, 2017 1 次提交
  17. 29 8月, 2017 2 次提交
  18. 26 8月, 2017 1 次提交
  19. 27 3月, 2017 2 次提交
  20. 21 2月, 2017 1 次提交
    • P
      lib: Add API for specific vCPU hot(un)plug · 8f657259
      Peter Krempa 提交于
      Similarly to domainSetGuestVcpus this commit adds API which allows to
      modify state of individual vcpus rather than just setting the count.
      
      This allows to enable CPUs in specific guest NUMA nodes to achieve any
      necessary configuration.
      8f657259
  21. 10 1月, 2017 1 次提交
  22. 09 1月, 2017 2 次提交
  23. 21 12月, 2016 1 次提交
    • J
      storage: Introduce virStorageVolInfoFlags · 0c234889
      John Ferlan 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1332019
      
      This function will essentially be a wrapper to virStorageVolInfo in order
      to provide a mechanism to have the "physical" size of the volume returned
      instead of the "allocation" size. This will provide similar capabilities to
      the virDomainBlockInfo which can return both allocation and physical of a
      domain storage volume.
      
      NB: Since we're reusing the _virStorageVolInfo and not creating a new
      _virStorageVolInfoFlags structure, we'll need to generate the rpc APIs
      remoteStorageVolGetInfoFlags and remoteDispatchStorageVolGetInfoFlags
      (although both were originally created from gendispatch.pl and then
      just copied into daemon/remote.c and src/remote/remote_driver.c).
      
      The new API will allow the usage of a VIR_STORAGE_VOL_GET_PHYSICAL flag
      and will make the decision to return the physical or allocation value
      into the allocation field.
      
      In order to get that physical value, virStorageBackendUpdateVolTargetInfoFD
      adds logic to fill in physical value matching logic in qemuStorageLimitsRefresh
      used by virDomainBlockInfo when the domain is inactive.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      0c234889
  24. 24 8月, 2016 1 次提交
  25. 15 8月, 2016 1 次提交
    • J
      Introduce node device update event as top level event · 43a6b37b
      Jovanka Gulicoska 提交于
      This event is emitted when a nodedev XML definition is updated,
      like when cdrom media is changed in a cdrom block device.
      
      Also includes node device update event implementation for udev
      backend, virsh nodedev-event support, and event-test support
      43a6b37b
  26. 02 8月, 2016 2 次提交
  27. 25 6月, 2016 1 次提交
  28. 22 6月, 2016 2 次提交
  29. 17 6月, 2016 1 次提交
  30. 13 4月, 2016 1 次提交
    • P
      Add VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED event · 5be12071
      Peter Krempa 提交于
      Since we didn't opt to use one single event for device lifecycle for a
      VM we are missing one last event if the device removal failed. This
      event will be emitted once we asked to eject the device but for some
      reason it is not possible.
      5be12071
  31. 31 3月, 2016 1 次提交
  32. 29 3月, 2016 1 次提交