[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <875yorbbg8.fsf@redhat.com>
Date: Sun, 06 Mar 2022 11:51:51 +0100
From: Vitaly Kuznetsov <vkuznets@...hat.com>
To: "Michael Kelley (LINUX)" <mikelley@...rosoft.com>,
"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>
Cc: KY Srinivasan <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>, Dexuan Cui <decui@...rosoft.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] arm64: hyperv: make the format of 'Hyper-V: Host Build'
output match x86
"Michael Kelley (LINUX)" <mikelley@...rosoft.com> writes:
> From: Vitaly Kuznetsov <vkuznets@...hat.com> Sent: Friday, March 4, 2022 4:24 AM
>>
>> Currently, the following is observed on Hyper-V/ARM:
>>
>> Hyper-V: Host Build 10.0.22477.1061-1-0
>>
>> This differs from similar output on x86:
>>
>> Hyper-V Host Build:20348-10.0-1-0.1138
>>
>> and this is inconvenient. As x86 was the first to introduce the current
>> format and to not break existing tools parsing it, change the format on
>> ARM to match.
>
> Interesting. I had explicitly output this line differently on ARM64 so
> that the output is in the standard form of a Windows version number,
> which is what the Host Build value actually is. My intent is to fix the
> x86 side as well. I had not anticipated there being automated parsing
> of these strings.
>
> I had also put the colon in the place to be consistent with most
> other Hyper-V messages. I know: picky, picky. :-)
>
> What's the impact of changing the tools that parse it so that
> either version could be handled?
I wish we knew what tools are out there parsing this line :-) The issue
got reported by QA as 'inconsistency'.
As the format of this string was never promissed to be an ABI I think we
can go the other way around: change x86 to match ARM. Some scripts may
need fixing but IMO this is acceptable. Let's just promiss to not change
it in the future :-)
--
Vitaly
Powered by blists - more mailing lists