1. 26 1月, 2017 1 次提交
  2. 19 1月, 2017 1 次提交
  3. 06 1月, 2017 1 次提交
  4. 09 12月, 2016 1 次提交
  5. 06 12月, 2016 1 次提交
  6. 25 11月, 2016 1 次提交
    • E
      util: Management routines for scsi_host devices · 629544be
      Eric Farman 提交于
      For a new hostdev type='scsi_host' we have a number of
      required functions for managing, adding, and removing the
      host device to/from guests.  Provide the basic infrastructure
      for these tasks.
      
      The name "SCSIVHost" (and its variants) is chosen to avoid
      conflicts with existing code named "SCSIHost" to refer to
      a hostdev type='scsi' protcol='none'.
      Signed-off-by: NEric Farman <farman@linux.vnet.ibm.com>
      629544be
  7. 15 11月, 2016 1 次提交
    • P
      libssh_transport: add new libssh-based transport · 6917467c
      Pino Toscano 提交于
      Implement a new libssh transport, which uses libssh to communicate with
      remote hosts, and add all the build system stuff (search of libssh,
      private symbols, etc) to built it.
      
      This new transport supports all the common ssh authentication methods,
      making use of libvirt's auth callbacks for interaction with the user.
      6917467c
  8. 14 11月, 2016 1 次提交
    • E
      datatypes: Introduce some admin-related close callback handling helpers · 7cea74a3
      Erik Skultety 提交于
      Well, there were three different spots where closeCallback->freeCallback was
      called, not looking the same --> potential for bugs - and there indeed is a bug
      with refcounting of the @conn object. So this patch partially follows the path
      set by commit 24dbb69f by introducing some close callback helpers both to
      replace all the spots where we call clean the close callback data with a
      dedicated function and to be able to fix the refcounting bug causing a memleak.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      7cea74a3
  9. 22 9月, 2016 1 次提交
    • J
      cpu: Rework cpuUpdate · 3b6be3c0
      Jiri Denemark 提交于
      The reworked API is now called virCPUUpdate and it should change the
      provided CPU definition into a one which can be consumed by the QEMU
      command line builder:
      
          - host-passthrough remains unchanged
          - host-model is turned into custom CPU with a model and features
            copied from host
          - custom CPU with minimum match is converted similarly to host-model
          - optional features are updated according to host's CPU
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      3b6be3c0
  10. 02 8月, 2016 1 次提交
    • J
      Introduce node device lifecycle event APIs · fcabc1ca
      Jovanka Gulicoska 提交于
      Node device lifecycle event API entry points for registering and
      deregistering node deivce events, as well as types of events
      associated with node device.
      These entry points will be used for implementing asynchronous
      lifecycle events.
      
      Node device API:
      virConnectNodeDeviceEventRegisterAny
      virConnectNodeDeviceEventDeregisterAny
      virNodeDeviceEventLifecycleType which has events CREATED and DELETED
      fcabc1ca
  11. 12 7月, 2016 2 次提交
  12. 11 7月, 2016 2 次提交
    • F
      bhyve: implement virConnectDomainXMLFromNative · 01163b1b
      Fabian Freyer 提交于
      First, remove escaped newlines and split up the string into an argv-list for
      the bhyve and loader commands, respectively. This is done by iterating over the
      string splitting it by newlines, and then re-iterating over each line,
      splitting it by spaces.
      
      Since this code reuses part of the code of qemu_parse_command.c
      (in bhyveCommandLine2argv), add the appropriate copyright notices.
      Signed-off-by: NFabian Freyer <fabian.freyer@physik.tu-berlin.de>
      01163b1b
    • F
      gnulib: add getopt module · b436a8ae
      Fabian Freyer 提交于
      Unconditionally use gnulib's getopt module. This is needed by the bhyve driver
      to provide a reentrant interface for getopt.
      
      Several gnulib headers rely on features.h being included by ctype.h to provide
      __GNUC_PREREQ, but on systems without glibc, this is not provided. In these
      cases __GNUC_PREREQ gets redefined to 0, which causes build errors from checks
      in src/internal.h.
      Therefore, define __GNUC_PREREQ as early as possible. config-post.h is probably
      the first header that is included, before any other headers.
      b436a8ae
  13. 01 7月, 2016 1 次提交
  14. 27 6月, 2016 1 次提交
  15. 24 6月, 2016 1 次提交
  16. 14 6月, 2016 2 次提交
  17. 10 6月, 2016 2 次提交
  18. 07 6月, 2016 1 次提交
  19. 16 5月, 2016 1 次提交
    • P
      secret: util: Refactor virSecretGetSecretString · 1d632c39
      Peter Krempa 提交于
      Call the internal driver callbacks rather than the public APIs to avoid
      calling unnecessarily the error dispatching code and don't overwrite
      the error messages provided by the APIs. They are good enough to
      describe which secret is missing either by UUID or the usage (basically
      name).
      1d632c39
  20. 26 4月, 2016 1 次提交
    • J
      secret: Introduce virSecretObjListAdd* and virSecretObjListRemove · d4287b98
      John Ferlan 提交于
      Add the functions to add/remove elements from the hashed secret obj list.
      These will replace secret_driver functions secretAssignDef and secretObjRemove.
      
      The virSecretObjListAddLocked will perform the necessary lookups and
      decide whether to replace an existing hash entry or create a new one.
      This includes setting up the configPath and base64Path as well as being
      able to support the caller's need to restore from a previous definition
      in case something goes wrong in the caller.
      d4287b98
  21. 18 4月, 2016 2 次提交
  22. 11 4月, 2016 1 次提交
  23. 10 4月, 2016 1 次提交
    • E
      po: fix POTFILES.in file ordering · e72667bd
      Erik Skultety 提交于
      When it comes to a situation that a new translatable file needs to be added
      into the list of files, an automatically generated patch is proposed during
      syntax-check. However, the diff was made against a sorted list of files and
      the same sorted list of files + the new file that actually needs to be added
      into the list. Since we do not keep POTFILES sorted, the proposed patch thus
      can't be applied...most of the time - depending on the context.
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      e72667bd
  24. 07 4月, 2016 1 次提交
    • J
      secret: Introduce virSecretGetSecretString · 2844de6f
      John Ferlan 提交于
      Commit id 'fb2bd208' essentially copied the qemuGetSecretString
      creating an libxlGetSecretString.  Rather than have multiple copies
      of the same code, create src/secret/secret_util.{c,h} files and
      place the common function in there.
      
      Modify the the build in order to build the module as a library
      which is then pulled in by both the qemu and libxl drivers for
      usage from both qemu_command.c and libxl_conf.c
      2844de6f
  25. 29 3月, 2016 1 次提交
  26. 19 3月, 2016 1 次提交
  27. 16 3月, 2016 1 次提交
    • E
      virlog: Refactor virLogParseOutputs · 0b231195
      Erik Skultety 提交于
      The problem with the original virLogParseOutputs method was that the way it
      parsed the input, walking the string char by char and using absolute jumps
      depending on the virLogDestination type, was rather complicated to read.
      This patch utilizes virStringSplit method twice, first time to filter out any
      spaces and split the input to individual log outputs and then for each
      individual output to tokenize it by to the parts according to our
      PRIORITY:DESTINATION?(:DATA) format. Also, to STREQLEN for matching destination
      was replaced with virDestinationTypeFromString call.
      0b231195
  28. 11 3月, 2016 1 次提交
  29. 17 2月, 2016 5 次提交
  30. 11 2月, 2016 1 次提交
    • J
      qemu: Split the command parsing routines into own module · d860b2f5
      John Ferlan 提交于
      Extract out the qemuParseCommandLine{String|Pid} into their own
      separate module - taking with it all the various static functions.
      
      Causes a ripple effect with a few other modules to include the
      new qemu_parse_command.h.
      
      Narrowed down the list of #include's in the split out module to
      those that are necessary for build.
      d860b2f5
  31. 30 11月, 2015 1 次提交
    • M
      conf: Split virDomainObjList into a separate file · 90f3c0d7
      Michal Privoznik 提交于
      Our domain_conf.* files are big enough. Not only they contain XML
      parsing code, but they served as a storage of all functions whose
      name is virDomain prefixed. This is just wrong as it gathers not
      related functions (and modules) into one big file which is then
      harder to maintain. Split virDomainObjList module into a separate
      file called virdomainobjlist.[ch].
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      90f3c0d7