1. 02 2月, 2012 3 次提交
    • C
      Add basic version of bridge helper · 7b93fadf
      Corey Bryant 提交于
      This patch adds a helper that can be used to create a tap device attached to
      a bridge device.  Since this helper is minimal in what it does, it can be
      given CAP_NET_ADMIN which allows qemu to avoid running as root while still
      satisfying the majority of what users tend to want to do with tap devices.
      
      The way this all works is that qemu launches this helper passing a bridge
      name and the name of an inherited file descriptor.  The descriptor is one
      end of a socketpair() of domain sockets.  This domain socket is used to
      transmit a file descriptor of the opened tap device from the helper to qemu.
      
      The helper can then exit and let qemu use the tap device.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: NRicha Marwaha <rmarwah@linux.vnet.ibm.com>
      Signed-off-by: NCorey Bryant <coreyb@linux.vnet.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      7b93fadf
    • S
      ./configure: add link check for nss-smartcard · 5f01e06f
      Sergei Trofimovich 提交于
      Current './configure --static && make' fails for me:
      
          LINK  qemu-nbd
          /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lssl3
          /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lsmime3
          /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnssutil3
          /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnss3
          /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lplds4
          /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lplc4
          /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lnspr4
      
      My system does not provide static libraries for nss, so
      fix autoconfiguration by link checking.
      Signed-off-by: NSergei Trofimovich <slyfox@gentoo.org>
      CC: qemu-trivial <qemu-trivial@nongnu.org>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      5f01e06f
    • S
      ./configure: request pkg-config to provide private libs when static linking · 17884d7b
      Sergei Trofimovich 提交于
      Added wrapper around pkg-config to allow:
      - safe options injection via ${QEMU_PKG_CONFIG_FLAGS}
      - spaces in path to pkg-config
      Signed-off-by: NSergei Trofimovich <slyfox@gentoo.org>
      CC: Peter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      17884d7b
  2. 28 1月, 2012 1 次提交
    • A
      qom: add the base Object class (v2) · 2f28d2ff
      Anthony Liguori 提交于
      This class provides the main building block for QEMU Object Model and is
      extensively documented in the header file.  It is largely inspired by GObject.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ---
      v1 -> v2
       - remove printf() in type registration
       - fix typo in comment (Paolo)
       - make Interface private
       - move object into a new directory and move header into include/qemu/
       - don't make object.h depend on qemu-common.h
       - remove Type and replace it with TypeImpl * (Paolo)
       - use hash table to store types (Paolo)
       - aggressively cache parent type (Paolo)
       - make a type_register and use it with interfaces (Paolo)
       - fix interface cast comment (Paolo)
       - add a few more functions required in later series
      2f28d2ff
  3. 27 1月, 2012 1 次提交
  4. 19 1月, 2012 1 次提交
  5. 13 1月, 2012 9 次提交
  6. 06 1月, 2012 3 次提交
  7. 04 1月, 2012 1 次提交
  8. 19 12月, 2011 11 次提交
  9. 11 12月, 2011 2 次提交
  10. 06 12月, 2011 7 次提交
  11. 29 11月, 2011 1 次提交