From: Luis Aranguren <pizzaman@hotmail.com>
To: kerolasa@iki.fi
Cc: util-linux@vger.kernel.org
Subject: Re: Hypervisor & Virtualization lscpu test fail
Date: Thu, 14 Feb 2013 02:35:10 +1000 [thread overview]
Message-ID: <BLU0-SMTP28536229842C754116023F5D5080@phx.gbl> (raw)
In-Reply-To: <CAG27Bk0ddxfVP98dxWiS+XjoGcM2gv1O78L3wBcVXDKNjMjMQg@mail.gmail.com>
On 2/12/2013 8:56 AM, Sami Kerola wrote:
>
> - if (desc->hypervisor)
> + if (desc->hypervisor && mod->system == SYSTEM_LIVE)
> print_s(_("Hypervisor:"), desc->hypervisor);
> - if (desc->hyper) {
> + if (desc->hyper && mod->system == SYSTEM_LIVE) {
>
Thanks for the fix. After applying it I got these results:
lscpu: ...
: ppc64-POWER7 ... OK
: s390-kvm ... FAILED
(lscpu/lscpu-s390-kvm)
: s390-lpar ... FAILED
(lscpu/lscpu-s390-lpar)
: s390-zvm ... FAILED
(lscpu/lscpu-s390-zvm)
: x86_64-64cpu ... OK
: x86_64-dell_e4310 ... OK
... FAILED (3 from 6 sub-tests)
---
/var/tmp/paludis/build/sys-apps-util-linux-2.22.2/work/util-linux-2.22.2/tests/expected/lscpu/lscpu-s390-kvm
2012-10-15 10:09:42.000000000 +0000
+++
/var/tmp/paludis/build/sys-apps-util-linux-2.22.2/work/C/64/tests/output/lscpu/lscpu-s390-kvm
2013-02-13 15:37:56.000000000 +0000
@@ -7,9 +7,6 @@
Book(s): 3
Vendor ID: IBM/S390
BogoMIPS: 14367.00
-Hypervisor: KVM/Linux
-Hypervisor vendor: KVM
-Virtualization type: full
Dispatching mode: horizontal
Same for the other two s390's. Hope this helps.
Thanks!
next prev parent reply other threads:[~2013-02-13 16:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-10 16:25 Hypervisor & Virtualization lscpu test fail Luis Aranguren
2013-02-10 21:04 ` Sami Kerola
2013-02-11 1:44 ` Luis Aranguren
2013-02-11 22:56 ` Sami Kerola
2013-02-13 16:35 ` Luis Aranguren [this message]
2013-02-14 14:40 ` Karel Zak
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=BLU0-SMTP28536229842C754116023F5D5080@phx.gbl \
--to=pizzaman@hotmail.com \
--cc=kerolasa@iki.fi \
--cc=util-linux@vger.kernel.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