1. 18 5月, 2017 4 次提交
  2. 27 4月, 2017 1 次提交
  3. 03 4月, 2017 1 次提交
    • M
      virGetDomain: Set domain ID too · 5683b213
      Michal Privoznik 提交于
      So far our code is full of the following pattern:
      
        dom = virGetDomain(conn, name, uuid)
        if (dom)
            dom->id = 42;
      
      There is no reasong why it couldn't be just:
      
        dom = virGetDomain(conn, name, uuid, id);
      
      After all, client domain representation consists of tuple (name,
      uuid, id).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      5683b213
  4. 27 3月, 2017 2 次提交
  5. 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
  6. 10 2月, 2017 1 次提交
  7. 10 1月, 2017 1 次提交
  8. 09 1月, 2017 3 次提交
  9. 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
  10. 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
  11. 15 11月, 2016 1 次提交
    • P
      remote: expose a new libssh transport · 22eaee8e
      Pino Toscano 提交于
      Implement in virtNetClient and VirNetSocket the needed functions to
      expose a new libssh transport, providing all the options that the
      libssh2 transport supports.
      22eaee8e
  12. 12 10月, 2016 1 次提交
  13. 05 10月, 2016 1 次提交
  14. 24 8月, 2016 1 次提交
  15. 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
  16. 02 8月, 2016 1 次提交
  17. 12 7月, 2016 1 次提交
  18. 25 6月, 2016 1 次提交
  19. 24 6月, 2016 2 次提交
  20. 22 6月, 2016 2 次提交
  21. 17 6月, 2016 1 次提交
  22. 08 6月, 2016 4 次提交
  23. 03 5月, 2016 1 次提交
    • E
      virnetsocket: Provide socket address format in a more standard form · 9b45c9f0
      Erik Skultety 提交于
      Our socket address format is in a rather non-standard format and that is
      because sasl library requires the IP address and service to be delimited by a
      semicolon. The string form is a completely internal matter, however once the
      admin interfaces to retrieve client identity information are merged, we should
      return the socket address string in a common format, e.g. format defined by
      URI rfc-3986, i.e. the IP address and service are delimited by a colon and
      in case of an IPv6 address, square brackets are added:
      
      Examples:
          127.0.0.1:1234
          [::1]:1234
      
      This patch changes our default format to the one described above, while adding
      separate methods to request the non-standard SASL format using semicolon as a
      delimiter.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      9b45c9f0
  24. 26 4月, 2016 1 次提交
  25. 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
  26. 31 3月, 2016 2 次提交
  27. 29 3月, 2016 1 次提交
  28. 21 3月, 2016 1 次提交