[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] Revert "x86/msr: drop compatibility #GP handling in guest_{rd,wr}msr()"
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Fri, 19 Mar 2021 14:03:25 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5l3qePY/1n+xM1joQFLQ/DuqU4YPkqsTmKVM66m0n10=; b=Waxer8AlOodXxYz2OnIeoSV/xYCBiPxK7raaY3K3Sqo8H+2Fv4BFlqGQTbLe/hSYNBRsDXzDzSBZTncSIf9OgjO0a6IbsRj4UE6YMh89ACjfI4kkWJmIDezBH47GmCKNMpO4MjcEkW4fFth0GFHFWOPKuTTHtB0H4zg7q8+/hWK+dB6PHFW3cYRJXPEKVZdUavYrn9aU62gJIMa1Npg0b7CRNmtGfWzehkVvacv/JTprcQDGgsb9M7KmQQUyNteLYMJtIMJY9J1m0sAPGZHT95Es7uWAtZQ3WySmysxYK+Y3VAKrIQqyD4uvvbm2h1tE2OIDr55GciyrMOmmg8NU5A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OXgSaU5wWI+E93adkL1xRPRWCO29oedjf7Te2lQZjQ0tDuEU3Ih4wlArs5HpTFk5SwL62kK1zwWaoO0NLuT8KWOFYpcmiTNuhsZyitLWs36JITFxDFm7rV9y900cZiBuxecY8lROBsgVW3bo86zFrm4963phEC/r3uo/zaIjN30WcjwZSvTBuaLzjYN+0ybMeS90YDmM/42w67l5IkCsMYq4xfbKHylId3zxtKZZqAItOANeqNhAl17a8D7yIKghONAlAZNsIh5velJOEUvcLgJYi+jrqLgQljqAXgzEJwYJhIJ8UNDRDyryiVoarmjh6PtSw20TwXLwTrqLFiw0Jw==
- Authentication-results: esa1.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Fri, 19 Mar 2021 14:03:38 +0000
- Ironport-hdrordr: A9a23:NKf6LapUtefhjFedqEApd5MaV5v5L9V00zAX/kB9WHVpW+SFis Gjm+ka3xfoiDAXHEotg8yEJbPoex7h3LR+iLNwAZ6JWg76tGy0aLxz9IeK+UyFJwTS1M54kZ 1hfa93FcHqATFB5/rSzQGkH78br+Wv37uvgY7loUtFaSFPR+Ve4xxiCgCde3cGITVuIZYiDp KT6o5milObCBcqR/+2DHUEQOTPzuej/P7bSCULGgI97022hS6ogYSQLzGjwhwcXzlTqI1Sk1 TtrgqR3MSemsD+8DDw/Sv575NamNzuo+EzefCku4wuBRjHziqtbIRlcbWesD4yu/HH0idXrP D85y0OEu42x3TNfnykgRaF4Xie7B8er0XM5HXdoXz/rdf3TDg3YvAx+75xQ1/ixGcL+PRfuZ g7uF6xht5sIj7r2BnZ3ZzuUSpnk0KlyEBS6tI7vjhkfqY1LINKoZd3xjIyLL4wWBjUxaoAC+ dUAMTV9J9tACmnRkGchGVpzdC2N05DZyuucwwHssyR5TBcgGp0+Use3NAehXcN7vsGOuF529 g=
- Ironport-sdr: /5cvwnNQZWF2Tgi498BfZvYdIu8CAWwk0NeWL2QX946Wdiv8tkpW9dJvhgGEFNkiw6nG5kMZWu zxaWu/nSk3BSGtFnsQroQ/TTFQPRa8p7Nrl8rhVQRgX1a91751ZdM4oa3UHSYco5rM2zLp4dnU Jbr8A4kSIX16G9WXO0xy3NgB7PwUttfS6Q8sZ6XNtQb/clanI6xm0DmX/JLEv0I2wwTikOIwzK NJLsazWHy/GrRuZMpaiMVmVO2qBYKK+G3l8hqNxtmhTMLM2qL8a41FzlPEFmz7KSPEvjmQ8mh4 1no=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 19/03/2021 13:56, Jan Beulich wrote:
> On 19.03.2021 13:59, Andrew Cooper wrote:
>> On 16/03/2021 16:58, Jan Beulich wrote:
>>> On 16.03.2021 17:18, Andrew Cooper wrote:
>>>> In hindsight, this was a poor move. Some of these MSRs require probing
>>>> for,
>>>> causing unhelpful spew into xl dmesg, as well as spew from unit tests
>>>> explicitly checking behaviour.
>>> I can indeed see your point for MSRs that require probing. But what about
>>> the others (which, as it seems, is the majority)? And perhaps specifically
>>> what about the entire WRMSR side, which won't be related to probing? I'm
>>> not opposed to the change, but I'd like to understand the reasoning for
>>> every one of the MSRs, not just a subset.
>>>
>>> Of course such ever-growing lists of case labels aren't very nice - this
>>> going away was one of the things I particularly liked about the original
>>> change.
>> The logging in the default case is only useful when it is genuinely MSRs
>> we haven't considered.
>>
>> It is very useful at pointing bugs in guests, or bugs in Xen, but only
>> when the logging is not drowned out by things we know about.
> So would you mind adjusting the description accordingly? Right now, the
> way it's written, it reads (to my non-native interpretation) as entirely
> focusing on guests' probing needs. Even an adjustment as simple as
>
> "In hindsight, this was a poor move. Some of these MSRs require probing for,
> cause unhelpful spew into xl dmesg, or cause spew from unit tests
> explicitly checking behaviour."
>
> would already shift the focus imo.
Sure. I'll try to make this clearer.
~Andrew
|