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

attestation 지원을 위한 AMD SEV 코드 분석 #4

Closed
bokdeuk-jeong opened this issue Jul 6, 2022 · 1 comment
Closed

attestation 지원을 위한 AMD SEV 코드 분석 #4

bokdeuk-jeong opened this issue Jul 6, 2022 · 1 comment
Assignees

Comments

@bokdeuk-jeong
Copy link
Collaborator

KVM/Qemu내 AMD SEV용으로 attestation 지원을 위한 코드들 분석

@bokdeuk-jeong
Copy link
Collaborator Author

https://www.youtube.com/watch?v=B6mr-eh04ZQ 10분쯤에 KVM for regular VMs 에 보면 NS에서 실행되는 기존 VM 과 Realm world에서 실행될 VM의 차이점 설명합니다.

guest private memory용과 NS와 share할 메모리를 구분한다는 것과 이 2가지 용도들의 메모리 영역들이 하나의 memslot에서 표현 된다고 하는데요.
이 guest private memory 지원을 위해 qemu hva space에서 메모리를 할당받아 vm memory space에 매핑하지 않고, 별도의 memory-backed file을 만들어서 진행하려나 봅니다.
https://lwn.net/Articles/887500/
https://www.spinics.net/lists/linux-fsdevel/msg211507.html
https://www.spinics.net/lists/linux-fsdevel/msg212319.html
관련된 패치인데 머지되기전 주고 받은 의견들로 realm vm image 로딩에 관련된 부분도 엿볼 수 있습니다.

@bokdeuk-jeong bokdeuk-jeong changed the title AMD SEV attestation 지원을 위한 코드 분석 attestation 지원을 위한 AMD SEV 코드 분석 Jul 6, 2022
bitboom pushed a commit that referenced this issue Feb 22, 2023
The current putc version test for TXEMPTY bit set (#6) instead
of waiting for TXFULL bit clear (#4), that slows the global
boot time as we are not taking benefit of the 32-byte FIFO.

We then need to implement the flush function to be sure the
transmit is complete (FIFO and shift register empty).

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Change-Id: I54873a5203e2afdc230e44ce73284e7a80985b4f
bitboom pushed a commit that referenced this issue Mar 23, 2023
Remove unused include in cc_helpers.cc
bitboom pushed a commit that referenced this issue May 30, 2023
Merge pull request #3 from ARM-software/main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants