1. 26 11月, 2016 10 次提交
  2. 25 11月, 2016 13 次提交
  3. 24 11月, 2016 9 次提交
  4. 23 11月, 2016 8 次提交
    • M
      qemu: Update cgroup on chardev hotplug · 5d9c2c70
      Michal Privoznik 提交于
      Just like in the previous commit, we are not updating CGroups on
      chardev hot(un-)plug and thus leaving qemu unable to access any
      non-default device users are trying to hotplug.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      5d9c2c70
    • M
      qemu: Update cgroup on RNG hotplug · 085692c8
      Michal Privoznik 提交于
      If users try to hotplug RNG device with a backend different to
      /dev/random or /dev/urandom the whole operation fails as qemu is
      unable to access the device. The problem is we don't update
      device CGroups during the operation.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      085692c8
    • M
      docs: Add apps.html link to index.html · 2878d145
      Michal Privoznik 提交于
      I think when trying to introduce libvirt (we have a section for
      that in our index page) it might be useful to promote success
      stories - other applications that are based on libvirt.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      2878d145
    • A
      NEWS: Close <li> tag properly · b8014fd2
      Andrea Bolognani 提交于
      Not closing the <li> tag on a separate line causes the plain
      text version of the file to have no empty line between entries.
      b8014fd2
    • P
      NEWS: document the new libssh transport · 61e1f108
      Pino Toscano 提交于
      61e1f108
    • N
      qemu: agent: fix unsafe agent access · aaf2992d
      Nikolay Shirokovskiy 提交于
      qemuDomainObjExitAgent is unsafe.
      
      First it accesses domain object without domain lock.
      Second it uses outdated logic that goes back to commit 79533da1 of
      year 2009 when code was quite different. (unref function
      instead of unreferencing only unlocked and disposed object
      in case of last reference and leaved unlocking to the caller otherwise).
      Nowadays this logic may lead to disposing locked object
      i guess.
      
      Another problem is that the callers of qemuDomainObjEnterAgent
      use domain object again (namely priv->agent) without domain lock.
      
      This patch address these two problems.
      
      qemuDomainGetAgent is dropped as unused.
      aaf2992d
    • N
      qemu: drop write-only agentStart · 3c1c5678
      Nikolay Shirokovskiy 提交于
      3c1c5678
    • N
      qemu: agent: cleanup agent error flag correctly · 6ba861ae
      Nikolay Shirokovskiy 提交于
      Sometimes after domain restart agent is unavailabe even
      if it is up and running in guest. Diagnostic message is
      "QEMU guest agent is not available due to an error"
      that is 'priv->agentError' is set. Investiagion shows that
      'priv->agent' is not NULL, so error flag is set probably
      during domain shutdown process and not cleaned up eventually.
      
      The patch is quite simple - just clean up error flag unconditionally
      upon domain stop.
      
      Other hunks address other cases when error flag is not cleaned up.
      
      1. processSerialChangedEvent. We need to clean error flag
      unconditionally here too. For example if upon first 'connected' event we
      fail to connect and set error flag and then connect on second
      'connected' event then error flag will remain set erroneously
      and make agent unavailable.
      
      2. qemuProcessHandleAgentEOF. If error flag is set and we get
      EOF we need to change state (and diagnostic) from 'error' to
      'not connected'.
      6ba861ae