1. 06 10月, 2016 3 次提交
  2. 05 10月, 2016 3 次提交
  3. 22 9月, 2016 1 次提交
  4. 09 9月, 2016 1 次提交
    • J
      qemu: Add the ability to hotplug the TLS X.509 environment · 2c322378
      John Ferlan 提交于
      If the incoming XML defined a path to a TLS X.509 certificate environment,
      add the necessary 'tls-creds-x509' object to the VIR_DOMAIN_CHR_TYPE_TCP
      character device.
      
      Likewise, if the environment exists the hot unplug needs adjustment as
      well.  Note that all the return ret were changed to goto cleanup since
      the cfg needs to be unref'd
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      2c322378
  5. 06 9月, 2016 1 次提交
  6. 25 8月, 2016 4 次提交
    • P
      qemu: monitor: Add support for calling query-hotpluggable-cpus · 1213f0f8
      Peter Krempa 提交于
      Add support for retrieving information regarding hotpluggable cpu units
      supported by qemu. Data returned by the command carries information
      needed to figure out the granularity of hotplug, the necessary cpu type
      name and the topology information.
      
      Note that qemu doesn't specify any particular order of the entries thus
      it's necessary sort them by socket_id, core_id and thread_id to the
      order libvirt expects.
      1213f0f8
    • P
      qemu: monitor: Extract QOM path from query-cpus reply · c91be16b
      Peter Krempa 提交于
      To allow matching up the data returned by query-cpus to entries in the
      query-hotpluggable-cpus reply for CPU hotplug it's necessary to extract
      the QOM path as it's the only link between the two.
      c91be16b
    • P
      qemu: capabilities: Extract availability of new cpu hotplug for machine types · 920bbe5c
      Peter Krempa 提交于
      QEMU reports whether 'query-hotpluggable-cpus' is supported for a given
      machine type. Extract and cache the information using the capability
      cache.
      
      When copying the capabilities for a new start of qemu, mask out the
      presence of QEMU_CAPS_QUERY_HOTPLUGGABLE_CPUS if the machine type
      doesn't support hotpluggable cpus.
      920bbe5c
    • P
      qemu: monitor: Return struct from qemuMonitor(Text|Json)QueryCPUs · b3180425
      Peter Krempa 提交于
      Prepare to extract more data by returning an array of structs rather than
      just an array of thread ids. Additionally report fatal errors separately
      from qemu not being able to produce data.
      b3180425
  7. 17 8月, 2016 1 次提交
    • A
      util: Make virStringArrayHasString() const-correct · 3edcf834
      Andrea Bolognani 提交于
      The first argument should be const char ** instead of
      char **, because this is a search function and as such it
      doesn't, and shouldn't, alter the haystack in any way.
      
      This change means we no longer have to cast arrays of
      immutable strings to arrays of mutable strings; we still
      have to do the opposite, though, but that's reasonable.
      3edcf834
  8. 04 8月, 2016 2 次提交
  9. 02 8月, 2016 3 次提交
    • J
      qemu: Make QEMU_DRIVE_HOST_PREFIX more private · dd0dbe1d
      John Ferlan 提交于
      Move QEMU_DRIVE_HOST_PREFIX into the qemu_alias.c to dissuade future
      callers from using it. Create qemuAliasDiskDriveSkipPrefix in order
      to handle the current consumers that desire to check if an alias has
      the drive- prefix and "get beyond it" in order to get the disk alias.
      dd0dbe1d
    • J
      qemu: Use qemuAliasFromDisk instead of qemuDeviceDriveHostAlias · 13effcaf
      John Ferlan 提交于
      Since we already have a function that will generate the drivestr from
      the alias, let's use it and remove the qemuDeviceDriveHostAlias.
      
      Move the QEMU_DRIVE_HOST_PREFIX definition into qemu_alias.h
      
      Also alter qemuAliasFromDisk to use the QEMU_DRIVE_HOST_PREFIX instead
      of "drive-%s".
      13effcaf
    • J
      qemu: Remove generation of drive alias from qcow passphrase backends · f8d49d5b
      John Ferlan 提交于
      Rather than pass the disks[i]->info.alias to qemuMonitorSetDrivePassphrase
      and then generate the "drive-%s" alias from that, let's use qemuAliasFromDisk
      prior to the call to generate the drive alias and then pass that along
      thus removing the need to generate the alias from the monitor code.
      f8d49d5b
  10. 26 7月, 2016 2 次提交
  11. 25 7月, 2016 1 次提交
    • P
      qemu_monitor_json: add support to search QOM device path by device alias · 4a585a88
      Pavel Hrdina 提交于
      Commit ce745914 introduced detection of actual video ram sizes to fix migration
      if QEMU decide to modify the values provided by libvirt.  This works perfectly
      for domains with number of video devices up to two.
      
      If there are more than two video devices in the guest all the secondary devices
      in the XML will have the same memory values.  This is because our current code
      search for QOM device path only by the device type name and all the secondary
      video devices has the same name "qxl".
      
      This patch introduces a new search function that will try to search a QOM device
      path using also device's alias if the alias is available. After that it will
      fallback to the old recursive code if the alias search found no results.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1358728Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      4a585a88
  12. 22 6月, 2016 5 次提交
  13. 10 6月, 2016 1 次提交
  14. 09 6月, 2016 4 次提交
  15. 01 6月, 2016 1 次提交
  16. 25 5月, 2016 2 次提交
  17. 20 5月, 2016 1 次提交
  18. 17 5月, 2016 1 次提交
    • J
      qemu: More qemu_monitor_json cleanups · 52760707
      John Ferlan 提交于
      Recent adjustments to the code produced a litany of coverity false
      positives, but only because the "standard" procedure of setting a
      variable to NULL after it was assigned to something else and keeping
      the *Free/*FREE call in the cleanup path wasn't kept. So this patch
      makes those adjustments (assign variable to NULL and remove the if
      'ret < 0' condition to clean it up).
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      52760707
  19. 09 5月, 2016 1 次提交
  20. 05 5月, 2016 1 次提交
  21. 03 5月, 2016 1 次提交