1. 28 5月, 2014 1 次提交
  2. 06 5月, 2014 1 次提交
  3. 05 3月, 2014 1 次提交
  4. 15 2月, 2014 1 次提交
  5. 14 2月, 2014 1 次提交
  6. 05 2月, 2014 1 次提交
  7. 10 12月, 2013 1 次提交
    • P
      qtest: split configuration of qtest accelerator and chardev · d4fce24f
      Paolo Bonzini 提交于
      qtest uses the icount infrastructure to implement a test-driven vm_clock.  This
      however is not necessary when using -qtest as a "probe" together with a normal
      TCG-, KVM- or Xen-based virtual machine.  Hence, split out the call to
      configure_icount into a new function that is called only for "-machine
      accel=qtest"; and disable those commands when running with an accelerator
      other than qtest.
      
      This also fixes an assertion failure with "qemu-system-x86_64 -machine
      accel=qtest" but no -qtest option.  This is a valid case, albeit somewhat
      weird; nothing will happen in the VM but you'll still be able to
      interact with the monitor or the GUI.
      
      Now that qtest_init is not limited to an int(void) function, change
      global variables that are not used outside qtest_init to arguments.
      
      And finally, cleanup useless parts of include/sysemu/qtest.h.  The file
      is not used at all for user-only emulation, and qtest is not available
      on Win32 due to its usage of sigwait.
      Reported-by: NMichael S. Tsirkin <mst@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Tested-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      d4fce24f
  8. 03 9月, 2013 1 次提交
  9. 23 8月, 2013 3 次提交
  10. 19 7月, 2013 1 次提交
  11. 22 4月, 2013 1 次提交
  12. 16 4月, 2013 1 次提交
  13. 26 3月, 2013 1 次提交
  14. 18 2月, 2013 1 次提交
  15. 12 2月, 2013 1 次提交
  16. 02 2月, 2013 1 次提交
  17. 19 12月, 2012 3 次提交
  18. 24 4月, 2012 1 次提交
  19. 03 4月, 2012 1 次提交
  20. 02 4月, 2012 1 次提交
  21. 31 3月, 2012 1 次提交
  22. 30 3月, 2012 3 次提交
    • P
      qtest: add clock management · 8156be56
      Paolo Bonzini 提交于
      This patch combines qtest and -icount together to turn the vm_clock
      into a source that can be fully managed by the client.  To this end new
      commands clock_step and clock_set are added.  Hooking them with libqtest
      is left as an exercise to the reader.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      8156be56
    • P
      qtest: IRQ interception infrastructure · 20288345
      Paolo Bonzini 提交于
      Since /i440fx/piix3 is being removed from the composition tree, the
      IO-APIC is placed under /i440fx.  This is wrong and should be changed
      as soon as the /i440fx/piix3 path is put back.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      20288345
    • A
      qtest: add test framework · c7f0f3b1
      Anthony Liguori 提交于
      The idea behind qtest is pretty simple.  Instead of executing a CPU via TCG or
      KVM, rely on an external process to send events to the device model that the CPU
      would normally generate.
      
      qtest presents itself as an accelerator.  In addition, a new option is added to
      establish a qtest server (-qtest) that takes a character device.  This is what
      allows the external process to send CPU events to the device model.
      
      qtest uses a simple line based protocol to send the events.  Documentation of
      that protocol is in qtest.c.
      
      I considered reusing the monitor for this job.  Adding interrupts would be a bit
      difficult.  In addition, logging would also be difficult.
      
      qtest has extensive logging support.  All protocol commands are logged with
      time stamps using a new command line option (-qtest-log).  Logging is important
      since ultimately, this is a feature for debugging.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      c7f0f3b1