1. 15 4月, 2016 1 次提交
  2. 14 4月, 2016 1 次提交
  3. 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
  4. 01 4月, 2016 1 次提交
  5. 31 3月, 2016 4 次提交
  6. 29 3月, 2016 5 次提交
  7. 21 3月, 2016 4 次提交
  8. 17 3月, 2016 1 次提交
    • N
      migration: add target peer disks port · f486cb5e
      Nikolay Shirokovskiy 提交于
      Some hypervisors (namely qemu) can have a separate connecton for
      non-shared disks migration of active domains. Currently we have
      no means to control the port of such a connection. At the same
      time we have options to control port of memory migration traffic
      (thru migration uri) as well as interfaces that target server
      is bound to for incoming migration (thru VIR_MIGRATE_PARAM_LISTEN_ADDRESS).
      Let's add the option for setting disks port too.
      Signed-off-by: NNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
      f486cb5e
  9. 16 3月, 2016 1 次提交
  10. 09 3月, 2016 1 次提交
    • P
      virsh: vcpupin: Ask for pinning info for all vCPUs · e7e6980d
      Peter Krempa 提交于
      The API docs state that the API queries pinning info for all vCPUs and
      thus we should allocate the bitmap even for the inactive ones.
      
      The API will currently return bitmap only for the active vCPUs but that
      will change in the future.
      e7e6980d
  11. 08 3月, 2016 1 次提交
    • J
      Introduce job completed event · f2893001
      Jiri Denemark 提交于
      The VIR_DOMAIN_EVENT_ID_JOB_COMPLETED event will be triggered once a job
      (such as migration) finishes and it will contain statistics for the job
      as one would get by calling virDomainGetJobStats. Thanks to this event
      it is now possible to get statistics of a completed migration of a
      transient domain on the source host.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      f2893001
  12. 26 2月, 2016 1 次提交
  13. 22 2月, 2016 1 次提交
  14. 19 2月, 2016 2 次提交
  15. 18 2月, 2016 1 次提交
    • P
      virsh: Remove <backingStore> when changing cdrom media source · 3ad5186e
      Peter Krempa 提交于
      Since the code is changing the source image path by modifying the
      existing XML snippet the <backingStore> stays in place.
      
      As <backingStore> is relevant to the <source> part of the image, the
      update of that part makes the element invalid.
      
      CD/floppy images usually don't have a backing chain and the element is
      currently ignored though but it might start being used in the future so
      let's start behaving correctly.
      
      Drop the <backingStore> subtree once we want to update the XML.
      
      Before this patch, you'd get:
      $ virsh change-media --eject --print-xml 10 hdc
      <disk type="file" device="cdrom">
            <driver name="qemu" type="qcow2"/>
      
            <backingStore type="file" index="1">
              <format type="qcow2"/>
              <source file="/var/lib/libvirt/images/vm.1436949097"/>
              <backingStore/>
            </backingStore>
            <target dev="hdc" bus="ide"/>
            ...
          </disk>
      
      After:
      
       $ virsh change-media --eject --print-xml 10 hdc
      <disk type="file" device="cdrom">
            <driver name="qemu" type="qcow2"/>
      
            <target dev="hdc" bus="ide"/>
            ...
          </disk>
      3ad5186e
  16. 15 2月, 2016 1 次提交
    • P
      vsh: Replace vshPrint macro with function · 27fa42b2
      Peter Krempa 提交于
      The macro would eat the first parameter. In some cases the format string
      for vshPrint was eaten. In other cases the calls referenced variables
      which did not exist in the given context. Avoid errors by doing compile
      time checking.
      27fa42b2
  17. 02 2月, 2016 4 次提交
  18. 26 1月, 2016 3 次提交
  19. 25 1月, 2016 1 次提交
  20. 21 1月, 2016 1 次提交
  21. 14 1月, 2016 1 次提交
  22. 12 1月, 2016 3 次提交
    • J
      virsh: Create macro for common "file" option · febf69b5
      John Ferlan 提交于
      Rather than continually cut-n-paste the strings into each command,
      create a common macro to be used generically. The macro will take a
      single argument _helpstr for the less common help string for each
      command option.  Note that only file options using "OT_DATA" and
      "OFLAG_REQ" will be replace - others are left as is.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      febf69b5
    • J
      virsh: Create macro for common "current" option · 5b42dbed
      John Ferlan 提交于
      Rather than continually cut-n-paste the strings into each command,
      create a common macro to be used generically. The macro will take a
      single argument _helpstr which for many options in virsh-domain.c
      is simply "affect current domain". So, create a second macro within that
      file in order to define the more common use as a revector to the
      common macro with the common _helpstr.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      5b42dbed
    • J
      virsh: Create macro for common "live" option · 8e4108f0
      John Ferlan 提交于
      Rather than continually cut-n-paste the strings into each command,
      create a common macro to be used generically. The macro will take a
      single argument _helpstr which for many options in virsh-domain.c
      is simply "affect running domain". So, create a second macro within that
      file in order to define the more common use as a revector to the
      common macro with the common _helpstr.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      8e4108f0