From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] hotplug/cpu_hotplug: skip unsupported Microsoft Hyper-V
Date: Wed, 9 Jun 2021 15:33:41 +0200 [thread overview]
Message-ID: <YMDDNYojVH/NZbB8@pevik> (raw)
In-Reply-To: <20210609080313.15359-1-krzysztof.kozlowski@canonical.com>
Hi Krzysztof,
> Microsoft Hyper-V with Linux guests does not support CPU hotplug, even
> if enabled in kernel configuration. Quoting Ubuntu bug report from
> June 2018: "While Hyper-V may present all potential CPUs via ACPI MADT,
> CPU add/remove is not supported.". [1]
> 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.
Good catch, thanks!
> Ideally the newly introduced tst_virt_hyperv should be added to
> testcases/lib but first the CPU hotplug tests would have to be converted
> to newlib.
+1, thanks for TODO.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
> [1] https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/1776293
Kind regards,
Petr
prev parent reply other threads:[~2021-06-09 13:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-09 8:03 [LTP] [PATCH] hotplug/cpu_hotplug: skip unsupported Microsoft Hyper-V Krzysztof Kozlowski
2021-06-09 13:33 ` 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=YMDDNYojVH/NZbB8@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox