qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Victor Clement <victor.clement@openwide.fr>
To: qemu-devel@nongnu.org
Cc: "françois Guerret" <francois.guerret@hotmail.fr>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Julien Viard de Galbert" <julien.viarddegalbert@openwide.fr>
Subject: Re: [Qemu-devel] [PATCH 0/3] implement a new icount_no_rt mode
Date: Fri, 29 May 2015 10:54:13 +0200 (CEST)	[thread overview]
Message-ID: <926526427.739772.1432889652962.JavaMail.root@openwide.fr> (raw)
In-Reply-To: <5565BE27.4070202@redhat.com>

----- Mail original -----
> De: "Paolo Bonzini" <pbonzini@redhat.com>
> À: "Victor CLEMENT" <victor.clement@openwide.fr>, qemu-devel@nongnu.org
> Cc: "francois guerret" <francois.guerret@hotmail.fr>
> Envoyé: Mercredi 27 Mai 2015 14:52:55
> Objet: Re: [Qemu-devel] [PATCH 0/3] implement a new icount_no_rt mode
> 
> [...] Or are there other cases besides RTC devices?
> 
> Paolo
> 

For the normal use case of QEmu, No. But we want to use QEmu to test hard
real time application against simulated external stimuli.

So basically, Qemu will be used to run the embedded software, but
the external interfaces (GPIO, SPI, CAN bus...) will be controlled
by a basic simulator playing some predefined scenario.
Also we will record some traces to validate the behavior.

The scenario engine and the trace recorder will need to use the virtual
clock, so that all dates are based on the same clock.

Again, at this stage we think this scenario engine will not be generic
so the code will not be ready for integration in qemu.

Our goal is to be able to run a real time application (under an RTOS)
and test it with some scenario :
For instance our application could monitor a GPIO and send a specific
CAN frame within a specified delay.
In that case, the scenario will control the GPIO input and the recorder
will trace both the GPIO and the CAN bus. So by analysing the traces
we will be able to check that the software meets its timing constraints.

This example is simple but still shows the kind of problems we want to
solve.

I hope this enlighten you on our motivations.

Best regards,

Victor Clément & Julien Viard de Galbert

  reply	other threads:[~2015-05-29  8:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-27 11:52 [Qemu-devel] [PATCH 0/3] implement a new icount_no_rt mode Victor CLEMENT
2015-05-27 11:52 ` [Qemu-devel] [PATCH 1/3] icount: implement a new icount_no_rt mode without real time cpu sleeping Victor CLEMENT
2015-05-27 12:52   ` Paolo Bonzini
2015-05-29  8:59     ` Victor Clement
2015-05-27 11:52 ` [Qemu-devel] [PATCH 2/3] icount: add rt parameter to the -icount option to toogle icount_no_rt mode Victor CLEMENT
2015-05-27 11:52 ` [Qemu-devel] [PATCH 3/3] icount: print a warning if there is no more deadline in no_rt mode Victor CLEMENT
2015-05-27 12:52 ` [Qemu-devel] [PATCH 0/3] implement a new icount_no_rt mode Paolo Bonzini
2015-05-29  8:54   ` Victor Clement [this message]
2015-05-29 11:14     ` Paolo Bonzini
2015-05-29 15:06       ` Victor Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=926526427.739772.1432889652962.JavaMail.root@openwide.fr \
    --to=victor.clement@openwide.fr \
    --cc=francois.guerret@hotmail.fr \
    --cc=julien.viarddegalbert@openwide.fr \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).