1. 03 10月, 2014 3 次提交
    • T
      vbox: Interfaces for register per parties · fac5d061
      Taowei 提交于
      The patch dbb4cbf5 by Michal has splited the vbox driver into
      three parties. This modification brings a more suitable interface
      to the previous patch.
      
      The new function vboxGetDriver is introduced to get the
      corresponding vbox domain driver directly thought the vbox version.
      
      Functions like vboxGetNetworkDriver and vboxGetStorageDriver
      will be introduced after rewriting it's drivers.
      
      This patch, by the way, fixed the align problem for vbox in
      Makefile.am
      fac5d061
    • E
      qemu: Fix updating balloon period in live XML · e3a7b874
      Erik Skultety 提交于
      Up until now, we set memballoon period in monitor successfully, however
      we did not update domain definition structure, thus dumpxml was omitting
      period attribute in memballoon element
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1140960
      e3a7b874
    • E
      qemu: Fix updating bandwidth limits in live XML · f4ba3385
      Erik Skultety 提交于
      When trying to update bandwidth limits on a running domain, limits get
      updated in our internal structures, however XML parser reads
      bandwidth limits from network 'actual' definition. Committing this patch
      it is now available to update bandwidth 'actual' definition as well,
      thus updating domain runtime XML.
      f4ba3385
  2. 02 10月, 2014 4 次提交
  3. 01 10月, 2014 8 次提交
  4. 30 9月, 2014 5 次提交
  5. 29 9月, 2014 3 次提交
  6. 27 9月, 2014 1 次提交
  7. 26 9月, 2014 10 次提交
  8. 25 9月, 2014 6 次提交
    • M
      virNodeAllocPages: Disallow RO connection · 92b0577d
      Michal Privoznik 提交于
      Due to a missing check the API can be successfully called even if
      the connection is ReadOnly. Fortunately, the API hasn't been
      released yet, so there's no need for a CVE.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      92b0577d
    • D
      parallels: login to parallels SDK · e7bb373f
      Dmitry Guryanov 提交于
      Add files parallels_sdk.c and parallels_sdk.h for code
      which works with SDK, so libvirt's code will not mix with
      dealing with parallels SDK.
      
      To use Parallels SDK you must first call PrlApi_InitEx function,
      and then you will be able to connect to a server with
      PrlSrv_LoginLocalEx function. When you've done you must call
      PrlApi_Deinit. So let's call PrlApi_InitEx on first .connectOpen,
      count number of connections and deinitialize, when this counter
      becomes zero.
      Signed-off-by: NDmitry Guryanov <dguryanov@parallels.com>
      e7bb373f
    • D
      parallels: build with parallels SDK · 64018e0c
      Dmitry Guryanov 提交于
      Executing prlctl command is not an optimal way to interact with
      Parallels Cloud Server (PCS), it's better to use parallels SDK,
      which is a remote API to paralles dispatcher service.
      
      We prepared opensource version of this SDK and published it on
      github, it's distributed under LGPL license. Here is a git repo:
      https://github.com/Parallels/parallels-sdk.
      
      To build with parallels SDK user should get compiler and linker
      options from pkg-config 'parallels-sdk' file. So fix checks in
      configure script and build with parallels SDK, if that pkg-config
      file exists and add gcc options to makefile.
      Signed-off-by: NDmitry Guryanov <dguryanov@parallels.com>
      64018e0c
    • M
      virnetserver: Raise log level of max_clients related messages · cb5de655
      Michal Privoznik 提交于
      We have these configuration knobs, like max_clients and
      max_anonymous_clients. They limit the number of clients
      connected.  Whenever the limit is reached, the daemon stops
      accepting new ones and resumes if one of the connected clients
      disconnects. If that's the case, a debug message is printed into
      the logs. And when the daemon starts over to accept new clients
      too. However, the problem is the messages have debug priority.
      This may be unfortunate, because if the daemon stops accepting
      new clients all of a sudden, and users don't have debug logs
      enabled they have no idea what's going on. Raise the messages
      level to INFO at least.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      cb5de655
    • P
      polkit_driver: fix possible segfault · c4b4b13c
      Pavel Hrdina 提交于
      The changes in commit c7542573 introduced possible segfault. Looking
      deeper into the code and the original code before the patch series were
      applied I think that we should report error for each function failure
      and also we shouldn't call some of the function twice.
      
      Found by coverity.
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      c4b4b13c
    • P
      blkdeviotune: trigger tunable event for blkdeviotune updates · 18fc3199
      Pavel Hrdina 提交于
      Use the universal tunable event to report changes to user. All
      blkdeviotune values are prefixed with "blkdeviotune".
      Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
      18fc3199