-
Notifications
You must be signed in to change notification settings - Fork 506
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
Guest with OVMF S3 support #8624
Comments
haiwei-li
added a commit
to haiwei-li/acrn-hypervisor
that referenced
this issue
Jun 25, 2024
For ovmf-booted User VM, we should set CMOS shutdown status register (index 0xF) as S3_resume(0xFE). So ovmf will read it and start S3 resume at POST entry. And ovmf will read waking vector from FACS table and transfer control to guest. Tracked-on: projectacrn#8624 Signed-off-by: Haiwei Li <[email protected]>
haiwei-li
added a commit
to haiwei-li/acrn-hypervisor
that referenced
this issue
Jun 25, 2024
- OvmfPkg: resolve AcrnS3Lib - OvmfPkg: add AcrnS3Lib to support S3 - OvmfPkg: introduce AcrnS3Lib class - OVMF:ACRN:PCI: Try to load ROM image for the PCI device with PCI_ROM - OVMF:ACRN:PCI: Add LoadOpRomImageLight to Load the PCI Rom - OVMF:ACRN:PCI: Write back the original value of PCI ROM The first three above are related to S3. Tracked-On: projectacrn#8624 Signed-off-by: Haiwei Li <[email protected]>
haiwei-li
added a commit
to haiwei-li/acrn-hypervisor
that referenced
this issue
Jun 25, 2024
- OvmfPkg: resolve AcrnS3Lib - OvmfPkg: add AcrnS3Lib to support S3 - OvmfPkg: introduce AcrnS3Lib class - OVMF:ACRN:PCI: Try to load ROM image for the PCI device with PCI_ROM - OVMF:ACRN:PCI: Add LoadOpRomImageLight to Load the PCI Rom - OVMF:ACRN:PCI: Write back the original value of PCI ROM The first three above are related to S3. Tracked-On: projectacrn#8624 Signed-off-by: Haiwei Li <[email protected]>
haiwei-li
added a commit
to haiwei-li/acrn-hypervisor
that referenced
this issue
Jun 25, 2024
For ovmf-booted User VM, we should set CMOS shutdown status register (index 0xF) as S3_resume(0xFE). So ovmf will read it and start S3 resume at POST entry. And ovmf will read waking vector from FACS table and transfer control to guest. Tracked-On: projectacrn#8624 Signed-off-by: Haiwei Li <[email protected]>
haiwei-li
added a commit
to haiwei-li/acrn-hypervisor
that referenced
this issue
Jun 25, 2024
- OvmfPkg: resolve AcrnS3Lib - OvmfPkg: add AcrnS3Lib to support S3 - OvmfPkg: introduce AcrnS3Lib class - OVMF:ACRN:PCI: Try to load ROM image for the PCI device with PCI_ROM - OVMF:ACRN:PCI: Add LoadOpRomImageLight to Load the PCI Rom - OVMF:ACRN:PCI: Write back the original value of PCI ROM The first three above are related to S3. Tracked-On: projectacrn#8624 Signed-off-by: Haiwei Li <[email protected]>
haiwei-li
added a commit
to haiwei-li/acrn-hypervisor
that referenced
this issue
Jun 25, 2024
- OvmfPkg: resolve AcrnS3Lib - OvmfPkg: add AcrnS3Lib to support S3 - OvmfPkg: introduce AcrnS3Lib class - OVMF:ACRN:PCI: Try to load ROM image for the PCI device with PCI_ROM - OVMF:ACRN:PCI: Add LoadOpRomImageLight to Load the PCI Rom - OVMF:ACRN:PCI: Write back the original value of PCI ROM The first three above are related to S3. Tracked-On: projectacrn#8624 Signed-off-by: Haiwei Li <[email protected]>
haiwei-li
added a commit
to haiwei-li/acrn-hypervisor
that referenced
this issue
Jun 25, 2024
For ovmf-booted User VM, we should set CMOS shutdown status register (index 0xF) as S3_resume(0xFE). So ovmf will read it and start S3 resume at POST entry. And ovmf will read waking vector from FACS table and transfer control to guest. Tracked-On: projectacrn#8624 Signed-off-by: Haiwei Li <[email protected]>
acrnsi-robot
pushed a commit
that referenced
this issue
Jun 26, 2024
- OvmfPkg: resolve AcrnS3Lib - OvmfPkg: add AcrnS3Lib to support S3 - OvmfPkg: introduce AcrnS3Lib class - OVMF:ACRN:PCI: Try to load ROM image for the PCI device with PCI_ROM - OVMF:ACRN:PCI: Add LoadOpRomImageLight to Load the PCI Rom - OVMF:ACRN:PCI: Write back the original value of PCI ROM The first three above are related to S3. Tracked-On: #8624 Signed-off-by: Haiwei Li <[email protected]>
acrnsi-robot
pushed a commit
that referenced
this issue
Jun 26, 2024
For ovmf-booted User VM, we should set CMOS shutdown status register (index 0xF) as S3_resume(0xFE). So ovmf will read it and start S3 resume at POST entry. And ovmf will read waking vector from FACS table and transfer control to guest. Tracked-On: #8624 Signed-off-by: Haiwei Li <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[External_System_ID] ACRN-9963
The text was updated successfully, but these errors were encountered: