1. 21 4月, 2016 4 次提交
  2. 20 4月, 2016 30 次提交
  3. 19 4月, 2016 6 次提交
    • C
      qemu: command: drop redundant min_guarantee check · 153903ec
      Cole Robinson 提交于
      We already reject a VM with min_guarantee early in the VM startup
      in qemuProcessStartValidate
      153903ec
    • C
      qemu: Remove redundant DomainObjIsActive calls · b0a2ba24
      Cole Robinson 提交于
      The common idiom in the driver API implementations is roughly:
      
      - ACL check
      - BeginJob (if needed)
      - AgentAvailable (if needed)
      - !IsActive
      
      A few calls had an extra !IsActive before BeginJob, which doesn't
      seem to serve much use. Drop them
      b0a2ba24
    • C
      lxc: explicitly error on interface type=ethernet · 27f2b747
      Cole Robinson 提交于
      It isn't implemented and does not work:
      
      error: internal error: guest failed to start: /usr/lib/libvirt/libvirt_lxc: option '--veth' requires an argument
      syntax: /usr/lib/libvirt/libvirt_lxc [OPTIONS] ...
      
      We previously threw an explicit error, but this changed in
      22cff52a , which I suspect was
      untested for LXC
      27f2b747
    • M
      Include sysmacros.h where needed · aca4d72b
      Martin Kletzander 提交于
      So in glibc-2.23 sys/sysmacros.h is no longer included from sys/types.h
      and we don't build because of the usage of major/minor/makedev macros.
      Autoconf already has AC_HEADER_MAJOR macro that check where exactly
      these functions/macros are defined, so let's use that.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      aca4d72b
    • M
      security: Rename DomainSetDirLabel to DomainSetPathLabel · 32f3f083
      Martin Kletzander 提交于
      It already labels abritrary paths, so it's just the naming that was
      wrong.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      32f3f083
    • J
      tests: Fix syntax in iSCSI auth/secret tests · dd140028
      John Ferlan 提交于
      While working on the tests for the secret initialization vector, I found
      that the existing iSCSI tests were lacking in how they defined the IQN.
      Many had IQN's of just 'iqn.1992-01.com.example' for one disk while using
      'iqn.1992-01.com.example/1' for the second disk (same for hostdevs - guess
      how they were copied/generated).
      
      Typically (and documented this way), IQN's would include be of the form
      'iqn.1992-01.com.example:storage/1' indicating an IQN using "storage" for
      naming authority specific string and "/1" for the iSCSI LUN.
      
      So modify the input XML's to use the more proper format - this of course
      has a ripple effect on the output XML and the args.
      
      Also note that the "%3A" is generated by the virURIFormat/xmlSaveUri
      to represent the colon.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      dd140028