You need to sign in or sign up before continuing.
  1. 12 2月, 2016 3 次提交
    • M
      vz: fix notification subscription · d5f0cf99
      Mikhail Feoktistov 提交于
      Bug cause:
      Update the domain that is subscribed to hypervisor notification.
      LoadDomain() rewrites notifications fields in vzDomObj structure and makes domain as "unsubscribed".
      Fix:
      Initialize notification fields in vzDomObj only if we create a new domain.
      And do not reinitialize these fields if we update domain (by calling LoadDomain with olddom argument)
      d5f0cf99
    • M
      vz: remove unused struct field · a7b2257e
      Mikhail Feoktistov 提交于
      In commit 7039bb3c we have removed code that saves uuid to vzDomObj.uuid
      So this field is no longer needed.
      a7b2257e
    • M
      vz: make output arguments in prlsdkGetDomainIds as optional · 2286986a
      Mikhail Feoktistov 提交于
      prlsdkGetDomainIds() returns name and uuid for specified instance.
      Now output arguments can be NULL.
      It allows to get only necessary info(name or uuid).
      2286986a
  2. 08 2月, 2016 2 次提交
  3. 26 1月, 2016 1 次提交
  4. 24 12月, 2015 3 次提交
  5. 09 12月, 2015 4 次提交
  6. 27 11月, 2015 1 次提交
  7. 19 11月, 2015 2 次提交
  8. 21 10月, 2015 1 次提交
  9. 15 10月, 2015 1 次提交
  10. 22 9月, 2015 1 次提交
  11. 21 9月, 2015 1 次提交
    • M
      vz: remove error logging from prlsdkUUIDParse · 91c8e75f
      Maxim Nestratov 提交于
      As far as not every call of prlsdkUUIDParse assume correct UUID
      supplied, there is no use to complain about wrong format in it.
      Otherwise our log is flooded with false error messages.
      For instance, calling prlsdkUUIDParse from prlsdkEventsHandler
      works as a filter and in case of uuid absence for event issuer,
      we simply know that we shouldn't continue further processing.
      Instead of error logging for all calls we should explicitly take
      into accaunt where it is called from.
      Signed-off-by: NMaxim Nestratov <mnestratov@virtuozzo.com>
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      91c8e75f
  12. 14 7月, 2015 1 次提交
  13. 10 7月, 2015 1 次提交
  14. 08 7月, 2015 1 次提交
  15. 07 7月, 2015 1 次提交
    • M
      vz: assign static IPs and default gateways for network adapter · beddef39
      Mikhail Feoktistov 提交于
      We support only one IPv4 and one IPv6 default gateway.
      If static IPs are not present in instance config,
      then we switch on DHCP for this adapter.
      PrlVmDevNet_SetAutoApply to makes necessary settings within guest OS
      In linux case it creates network startup scripts
      /etc/sysconfig/network-scripts/ifcfg-ethN and fills it with necessary
      parameters.
      beddef39
  16. 02 7月, 2015 1 次提交
  17. 26 6月, 2015 6 次提交
  18. 25 6月, 2015 2 次提交
  19. 24 6月, 2015 1 次提交
    • M
      vz: implementation of attach/detach network devices · 6de12b02
      Mikhail Feoktistov 提交于
      In this patch we add VIR_DOMAIN_DEVICE_NET handlers implementation
      for domainAttachDevice and domainDetachDevice callbacks.
      
      As soon as we don't support this operation for hypervisor type domains,
      we implement this functionality for containers only.
      
      In detach procedure we find network device by MAC address.
      Because PrlVmDevNet_GetMacAddress() returns MAC as a UTF-8 encoded
      null-terminated string, we use memcmp() to compare it.
      Also we remove corresponding virtual network by prlsdkDelNetAdapter call.
      6de12b02
  20. 18 6月, 2015 2 次提交
  21. 17 6月, 2015 3 次提交
  22. 09 6月, 2015 1 次提交