All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: Rob Miller <rob.miller@broadcom.com>
Cc: xenomai <xenomai@xenomai.org>
Subject: Re: Xenomai fails to start when running in QEMU VM
Date: Thu, 24 Oct 2019 14:12:35 +0200	[thread overview]
Message-ID: <96377681-69a9-e2c5-d454-9732bc785938@web.de> (raw)
In-Reply-To: <CAJPjb1JCojSH_TmL0jwkBpCVhzNEJbPKsNMVkr_p5Wq2LLE+aQ@mail.gmail.com>

On 24.10.19 13:46, Rob Miller wrote:
> Pls see below
>
> Rob Miller
> rob.miller@broadcom.com <mailto:rob.miller@broadcom.com>
> (919)721-3339
>
>
> On Thu, Oct 24, 2019 at 6:25 AM Jan Kiszka <jan.kiszka@web.de
> <mailto:jan.kiszka@web.de>> wrote:
>
>     On 23.10.19 23:23, Rob Miller via Xenomai wrote:
>     > Correction, stock images work by removing the enable-kvm and *NOT
>     *adding
>     > the -no-hpet QEMU cmdline options.
>     >
>     > also latency numbers are crazy with avg being 1678.126 usec w/
>     worst case
>     > being 15463.240usec
>     >
>     > at this point, I'm not sure which way to go:
>     >
>     > 1) do I hunt down issues in HPET failing w/ KVM mode enabled?
>     > 2) just go to dovetail
>     > 3) ???
>
>     Don't have a the reference image around, but I'm pretty sure it would
>     work here with QEMU 4300b7c2cd9f3f273804e8cca325842ccb93b1ad (post 4.1)
>     and KVM from 5.3.6. At least a different image is being used like that
>     for ages, and kernel config in xenomai-image is basically derived
>     from it.
>
> RJM>] Will try 
>
>
>     For the xenomai-images check, did you use "start-qemu.sh x86" as-is?
>
> RJM>] Yes, my 1st failed attempts used unmodified start-qemu.sh x86,
> then I mod'd the file to remove the -enable-kvm, and it started to work
> UNTIL also added -no-hpet, then I can't even boot up.
>

Number of host cores >= number of guest CPUs? If not, reduce -smp in the
QEMU invocation.

Oh, and don't expect any kind of determinism in these setups. KVM and
QEMU are for functional testing only.

Jan


  reply	other threads:[~2019-10-24 12:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-11 17:25 Xenomai fails to start when running in QEMU VM Rob Miller
2019-10-11 17:32 ` Jan Kiszka
2019-10-23 12:48   ` Rob Miller
2019-10-23 13:26     ` Gylstorff Quirin
2019-10-23 16:07       ` Rob Miller
2019-10-23 19:52         ` Rob Miller
2019-10-23 21:02           ` Rob Miller
2019-10-23 21:23             ` Rob Miller
2019-10-24 10:25               ` Jan Kiszka
2019-10-24 11:46                 ` Rob Miller
2019-10-24 12:12                   ` Jan Kiszka [this message]
2019-10-24 13:38                     ` Rob Miller
2019-10-24 14:21                       ` Henning Schild
2019-11-04 11:24                       ` Jan Kiszka

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=96377681-69a9-e2c5-d454-9732bc785938@web.de \
    --to=jan.kiszka@web.de \
    --cc=rob.miller@broadcom.com \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.