1. 19 4月, 2013 1 次提交
    • P
      virsh-domain: Refactor cmdVcpucount and fix output on inactive domains · 642261a8
      Peter Krempa 提交于
      This patch factors out the vCPU count retrieval including fallback means
      into vshCPUCountCollect() and removes the duplicated code to retrieve
      individual counts.
      
      The --current flag (this flag is assumed by default) now works also with
      --maximum or --active without the need to explicitly specify the state
      of the domain that is requested.
      
      This patch also fixes the output of "virsh vcpucount domain" on inactive
      domains:
      
      Before:
      $ virsh vcpucount domain
      maximum      config         4
      error: Requested operation is not valid: domain is not running
      current      config         4
      error: Requested operation is not valid: domain is not running
      
      After:
      $virsh vcpucount domain
      maximum      config         4
      current      config         4
      
      .. and for transient domains too:
      
      Before:
      $ virsh vcpucount transient-domain
      error: Requested operation is not valid: cannot change persistent config of a transient domain
      maximum      live           3
      error: Requested operation is not valid: cannot change persistent config of a transient domain
      current      live           1
      
      After:
      $ virsh vcpucount transient-domain
      maximum      live           3
      current      live           1
      642261a8
  2. 18 4月, 2013 3 次提交
  3. 12 4月, 2013 2 次提交
  4. 11 4月, 2013 2 次提交
  5. 09 4月, 2013 2 次提交
  6. 06 4月, 2013 1 次提交
    • E
      build: use proper pod for nested bulleted VIRSH_DEBUG list · 00d69b4a
      Eric Blake 提交于
      Newer pod (hello rawhide) complains if you attempt to mix bullets
      and non-bullets in the same list:
      
      virsh.pod around line 3177: Expected text after =item, not a bullet
      
      As our intent was to nest an inner list, we make that explicit to
      keep pod happy.
      
      * tools/virsh.pod (ENVIRONMENT): Use correct pod syntax.
      00d69b4a
  7. 05 4月, 2013 3 次提交
  8. 03 4月, 2013 4 次提交
  9. 02 4月, 2013 11 次提交
  10. 29 3月, 2013 1 次提交
  11. 27 3月, 2013 2 次提交
  12. 26 3月, 2013 2 次提交
  13. 25 3月, 2013 3 次提交
    • E
      libvirt-guests: newline between output sentences · 7c12055d
      Eric Blake 提交于
      Right now, libvirt-guests gives awkward output.  It's possible to
      force faster failure by setting /etc/sysconfig/libvirt-guests to use:
      
      ON_SHUTDOWN=shutdown
      PARALLEL_SHUTDOWN=0
      SHUTDOWN_TIMEOUT=1
      ON_BOOT=ignore
      
      at which point, we see:
      
      $ service libvirt-guests restart
      Running guests on default URI: a, b, d, c
      Shutting down guests on default URI...
      Starting shutdown on guest: a
      Shutdown of guest a failed to complete in time.Starting shutdown on guest: b
      Shutdown of guest b failed to complete in time.Starting shutdown on guest: d
      Shutdown of guest d failed to complete in time.Starting shutdown on guest: c
      Shutdown of guest c failed to complete in time.libvirt-guests is configured not to start any guests on boot
      
      * tools/libvirt-guests.sh.in (shutdown_guest): Add missing newline.
      Reported by Xuesong Zhang.
      7c12055d
    • O
      nodedev: Introduce two new flags for listAll API · 652a2ec6
      Osier Yang 提交于
      VIR_CONNECT_LIST_NODE_DEVICES_CAP_FC_HOST to filter the FC HBA,
      and VIR_CONNECT_LIST_NODE_DEVICES_CAP_VPORTS to filter the FC HBA
      which supports vport.
      652a2ec6
    • P
      virsh: Fix docs for "virsh setmaxmem" · b88831f7
      Peter Krempa 提交于
      The docs assumed the command works always for QEMU and other
      hypervisors. As this is done using the balloon mechainism live increase
      of the maximum memory limit isn't supported. Fix the docs to mention
      this limitation.
      b88831f7
  14. 22 3月, 2013 1 次提交
  15. 21 3月, 2013 2 次提交