1. 27 7月, 2016 5 次提交
  2. 26 7月, 2016 8 次提交
    • D
      qemu: expand domain memory statistics with 'last-update' timestamp · 200a40f9
      Derbyshev Dmitry 提交于
      QEMU reports timestamp along with other memory statistics, but this information is not saved into domain statistics.
      It could be useful to determine if the data reported is fresh or not.
      Balloon statistics are not reported in hrf, so no modifications are made in qemu_monitor_text.c.
      Signed-off-by: NDerbyshev Dmitry <dderbyshev@virtuozzo.com>
      200a40f9
    • D
      qemu: expand domain memory statistics with 'usable' · 65bf0446
      Derbyshev Dmitry 提交于
      'memtotal' in virtio drivers and qemu corresponds to 'available' in libvirt.
      Because of that, 'stat-available-memory' is renamed into 'usable'.
      Balloon statistics are not reported in hrf, so no modifications are made in qemu_monitor_text.c.
      Signed-off-by: NDerbyshev Dmitry <dderbyshev@virtuozzo.com>
      65bf0446
    • T
      qemu: remove ccwaddrs caching · 1aa5e66c
      Tomasz Flendrich 提交于
      Dropping the caching of ccw address set.
      The cached set is not required anymore, because the set is now being
      recalculated from the domain definition on demand, so the cache
      can be deleted.
      1aa5e66c
    • T
      qemu_hotplug: generate ccw address list on demand · be396d95
      Tomasz Flendrich 提交于
      Dropping the caching of ccw address set.
      Instead of using the cached address set, functions in qemu_hotplug.c
      now recalculate it on demand.
      be396d95
    • T
      Add qemuDomainCCWAddrSetCreateFromDomain · af174f6e
      Tomasz Flendrich 提交于
      The address sets (pci, ccw, virtio serial) are currently cached
      in qemu private data, but all the information required to recreate
      these sets is in the domain definition. Therefore I am removing
      the redundant data and adding a way to recalculate these sets.
      
      Add a function that calculates the ccw address set
      from the domain definition.
      af174f6e
    • T
      qemu: remove vioserialaddrs caching · 19a148b7
      Tomasz Flendrich 提交于
      Dropping the caching of virtio serial address set.
      The cached set is not required anymore, because the set is now being
      recalculated from the domain definition on demand, so the cache
      can be deleted.
      
      Credit goes to Cole Robinson.
      19a148b7
    • T
      qemu_hotplug: generate vioserial address list on demand · 925fa4b9
      Tomasz Flendrich 提交于
      Dropping the caching of virtio serial address set.
      Instead of using the cached address set, a function in qemu_hotplug.c
      now recalculates it on demand.
      
      Credit goes to Cole Robinson.
      925fa4b9
    • T
      add virDomainVirtioSerialAddrSetCreateFromDomain · 40c284f0
      Tomasz Flendrich 提交于
      The address sets (pci, ccw, virtio serial) are currently cached
      in qemu private data, but all the information required to recreate
      these sets is in the domain definition. Therefore I am removing
      the redundant data and adding a way to recalculate these sets.
      
      Add a function that calculates the virtio serial address set
      from the domain definition.
      
      Credit goes to Cole Robinson.
      40c284f0
  3. 25 7月, 2016 7 次提交
  4. 22 7月, 2016 1 次提交
  5. 21 7月, 2016 4 次提交
  6. 20 7月, 2016 3 次提交
    • J
      qemu: Disallow usage of luks encryption if aes secret not possible · a53349e6
      John Ferlan 提交于
      Resolves a CI test integration failure with a RHEL6/Centos6 environment.
      
      In order to use a LUKS encrypted device, the design decision was to
      generate an encrypted secret based on the master key. However, commit
      id 'da86c6c2' missed checking for that specifically.
      
      When qemuDomainSecretSetup was implemented, a design decision was made
      to "fall back" to a plain text secret setup if the specific cipher was
      not available (e.g. virCryptoHaveCipher(VIR_CRYPTO_CIPHER_AES256CBC))
      as well as the QEMU_CAPS_OBJECT_SECRET. For the luks encryption setup
      there is no fall back to the plaintext secret, thus if that gets set
      up by qemuDomainSecretSetup, then we need to fail.
      
      Also, while the qemuxml2argvtest has set the QEMU_CAPS_OBJECT_SECRET
      bit, it didn't take into account the second requirement that the
      ability to generate the encrypted secret is possible. So modify the
      test to not attempt to run the luks-disk if we know we don't have
      the encryption algorithm.
      a53349e6
    • J
      qemu: Move setting of encobjAdded for qemuDomainAttachSCSIDisk · 4f5debbe
      John Ferlan 提交于
      A post push realization that the boolean should be set inside the condition
      4f5debbe
    • J
      qemu: Move setting of obj bools for qemuDomainAttachVirtioDiskDevice · c144f14c
      John Ferlan 提交于
      A post push realization that the setting of the boolean needed to be
      inside the if condition.
      c144f14c
  7. 19 7月, 2016 11 次提交
  8. 18 7月, 2016 1 次提交