tools/xen-cpuid: avoid producing bogus output
authorJan Beulich <jbeulich@suse.com>
Wed, 2 Oct 2019 11:38:02 +0000 (13:38 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 2 Oct 2019 11:38:02 +0000 (13:38 +0200)
commit2c9e748729b97795d1b0292e7f6422e3bc327ce0
treecbabd9ec17219a7e9fd821a91c5fd07d8ed38af7
parentc0d87ba91f448e3346a000e258963da8adbcc4fc
tools/xen-cpuid: avoid producing bogus output

I was (mistakenly, as - looking at the code - it's clearly not intended
to work) passing the tool "Raw" and "Host" as command line arguments.
Avoid printing just "Raw       " with not even a newline at the end in
such a case. Instead report what wasn't understood by the parsing logic.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wl@xen.org>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
tools/misc/xen-cpuid.c