1. 03 6月, 2015 24 次提交
  2. 02 6月, 2015 14 次提交
  3. 01 6月, 2015 2 次提交
    • R
      libxl: load on FreeBSD · f57842ec
      Roman Bogorodskiy 提交于
      The libxl tries to check if it's running in dom0 by parsing
      /proc/xen/capabilities and if that fails it doesn't load.
      
      There's no procfs interface in Xen on FreeBSD, so this check always
      fails.
      
      In addition to checking procfs, check if /dev/xen/xenstored, that's enough to
      check if we're running in dom0 in FreeBSD case.
      f57842ec
    • J
      virsh: make negative values with vol-resize more convenient · 0a33bba1
      Ján Tomko 提交于
      When shrinking a volume by a certain size, instead of typing
        vol-resize volume 1G --delta --shrink
      we allow the convience of specifying a negative value:
        vol-resize volume -1G --delta --shrink
      getting the same results with one more character.
      
      A negative value only makes sense as a delta. Imply the
      --delta parameter if the value is negative.
      
      Still require --shrink, because the operation is potentially
      destructive.
      0a33bba1