All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] controllers/cpuset_hotplug: skip unsupported Microsoft Hyper-V
Date: Wed, 23 Jun 2021 11:32:31 +0200	[thread overview]
Message-ID: <YNL/r6KzNdw6biZp@pevik> (raw)
In-Reply-To: <20210622145938.106477-1-krzysztof.kozlowski@canonical.com>

Hi Krzysztof,

> Detect the Hyper-V with systemd and if it succeeds, skip the test.
> This of course does not support all possible cases, e.g. running tests
> under Hyper-V without systemd will still fail, but it's a easy way to
> avoid test failure in common configuration.

Yes, we use systemd-detect-virt also in lib/tst_virt.c. We could steal code from
systemd (src/basic/virt.c), but as nobody has complained, this will have to wait
for somebody who is not using systemd.

Kind regards,
Petr

      parent reply	other threads:[~2021-06-23  9:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-22 14:59 [LTP] [PATCH] controllers/cpuset_hotplug: skip unsupported Microsoft Hyper-V Krzysztof Kozlowski
2021-06-23  9:25 ` Petr Vorel
2021-06-23  9:35   ` Krzysztof Kozlowski
2021-06-23 11:57     ` Krzysztof Kozlowski
2021-06-23 13:34       ` Petr Vorel
2021-06-23 14:59         ` Krzysztof Kozlowski
2021-06-23  9:32 ` Petr Vorel [this message]

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=YNL/r6KzNdw6biZp@pevik \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    /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.