qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/7] Qemu scenario engine


From: Victor CLEMENT
Subject: [Qemu-devel] [PATCH 0/7] Qemu scenario engine
Date: Fri, 11 Sep 2015 14:50:23 +0200

This patch introduce a testing component for Qemu guest OS: the scenario
engine.

The Qemu scenario engine is a framework designed to test the software running
on the guest machine.  It allows interacting with the guest virtual devices by
stimulating inputs and reading outputs from outside of the virtual machine.
It also provides an utility to schedule precise time based events to run
through a "test scenario".

As it is a whole subsystem, a github repository providing a complete
documentation and a demonstration is available at the following address:
https://github.com/Openwide-Ingenierie/qemu-scenario-engine-demo


Victor CLEMENT (7):
  configure: add --enable-scenario-engine option
  gpio-pl061: add a scenario engine interaction API
  chardev: add a scenario engine backend
  scenario-engine: add utilities
  scenario-engine: add a time based event scheduler
  scenario engine: provide a scenario file template
  scenario engine: add a Qemu option to start it

 Makefile.objs                |   8 ++
 backends/Makefile.objs       |   1 +
 backends/scenario.c          | 107 +++++++++++++++++++++++++
 configure                    |   8 ++
 hw/gpio/pl061.c              |  38 +++++++++
 include/hw/gpio/pl061_simu.h |  20 +++++
 include/scenario/scenario.h  |   5 ++
 include/scenario/scheduler.h |  26 ++++++
 include/scenario/utils.h     |  23 ++++++
 include/sysemu/char.h        |  13 +++
 qapi-schema.json             |   3 +-
 qemu-char.c                  |   5 ++
 qemu-options.hx              |  12 +++
 scenario/scenario.c          | 168 ++++++++++++++++++++++++++++++++++++++
 scenario/scheduler.c         | 186 +++++++++++++++++++++++++++++++++++++++++++
 scenario/utils.c             |  65 +++++++++++++++
 vl.c                         |  45 ++++++++++-
 17 files changed, 731 insertions(+), 2 deletions(-)
 create mode 100644 backends/scenario.c
 create mode 100644 include/hw/gpio/pl061_simu.h
 create mode 100644 include/scenario/scenario.h
 create mode 100644 include/scenario/scheduler.h
 create mode 100644 include/scenario/utils.h
 create mode 100644 scenario/scenario.c
 create mode 100644 scenario/scheduler.c
 create mode 100644 scenario/utils.c

-- 
2.5.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]