Bug 6084 - Optimize KVM error handling on VMGEXIT
Summary: Optimize KVM error handling on VMGEXIT
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: X86 (show other bugs) X86
Version: unspecified
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Guanjun
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-03 14:27 UTC by wojiaohanliyang
Modified: 2023-08-08 11:10 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wojiaohanliyang hygon_group 2023-08-03 14:27:45 UTC
Description of problem:

This bugzilla mainly addresses the following issues:
    a. When a CSV2 guest exits due to string IO, KVM will setup a scratch buffer, the errors caused by the setting process should be accurately reported to userspace.
    b. If a CSV2 guest requests terminate, KVM should also report it to userspace.
    c. VMGEXIT can be executed in the userspace of CSV2 guests, this unexpected VMGEXIT contains messy data in ghcb page which can lead to validation failure on the KVM side.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 小龙 admin 2023-08-08 11:10:24 UTC
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/2020