Files
document-haness/docs/virtualization/final/assets/diagrams/qcow2-mapping-clusters/qcow2-mapping-clusters.mmd
T

15 lines
518 B
Plaintext

%% qcow2 L1·L2 매핑과 backing fallback
%% question: 게스트 오프셋은 qcow2 파일의 데이터 클러스터로 어떻게 매핑되고, L2 항목이 0일 때 왜 backing file이나 zero-fill로 갈리는가
flowchart LR
n0["Guest offset"]
n1["L1 table"]
n2["L2 entry"]
n3["현재 qcow2 data cluster"]
n4["base.qcow2"]
n5["zero-filled 64KB"]
n0 -->|"상위 비트"| n1
n1 -->|"L2 cluster"| n2
n2 -->|"mapped"| n3
n2 -->|"0 + backing"| n4
n2 -->|"0 + no backing"| n5