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

HV hide device SRIOV capability in SOS by mistake #5085

Closed
taoyuhong opened this issue Jul 24, 2020 · 1 comment
Closed

HV hide device SRIOV capability in SOS by mistake #5085

taoyuhong opened this issue Jul 24, 2020 · 1 comment
Labels
status: new The issue status: new for creation

Comments

@taoyuhong
Copy link
Contributor

Only hide SRIVO of ptdev for non-SOS VMs, but there is a bug that SOS can't see SRIOV too

Scenario
Describe the scenario: Hybrid, Industry or logical_partition

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Attach the following logs if available:

  • native Linux boot kernel message log
  • ACRN serial port log (when issues happens)
  • Service VM kernel message when issue happens
  • acrn-dm log: all files in /var/log/acrn-tm
  • console log when running script to launch guest VM
@taoyuhong taoyuhong added the status: new The issue status: new for creation label Jul 24, 2020
@taoyuhong
Copy link
Contributor Author

[External_System_ID]ACRN-6568

taoyuhong pushed a commit to taoyuhong/acrn-hypervisor that referenced this issue Jul 24, 2020
When VM read pre-sriov header in ECAP of ptdev, only emulate the
reading if SRIOV is hidden.
Write to pre-sriov header is ignored so no need to fix writting.

Tracked-On: projectacrn#5085
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
taoyuhong pushed a commit to taoyuhong/acrn-hypervisor that referenced this issue Jul 24, 2020
When VM read pre-sriov header in ECAP of ptdev, only emulate the
reading if SRIOV is hidden.
Write to pre-sriov header is ignored so no need to fix writting.

Tracked-On: projectacrn#5085
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
wenlingz pushed a commit that referenced this issue Jul 27, 2020
When VM read pre-sriov header in ECAP of ptdev, only emulate the
reading if SRIOV is hidden.
Write to pre-sriov header is ignored so no need to fix writting.

Tracked-On: #5085
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
wenlingz pushed a commit that referenced this issue Jul 27, 2020
When VM read pre-sriov header in ECAP of ptdev, only emulate the
reading if SRIOV is hidden.
Write to pre-sriov header is ignored so no need to fix writting.

Tracked-On: #5085
Signed-off-by: Tao Yuhong <yuhong.tao@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

2 participants