Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return value for default case in hcall_vm_intr_monitor() is not right #8580

Open
yisun-git opened this issue Apr 17, 2024 · 0 comments
Open
Labels
status: new The issue status: new for creation

Comments

@yisun-git
Copy link
Contributor

In hcall_vm_intr_monitor(), the default case for intr_hdr->cmd is a wrong case. So, it should return error code back. But it returns success code 0 in current codes.

@yisun-git yisun-git added the status: new The issue status: new for creation label Apr 17, 2024
yisun-git added a commit to yisun-git/acrn-hypervisor that referenced this issue Apr 18, 2024
In hcall_vm_intr_monitor(), the default case for intr_hdr->cmd is a
wrong case. So, it should return error code back. But it returns success
code 0 in current codes.

Tracked-On: projectacrn#8580
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
yisun-git added a commit to yisun-git/acrn-hypervisor that referenced this issue Apr 18, 2024
In hcall_vm_intr_monitor(), the default case for intr_hdr->cmd is a
wrong case. So, it should return error code back. But it returns success
code 0 in current codes.

Tracked-On: projectacrn#8580
Reviewed-by: Fei Li <fei1.li@intel.com>
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
acrnsi-robot pushed a commit that referenced this issue Apr 23, 2024
In hcall_vm_intr_monitor(), the default case for intr_hdr->cmd is a
wrong case. So, it should return error code back. But it returns success
code 0 in current codes.

Tracked-On: #8580
Reviewed-by: Fei Li <fei1.li@intel.com>
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: new The issue status: new for creation
Projects
None yet
Development

No branches or pull requests

1 participant