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

27 lines
609 B
Plaintext

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