1. 18 3月, 2016 1 次提交
  2. 17 3月, 2016 11 次提交
  3. 16 3月, 2016 6 次提交
    • 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
    • E
      virlog: Introduce Type{To,From}String for virLogDestination · 034337fb
      Erik Skultety 提交于
      In order to refactor the ugly virLogParseOutputs method, this is a neat way of
      finding out whether the destination type (in the form of a string) user
      provided is a valid one. As a bonus, if it turns out it is valid, we get the
      actual enum which will later be passed to any of virLogAddOutput methods right
      away.
      034337fb
    • M
      nodedev: Shorten match condition · c1276177
      Martin Kletzander 提交于
      Just a cleanup I stumbled upon in one of my older branches I did when
      browsing through some code and forgot to send it.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      c1276177
    • M
      qemu: Don't access uninitialized memory · 71fa2eb2
      Martin Kletzander 提交于
      In qemuConnectDomainXMLToNative() we set up the monitor, but we never
      memset() it to zeros.  Thanks to the introduction of the logfile
      parameter of chardevs (and the logfile member of the struct), we started
      checking whether that's non-NULL and that exposed this old error.
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      71fa2eb2
    • C
      qemu: Don't overwrite DomainSave errors · 26f3d9c2
      Cole Robinson 提交于
      These functions already report fine grained errors, there's no
      benefit to overwriting the error here.
      26f3d9c2
    • D
      qemuDomainRevertToSnapshot: save domain configuration · c5e81090
      Dmitry Andreev 提交于
      Reverting to a snapshot may change domain configuration. New
      configuration should be saved if domain has persistent flag.
      
      VIR_DOMAIN_EVENT_DEFINED_FROM_SNAPSHOT is emitted in case of
      configuration update.
      c5e81090
  4. 15 3月, 2016 11 次提交
  5. 14 3月, 2016 8 次提交
  6. 12 3月, 2016 3 次提交