1. 30 3月, 2016 1 次提交
  2. 29 3月, 2016 24 次提交
  3. 27 3月, 2016 2 次提交
    • R
      Revert "zfs: Only raw volumes are supported" · b77cec09
      Roman Bogorodskiy 提交于
      This reverts commit bb5f2dc9.
      
      The "if (vol->target.format != VIR_STORAGE_FILE_RAW)" check in the
      createVol backend. This check is bogus because virStorageVolDefParseXML()
      in conf/storage_conf.c sets target.format only if volOptions in
      virStoragePoolTypeInfo has formatFromString set, and that's not the
      case the zfs backend.
      
      So the check always fails and breaks volume creation.
      b77cec09
    • R
      Revert "logical: Only raw volumes are supported" · 139a3197
      Roman Bogorodskiy 提交于
      This reverts commit 6682d621.
      
      The "if (vol->target.format != VIR_STORAGE_FILE_RAW)" check in the
      createVol backend. This check is bogus because virStorageVolDefParseXML()
      in conf/storage_conf.c sets target.format only if volOptions in
      virStoragePoolTypeInfo has formatFromString set, and that's not the
      case the logical backend.
      
      So the check always fails and breaks volume creation.
      139a3197
  4. 26 3月, 2016 5 次提交
  5. 25 3月, 2016 3 次提交
  6. 24 3月, 2016 2 次提交
    • E
      virlog: Refactor virLogParseFilters · cd000d3a
      Erik Skultety 提交于
      Patch 0b231195 refactored logging output parser to make it more readable.
      This patch does similar thing to logging filter parser.
      cd000d3a
    • M
      gendispatch: Avoid comparing signed and unsigned vars · 9b48ef9c
      Michal Privoznik 提交于
      The adminDispatchConnectListServers() function is generated by
      our great perl script. However, it has a tiny flaw: if
      adminConnectListServers() it calls fails, the control jumps onto
      cleanup label where we try to free any list of servers built so
      far. However, in the loop @i is unsigned (size_t) while @nresults
      is signed (int). Currently, it does no harm because of the check
      for @result being non-NULL. But if that ever changes in the
      future, this bug will be hard to chase.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      9b48ef9c
  7. 23 3月, 2016 3 次提交
    • V
      autocreate tap device for ethernet network type · 9c17d665
      Vasiliy Tolstov 提交于
      If a user specify network type ethernet, then create it via libvirt and run
      script if it provided. After this commit user does not need to
      run external script to create tap device or add root permissions to qemu
      process.
      Signed-off-by: NVasiliy Tolstov <v.tolstov@selfip.ru>
      9c17d665
    • A
      hostdev: Use actual device when reattaching · ee4cfb56
      Andrea Bolognani 提交于
      Instead of forcing the values for the unbind_from_stub, remove_slot
      and reprobe properties, look up the actual device and use that when
      calling virPCIDeviceReattach().
      
      This ensures the device is restored to its original state after
      reattach: for example, if it was not bound to any driver before
      detach, it will not be bound forcefully during reattach.
      ee4cfb56
    • A
      hostdev: Save netdev configuration of actual device · c3e2f6e3
      Andrea Bolognani 提交于
      We would be just fine looking up the information in pcidevs most
      of the time; however, some corner cases would not be handled
      properly, so look up the actual device instead.
      c3e2f6e3