1. 08 10月, 2013 3 次提交
  2. 07 10月, 2013 2 次提交
  3. 05 10月, 2013 2 次提交
    • E
      build: fix build on 32-bit platforms · 815e3098
      Eric Blake 提交于
      qemumonitorjsontest.c: In function 'testQemuMonitorJSONqemuMonitorJSONGetBalloonInfo':
      qemumonitorjsontest.c:1134: warning: integer constant is too large for 'long' type
      
      * tests/qemumonitorjsontest.c
      (testQemuMonitorJSONqemuMonitorJSONGetBalloonInfo)
      (testQemuMonitorJSONqemuMonitorJSONGetBlockStatsInfo): Use correct
      type.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      815e3098
    • E
      build: fix build --without-remote · bdc55cc7
      Eric Blake 提交于
      I tried to test ./configure --without-lxc --without-remote.
      First, the build failed with some odd errors, such as an
      inability to build xen, or link failures for virNetTLSInit.
      But when you think about it, once there is no remote code,
      all of libvirtd is useless, any stateful driver that depends
      on libvirtd is also not worth compiling, and any libraries
      used only by RPC code are not needed.  So I patched
      configure.ac to make for some saner defaults when an
      explicit disable is attempted.  Similarly, since we have
      migrated virnetdevbridge into generic code, the workaround
      for Linux kernel stupidity must not depend on stateful
      drivers being in use.
      
      Then there's 'make check' that needs segregation.
      
      Wow - quite a bit of cleanup to make --without-remote useful :)
      
      * configure.ac: Let --without-remote toggle defaults on stateful
      drivers and other libraries.  Pick up Linux kernel workarounds
      even when qemu and lxc are not being compiled.
      * tests/Makefile.am (test_programs): Factor out programs that
      require remote.
      * src/libvirt_private.syms (rpc/virnet*.h): Move...
      * src/libvirt_remote.syms: ...into new file.
      * src/Makefile.am (SYM_FILES): Ship new syms file.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      bdc55cc7
  4. 03 10月, 2013 17 次提交
  5. 01 10月, 2013 5 次提交
    • C
      test: Wire up managed save APIs · 25314fa6
      Cole Robinson 提交于
      Also add a <test:hasmanagedsave> element to set this data when starting
      the connection.
      25314fa6
    • M
      tests: Introduce qemucapabilitiestest · 63857eb4
      Michal Privoznik 提交于
      This test is there to ensure that our capabilities detection code isn't
      broken somehow.
      
      How to gather test data:
      
      Firstly, the data is split into two separate files. The former (with
      suffix .replies) contains all the qemu replies. This is very fragile as
      introducing a new device can mean yet another monitor command and hence
      edit of this file in the future. But there's no better way of doing
      this. To get this data simply turn on debug logs and copy all the
      QEMU_MONITOR_IO_PROCESS lines. But be careful to not copy incomplete
      ones (yeah, we report some incomplete lines too). Long story short, at
      the libvirtd startup, a dummy qemu is spawn to get all the capabilities.
      
      The latter (with suffix .caps) contains capabilities XML. Just start a
      domain and copy the corresponding part from its state XML file.
      Including <qemuCaps> tag.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      63857eb4
    • M
      qemuMonitorTest: Make check for monitor command match optional · bd958586
      Michal Privoznik 提交于
      In a few cases we might want to not care if monitor command executed on
      the mocked monitor matches the one we have reply for. Sounds crazy, but
      if we just want monitor to return certain values (e.g. read from a file)
      there is no need to care about command match.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      bd958586
    • M
      tests: Learn qemuMonitorTestNew optional greeting · 0badd8a4
      Michal Privoznik 提交于
      Currently, when creating a new mocked monitor, the greeting can't be
      chosen. This is crucial for next patches, because some info as qemu
      version is obtained in the greeting message.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      0badd8a4
    • D
      VMware: Add Fusion version test · 2817353d
      Doug Goldstein 提交于
      This adds a test for the version string of VMware Fusion.
      2817353d
  6. 30 9月, 2013 1 次提交
  7. 28 9月, 2013 1 次提交
  8. 27 9月, 2013 1 次提交
  9. 26 9月, 2013 8 次提交