1. 26 9月, 2016 10 次提交
    • N
      Fix various code comment typos · 8fea0ad8
      Nitesh Konkar 提交于
      Signed-off-by: NNitesh Konkar <nitkon12@linux.vnet.ibm.com>
      8fea0ad8
    • J
      qemu: Get/return compressedpath program · 9e14689e
      John Ferlan 提交于
      Based upon a patch from Chen Hanxiao <chenhanxiao@gmail.com>, rather than
      need to call virFindFileInPath twice, let's just save the path and pass it
      along with the compressed type. (NB: the second call would be in virExec as
      called from virCommandRunAsync which is called from qemuMigrationToFile
      using the argument 'compressor' which up to this point would be the string
      from the cfg file that isn't the fully qualified path).
      
      Since we now have the path, we can remove qemuCompressProgramName which
      would return NULL or the string representation of the compress type.
      9e14689e
    • J
      qemu: Remove qemuCompressProgramAvailable · 9477b4a0
      John Ferlan 提交于
      There's only one caller and the code is duplicitous just converting the
      recently converted cfg image name back into it's string value in order to
      get/find the path to the image.  A subsequent patch can return this path.
      9477b4a0
    • J
      qemu: Use qemuGetCompressionProgram for error paths · 48cb9f05
      John Ferlan 提交于
      Let's do some more code reuse - there are 3 other callers that care to
      check/get the compress program. Each of those though cares whether the
      requested cfg image is valid and exists. So, add a parameter to handle
      those cases.
      
      NB: We won't need to initialize the returned value in the case where
      the cfg image doesn't exist since the called program will handle that.
      48cb9f05
    • J
      qemu: Alter qemuGetCompressionProgram warning message · 4052ac27
      John Ferlan 提交于
      Add a new parameter 'styleFormat' to be used when printing the
      warning message so that it's "clearer" what style of compression
      call caused the error. Add that style to both messages as a paremter.
      
      Also a VIR_WARN error message doesn't need to be translated
       (e.g. inside _()), so remove the need for the translation.
      4052ac27
    • J
      qemu: Remove getCompressionType · 882e360d
      John Ferlan 提交于
      There's only one caller now anyway... Besides it's just a shell for
      getting the compress type.  Subsequent patches will return the path
      to the compression program.
      882e360d
    • J
      qemu: Introduce helper qemuGetCompressionProgram · 02d32d2d
      John Ferlan 提交于
      Split out the guts of getCompressionType to perform the same functionality
      in the new helper program with a subsequent patch goal to be reusable for
      other callers making similar checks/calls to ensure the compression type
      is valid and that the compression program cannot be found.
      02d32d2d
    • J
      qemu: Adjust doCoreDump to call getCompressionType · 69948154
      John Ferlan 提交于
      Rather than calling getCompressionType from each of the callers, just call
      it from doCoreDump.  A subsequent patch will be adjust the code even more.
      69948154
    • J
      qemu: Move getCompressionType · abaa86f9
      John Ferlan 提交于
      A subsequent patch will adjust the 3 callers to just call from doCoreDump.
      abaa86f9
    • C
      apparmor: move qemu-bridge-helper to libvirtd profile · f03013c2
      Cédric Bosdonnat 提交于
      qemu-bridge-helper is only called from libvirtd, it has to be moved
      from the qemu domain abstraction to the usr.sbin.libvirtd profile.
      f03013c2
  2. 24 9月, 2016 1 次提交
  3. 23 9月, 2016 11 次提交
  4. 22 9月, 2016 18 次提交