Re: [PATCH v3 00/21] Enable CET Virtualization

From: Yang, Weijiang
Date: Wed Jul 19 2023 - 21:59:05 EST



On 7/20/2023 4:26 AM, Sean Christopherson wrote:
On Wed, Jul 19, 2023, Sean Christopherson wrote:
On Mon, Jul 17, 2023, Weijiang Yang wrote:
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index e2c549f147a5..7d9cfb7e2fe8 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -11212,6 +11212,31 @@ static void kvm_put_guest_fpu(struct kvm_vcpu
*vcpu)
������� trace_kvm_fpu(0);
�}
Huh. After a bit of debugging, the mangling is due to mutt's default for send_charset
being

"us-ascii:iso-8859-1:utf-8"

and selecting iso-8859-1 instead of utf-8 as the encoding despite the original
mail being utf-8. In this case, mutt ran afoul of nbsp (u+00a0).

AFAICT, the solution is to essentially tell mutt to never try to use iso-8859-1
for sending mail

set send_charset="us-ascii:utf-8"

It made me feel a bit guilty as I thought it could be resulted from wrong settings of my email system :-)