1. 06 2月, 2015 1 次提交
    • A
      migration: Append JSON description of migration stream · 8118f095
      Alexander Graf 提交于
      One of the annoyances of the current migration format is the fact that
      it's not self-describing. In fact, it's not properly describing at all.
      Some code randomly scattered throughout QEMU elaborates roughly how to
      read and write a stream of bytes.
      
      We discussed an idea during KVM Forum 2013 to add a JSON description of
      the migration protocol itself to the migration stream. This patch
      adds a section after the VM_END migration end marker that contains
      description data on what the device sections of the stream are composed of.
      
      This approach is backwards compatible with any QEMU version reading the
      stream, because QEMU just stops reading after the VM_END marker and ignores
      any data following it.
      
      With an additional external program this allows us to decipher the
      contents of any migration stream and hopefully make migration bugs easier
      to track down.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Signed-off-by: NAmit Shah <amit.shah@redhat.com>
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      8118f095
  2. 02 2月, 2015 1 次提交
  3. 13 1月, 2015 1 次提交
  4. 16 12月, 2014 2 次提交
  5. 15 10月, 2014 5 次提交
  6. 14 10月, 2014 2 次提交
  7. 05 10月, 2014 1 次提交
  8. 27 9月, 2014 2 次提交
  9. 22 9月, 2014 1 次提交
    • J
      ahci: Adding basic functionality qtest. · 1cd1031d
      John Snow 提交于
      Currently, there is no qtest to test the functionality of
      the AHCI functionality present within the Q35 machine type.
      
      This patch adds a skeleton for an AHCI test suite,
      and adds a simple sanity-check test case where we
      identify that the AHCI device is present, then
      disengage the virtual machine.
      Signed-off-by: NJohn Snow <jsnow@redhat.com>
      Message-id: 1408643079-30675-2-git-send-email-jsnow@redhat.com
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      1cd1031d
  10. 19 9月, 2014 1 次提交
    • M
      tests: disable global props test for old glib · 9d41401b
      Michael S. Tsirkin 提交于
      follow-up patch moves global property tests to subprocesses.
      Unfortunately with old glib this causes:
      
      tests/test-qdev-global-props.c: In function
      ‘test_static_prop’:
      tests/test-qdev-global-props.c:80:5: error: implicit
      declaration of function ‘g_test_trap_subprocess’
      [-Werror=implicit-function-declaration]
      tests/test-qdev-global-props.c:80:5: error: nested extern
      declaration of ‘g_test_trap_subprocess’ [-Werror=nested-externs]
      
      This function was only added in glib 2.38, and our
      minimum version is 2.12.
      
      To fix, disable the test for glib < 2.38.
      
      Apply before that patch to avoid breaking bisect.
      Reported-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      9d41401b
  11. 08 9月, 2014 2 次提交
  12. 29 8月, 2014 3 次提交
  13. 09 8月, 2014 1 次提交
  14. 18 7月, 2014 1 次提交
  15. 16 7月, 2014 1 次提交
  16. 06 7月, 2014 1 次提交
  17. 23 6月, 2014 2 次提交
  18. 19 6月, 2014 2 次提交
  19. 02 6月, 2014 1 次提交
  20. 28 5月, 2014 2 次提交
    • L
      QemuOpt: add unit tests · 4ba6fabf
      Leandro Dorileo 提交于
      Cover basic aspects and API usage for QemuOpt. The current implementation
      covers the API's planned to be changed by Chunyan Liu in his QEMUOptionParameter
      replacement/cleanup job.
      
      Other APIs should be covered in future improvements.
      
      [Squashing in a small fix "QemuOpt: use qemu_find_opts_err() to avoid
      output on stderr in tests".
      
      qemu_find_opts() calls error_report() instead of propagating the Error
      object.  It is undesirable to clutter test case output with error
      messages from a passing test.
      
      Use qemu_find_opts_err() to avoid the output on stderr.
      --Stefan]
      Signed-off-by: NLeandro Dorileo <l@dorileo.org>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      4ba6fabf
    • G
      tests: rename acpi-test to bios-tables-test · 501f28ca
      Gabriel L. Somlo 提交于
      The test harness for acpi (generating a boot disk, starting qemu,
      waiting for the BIOS to finish booting before examining guest
      memory, etc.) is perfectly suited for testing other bios tables
      beside acpi, such as e.g., smbios.
      
      This patch renames acpi-test to bios-tables-test to reflect that,
      and in preparation for adding smbios tests.
      Signed-off-by: NGabriel Somlo <somlo@cmu.edu>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      501f28ca
  21. 16 5月, 2014 1 次提交
  22. 09 5月, 2014 3 次提交
  23. 06 5月, 2014 3 次提交