refactor: 문서 개선 중
This commit is contained in:
+9
-14
@@ -2,26 +2,21 @@
|
||||
|
||||
## Alternative text
|
||||
|
||||
호스트 안에 libvirtd·machine.slice·virbr0 와 qemu 프로세스 두 개가 있고, 각 프로세스가 게스트 하나씩을 담는 배치도.
|
||||
호스트 영역의 libvirtd가 qemu 프로세스 두 개를 만들고, 그 프로세스 집합이 virtio 경계를 넘어 Debian 게스트 커널 두 개를 제공하는 구조.
|
||||
|
||||
## Long description
|
||||
|
||||
위에서 아래로 읽는다. 호스트 test-server 경계 안에 libvirtd 가 있고 그 아래에 qemu-system-x86_64 프로세스가 게스트 수만큼 있다. 경계 밖 아래쪽에 게스트 kc-lab-1 과 kc-lab-2 가 각각 따로 있고, 게스트가 보는 디스크와 인터페이스는 자기를 담은 프로세스가 virtio 로 내준다. 프로세스에 적힌 RSS 와 게스트에 적힌 available 은 같은 메모리를 다른 껍질에서 읽은 값이다. machine.slice 와 virbr0 는 이 그림에 넣지 않았고 본문이 맡는다.
|
||||
호스트 test-server에서 libvirtd가 게스트마다 qemu-system-x86_64 프로세스를 하나씩 띄운다. kc-lab-1과 kc-lab-2는 호스트에서 qemu 프로세스 두 개로 보이며 RSS는 호스트 관점의 값이다. 각 프로세스는 virtio 디스크와 네트워크를 게스트에 제공하고, 게스트 안에서는 Debian 커널이 자기 메모리와 인터페이스를 본다.
|
||||
|
||||
## Elements and evidence
|
||||
|
||||
- **Boundary: 호스트 test-server** (system): libvirtd 와 게스트 프로세스가 함께 도는 호스트 경계. Evidence: L946–L948, L956–L956.
|
||||
- **Boundary: 게스트 kc-lab-1** (system): qemu 프로세스 하나가 담는 Debian 게스트. Evidence: L987–L990, L1039–L1039.
|
||||
- **Boundary: 게스트 kc-lab-2** (system): 나머지 qemu 프로세스가 담는 Debian 게스트. Evidence: L1033–L1033, L1040–L1040.
|
||||
- **libvirtd** (service): 게스트마다 qemu-system-x86_64 를 하나씩 띄우는 호스트 데몬. htop 트리 뷰에서 그 아래에 게스트 프로세스가 달린다. Evidence: L946–L948, L956–L956.
|
||||
- **qemu-system-x86_64** (service): kc-lab-1 게스트 전체가 들어 있는 호스트 프로세스. vCPU 는 이 프로세스의 스레드이고 RSS 는 게스트가 터치한 페이지만큼이다. Evidence: L946–L948, L987–L987, L1032–L1032.
|
||||
- **qemu-system-x86_64** (service): kc-lab-2 게스트 전체가 들어 있는 호스트 프로세스. A-4 의 virsh destroy 가 끊는 것이 이 프로세스다. Evidence: L946–L948, L967–L976, L1033–L1033.
|
||||
- **Debian 게스트 커널** (service): virtio 장치만 보는 게스트. free 가 읽는 값이 여기 있다. Evidence: L994–L998, L1039–L1039.
|
||||
- **Debian 게스트 커널** (service): 같은 방식으로 붙은 두 번째 게스트. Evidence: L994–L998, L1040–L1040.
|
||||
- **Boundary: 호스트 test-server** (system): libvirtd와 qemu-system-x86_64 프로세스가 도는 영역. Evidence: L3285–L3295.
|
||||
- **Boundary: 게스트 VM** (system): kc-lab-1과 kc-lab-2의 Debian 커널이 도는 영역. Evidence: L3326–L3337, L3378–L3379.
|
||||
- **libvirtd** (service): 게스트마다 qemu-system-x86_64 프로세스를 띄운다. Evidence: L3285–L3295.
|
||||
- **qemu 프로세스 2개** (service): 각 프로세스 하나가 게스트 하나를 담는다. Evidence: L3326–L3326, L3371–L3372.
|
||||
- **Debian 게스트 커널 2개** (service): 게스트는 qemu가 내준 virtio 장치와 자기 메모리만 본다. Evidence: L3333–L3337, L3378–L3379.
|
||||
|
||||
## Relationships
|
||||
|
||||
- **libvirtd → qemu-system-x86_64:** 프로세스 생성. Evidence: L946–L948, L956–L956.
|
||||
- **libvirtd → qemu-system-x86_64:** 프로세스 생성. Evidence: L946–L948, L956–L956.
|
||||
- **qemu-system-x86_64 → Debian 게스트 커널:** virtio 디스크 · virtio-net. Evidence: L987–L990, L994–L998.
|
||||
- **qemu-system-x86_64 → Debian 게스트 커널:** virtio 디스크 · virtio-net. Evidence: L987–L990, L994–L998.
|
||||
- **libvirtd → qemu 프로세스 2개:** 프로세스 생성. Evidence: L3285–L3295.
|
||||
- **qemu 프로세스 2개 → Debian 게스트 커널 2개:** virtio 장치. Evidence: L3326–L3337.
|
||||
|
||||
+5
-15
@@ -1,28 +1,18 @@
|
||||
# 게스트 두 대는 호스트에서 qemu 프로세스 두 개다
|
||||
# Question: 호스트에서 게스트는 무엇으로 존재하고, 게스트가 보는 장치는 누가 만들어 주는가
|
||||
direction: down
|
||||
direction: right
|
||||
g0: "호스트 test-server" {
|
||||
n0: "libvirtd" {
|
||||
shape: rectangle
|
||||
}
|
||||
n1: "qemu-system-x86_64" {
|
||||
shape: rectangle
|
||||
}
|
||||
n2: "qemu-system-x86_64" {
|
||||
n1: "qemu 프로세스 2개" {
|
||||
shape: rectangle
|
||||
}
|
||||
}
|
||||
g1: "게스트 kc-lab-1" {
|
||||
n3: "Debian 게스트 커널" {
|
||||
shape: rectangle
|
||||
}
|
||||
}
|
||||
g2: "게스트 kc-lab-2" {
|
||||
n4: "Debian 게스트 커널" {
|
||||
g1: "게스트 VM" {
|
||||
n2: "Debian 게스트 커널 2개" {
|
||||
shape: rectangle
|
||||
}
|
||||
}
|
||||
g0.n0 -> g0.n1: "프로세스 생성"
|
||||
g0.n0 -> g0.n2: "프로세스 생성"
|
||||
g0.n1 -> g1.n3: "virtio 디스크 · virtio-net"
|
||||
g0.n2 -> g2.n4: "virtio 디스크 · virtio-net"
|
||||
g0.n1 -> g1.n2: "virtio 장치"
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
digraph techviz {
|
||||
graph [rankdir=LR, splines=ortho, nodesep=0.55, ranksep=0.85];
|
||||
node [fontname=Helvetica, fontsize=11, margin="0.18,0.12", style="rounded,filled", fillcolor=white, color="#2d4357", penwidth=1.5];
|
||||
edge [fontname=Helvetica, fontsize=10, color="#364b5f", penwidth=1.4, arrowsize=0.75];
|
||||
subgraph cluster_0 {
|
||||
label="호스트 test-server";
|
||||
style="rounded,dashed";
|
||||
color="#66788a";
|
||||
n0 [label="libvirtd", shape=box, style="rounded,filled"];
|
||||
n1 [label="qemu 프로세스 2개", shape=box, style="rounded,filled"];
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
label="게스트 VM";
|
||||
style="rounded,dashed";
|
||||
color="#66788a";
|
||||
n2 [label="Debian 게스트 커널 2개", shape=box, style="rounded,filled"];
|
||||
}
|
||||
n0 -> n1 [label="프로세스 생성", style=solid];
|
||||
n1 -> n2 [label="virtio 장치", style=solid];
|
||||
}
|
||||
+14
-33
@@ -1,52 +1,33 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mxfile host="app.diagrams.net" modified="2026-07-23T00:00:00.000Z" agent="techviz-harness" version="24.7.17" type="device">
|
||||
<diagram id="guest-as-host-process" name="게스트 두 대는 호스트에서 qemu 프로세스 두 개다">
|
||||
<mxGraphModel dx="680" dy="642" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<mxGraphModel dx="860" dy="300" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="860" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
<mxCell id="g_host-zone" value="호스트 test-server" style="swimlane;html=1;rounded=1;startSize=30;horizontal=1;dashed=1;strokeWidth=1.5;fillColor=#f7f9fb;strokeColor=#66788a;fontStyle=1;fontSize=13;" vertex="1" parent="1">
|
||||
<mxGeometry x="75.0" y="35.0" width="440.0" height="361.0" as="geometry"/>
|
||||
<mxGeometry x="45.0" y="49.0" width="470.0" height="160.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="g_guest-1-zone" value="게스트 kc-lab-1" style="swimlane;html=1;rounded=1;startSize=30;horizontal=1;dashed=1;strokeWidth=1.5;fillColor=#f7f9fb;strokeColor=#66788a;fontStyle=1;fontSize=13;" vertex="1" parent="1">
|
||||
<mxGeometry x="40.0" y="420.0" width="255.0" height="177.0" as="geometry"/>
|
||||
<mxCell id="g_guest-zone" value="게스트 VM" style="swimlane;html=1;rounded=1;startSize=30;horizontal=1;dashed=1;strokeWidth=1.5;fillColor=#f7f9fb;strokeColor=#66788a;fontStyle=1;fontSize=13;" vertex="1" parent="1">
|
||||
<mxGeometry x="565.0" y="49.0" width="250.0" height="160.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="g_guest-2-zone" value="게스트 kc-lab-2" style="swimlane;html=1;rounded=1;startSize=30;horizontal=1;dashed=1;strokeWidth=1.5;fillColor=#f7f9fb;strokeColor=#66788a;fontStyle=1;fontSize=13;" vertex="1" parent="1">
|
||||
<mxGeometry x="295.0" y="420.0" width="255.0" height="177.0" as="geometry"/>
|
||||
<mxCell id="n_libvirtd" value="libvirtd<br/>qemu:///system" tooltip="게스트마다 qemu-system-x86_64 프로세스를 띄운다. | Evidence: L3285-L3295" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="75.0" y="95.0" width="190.0" height="71.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_libvirtd" value="libvirtd<br/>qemu:///system" tooltip="게스트마다 qemu-system-x86_64 를 하나씩 띄우는 호스트 데몬. htop 트리 뷰에서 그 아래에 게스트 프로세스가 달린다. | Evidence: L946-L948, L956-L956" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="220.0" y="81.0" width="150.0" height="71.0" as="geometry"/>
|
||||
<mxCell id="n_qemu-pairs" value="qemu 프로세스 2개<br/>kc-lab-1 · 3584MB · RSS 3765MB<br/>kc-lab-2 · 2560MB · RSS 2633~2670MB" tooltip="각 프로세스 하나가 게스트 하나를 담는다. | Evidence: L3326-L3326, L3371-L3372" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="295.0" y="95.0" width="190.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_qemu-kc-lab-1" value="qemu-system-x86_64<br/>kc-lab-1<br/>vCPU 2<br/>할당 3584MB<br/>RSS 3765MB" tooltip="kc-lab-1 게스트 전체가 들어 있는 호스트 프로세스. vCPU 는 이 프로세스의 스레드이고 RSS 는 게스트가 터치한 페이지만큼이다. | Evidence: L946-L948, L987-L987, L1032-L1032" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="105.0" y="248.0" width="160.0" height="122.0" as="geometry"/>
|
||||
<mxCell id="n_guest-kernels" value="Debian 게스트 커널 2개<br/>kc-lab-1 · 192.168.122.11 · available 1959MB<br/>kc-lab-2 · 192.168.122.12 · available 1899MB" tooltip="게스트는 qemu가 내준 virtio 장치와 자기 메모리만 본다. | Evidence: L3333-L3337, L3378-L3379" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;strokeColor=#2563eb;strokeWidth=2;" vertex="1" parent="1">
|
||||
<mxGeometry x="595.0" y="95.0" width="190.0" height="88.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_qemu-kc-lab-2" value="qemu-system-x86_64<br/>kc-lab-2<br/>할당 2560MB<br/>RSS 2633MB" tooltip="kc-lab-2 게스트 전체가 들어 있는 호스트 프로세스. A-4 의 virsh destroy 가 끊는 것이 이 프로세스다. | Evidence: L946-L948, L967-L976, L1033-L1033" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="325.0" y="256.5" width="160.0" height="105.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_guest-kernel-1" value="Debian 게스트 커널<br/>enp1s0 · 192.168.122.11<br/>총 3423MB<br/>available 1959MB" tooltip="virtio 장치만 보는 게스트. free 가 읽는 값이 여기 있다. | Evidence: L994-L998, L1039-L1039" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="70.0" y="466.0" width="195.0" height="105.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="n_guest-kernel-2" value="Debian 게스트 커널<br/>enp1s0 · 192.168.122.12<br/>총 2480MB<br/>available 1899MB" tooltip="같은 방식으로 붙은 두 번째 게스트. | Evidence: L994-L998, L1040-L1040" style="whiteSpace=wrap;html=1;rounded=1;strokeWidth=2;fontSize=14;fontStyle=1;fillColor=#ffffff;strokeColor=#2d4357;verticalAlign=middle;" vertex="1" parent="1">
|
||||
<mxGeometry x="325.0" y="466.0" width="195.0" height="105.0" as="geometry"/>
|
||||
</mxCell>
|
||||
<mxCell id="e_libvirtd-spawns-1" value="프로세스 생성" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_libvirtd" target="n_qemu-kc-lab-1">
|
||||
<mxCell id="e_spawn" value="프로세스 생성" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_libvirtd" target="n_qemu-pairs">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="235.5" y="172.0" as="offset"/>
|
||||
<mxPoint x="275.8" y="31.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_libvirtd-spawns-2" value="프로세스 생성" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_libvirtd" target="n_qemu-kc-lab-2">
|
||||
<mxCell id="e_virtio" value="virtio 장치" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_qemu-pairs" target="n_guest-kernels">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="354.5" y="176.2" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_qemu1-virtio" value="virtio 디스크 · virtio-net" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_qemu-kc-lab-1" target="n_guest-kernel-1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="176.2" y="390.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="e_qemu2-virtio" value="virtio 디스크 · virtio-net" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;strokeWidth=2;endArrow=block;endFill=1;" edge="1" parent="1" source="n_qemu-kc-lab-2" target="n_guest-kernel-2">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="413.8" y="385.8" as="offset"/>
|
||||
<mxPoint x="540.0" y="111.0" as="offset"/>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
</root>
|
||||
|
||||
+108
-505
@@ -6,10 +6,10 @@
|
||||
{
|
||||
"id": "group-host-zone",
|
||||
"type": "rectangle",
|
||||
"x": 75.0,
|
||||
"y": 35.0,
|
||||
"width": 440.0,
|
||||
"height": 361.0,
|
||||
"x": 45.0,
|
||||
"y": 49.0,
|
||||
"width": 470.0,
|
||||
"height": 160.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#f8f9fa",
|
||||
@@ -36,8 +36,8 @@
|
||||
{
|
||||
"id": "group-label-host-zone",
|
||||
"type": "text",
|
||||
"x": 91.0,
|
||||
"y": 41.0,
|
||||
"x": 61.0,
|
||||
"y": 55.0,
|
||||
"width": 135,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
@@ -73,12 +73,12 @@
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "group-guest-1-zone",
|
||||
"id": "group-guest-zone",
|
||||
"type": "rectangle",
|
||||
"x": 40.0,
|
||||
"y": 420.0,
|
||||
"width": 255.0,
|
||||
"height": 177.0,
|
||||
"x": 565.0,
|
||||
"y": 49.0,
|
||||
"width": 250.0,
|
||||
"height": 160.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#f8f9fa",
|
||||
@@ -93,9 +93,9 @@
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1946150759,
|
||||
"seed": 1641017314,
|
||||
"version": 1,
|
||||
"versionNonce": 1446291239,
|
||||
"versionNonce": 280619893,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
@@ -103,11 +103,11 @@
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "group-label-guest-1-zone",
|
||||
"id": "group-label-guest-zone",
|
||||
"type": "text",
|
||||
"x": 56.0,
|
||||
"y": 426.0,
|
||||
"width": 108,
|
||||
"x": 581.0,
|
||||
"y": 55.0,
|
||||
"width": 100,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
@@ -123,9 +123,9 @@
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 234158938,
|
||||
"seed": 1570538566,
|
||||
"version": 1,
|
||||
"versionNonce": 638600275,
|
||||
"versionNonce": 222114125,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
@@ -133,90 +133,21 @@
|
||||
"locked": false,
|
||||
"fontSize": 14,
|
||||
"fontFamily": 5,
|
||||
"text": "게스트 kc-lab-1",
|
||||
"text": "게스트 VM",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "게스트 kc-lab-1",
|
||||
"originalText": "게스트 VM",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "group-guest-2-zone",
|
||||
"type": "rectangle",
|
||||
"x": 295.0,
|
||||
"y": 420.0,
|
||||
"width": 255.0,
|
||||
"height": 177.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#f8f9fa",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "dashed",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 27742558,
|
||||
"version": 1,
|
||||
"versionNonce": 176708121,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "group-label-guest-2-zone",
|
||||
"type": "text",
|
||||
"x": 311.0,
|
||||
"y": 426.0,
|
||||
"width": 108,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 746153233,
|
||||
"version": 1,
|
||||
"versionNonce": 1519863769,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 14,
|
||||
"fontFamily": 5,
|
||||
"text": "게스트 kc-lab-2",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "게스트 kc-lab-2",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-libvirtd-spawns-1",
|
||||
"id": "edge-spawn",
|
||||
"type": "arrow",
|
||||
"x": 185.0,
|
||||
"y": 152.0,
|
||||
"width": 101.0,
|
||||
"height": 96.0,
|
||||
"x": 265.0,
|
||||
"y": 59.0,
|
||||
"width": 30.0,
|
||||
"height": 80.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
@@ -229,9 +160,9 @@
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 1250848425,
|
||||
"seed": 1533845624,
|
||||
"version": 1,
|
||||
"versionNonce": 1443824793,
|
||||
"versionNonce": 729480888,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
@@ -239,20 +170,28 @@
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
101.0,
|
||||
0.0,
|
||||
71.5
|
||||
],
|
||||
[
|
||||
30.0,
|
||||
71.5
|
||||
],
|
||||
[
|
||||
30.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
101.0,
|
||||
48.0
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
48.0
|
||||
80.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
96.0
|
||||
30.0,
|
||||
80.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
@@ -262,7 +201,7 @@
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-qemu-kc-lab-1",
|
||||
"elementId": "node-qemu-pairs",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
@@ -271,10 +210,10 @@
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-libvirtd-spawns-1",
|
||||
"id": "edge-label-spawn",
|
||||
"type": "text",
|
||||
"x": 190.5,
|
||||
"y": 160.0,
|
||||
"x": 230.75,
|
||||
"y": 19.0,
|
||||
"width": 90,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
@@ -291,9 +230,9 @@
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 124252151,
|
||||
"seed": 1671840902,
|
||||
"version": 1,
|
||||
"versionNonce": 186547372,
|
||||
"versionNonce": 1185644571,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
@@ -310,12 +249,12 @@
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-libvirtd-spawns-2",
|
||||
"id": "edge-virtio",
|
||||
"type": "arrow",
|
||||
"x": 304.0,
|
||||
"y": 152.0,
|
||||
"width": 101.0,
|
||||
"height": 104.5,
|
||||
"x": 485.0,
|
||||
"y": 139.0,
|
||||
"width": 110.0,
|
||||
"height": 0.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
@@ -328,9 +267,9 @@
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 463063329,
|
||||
"seed": 654519577,
|
||||
"version": 1,
|
||||
"versionNonce": 1576006883,
|
||||
"versionNonce": 406655251,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
@@ -342,26 +281,26 @@
|
||||
0.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
52.25
|
||||
55.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
101.0,
|
||||
52.25
|
||||
55.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
101.0,
|
||||
104.5
|
||||
110.0,
|
||||
0.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-libvirtd",
|
||||
"elementId": "node-qemu-pairs",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-qemu-kc-lab-2",
|
||||
"elementId": "node-guest-kernels",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
@@ -370,10 +309,10 @@
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-libvirtd-spawns-2",
|
||||
"id": "edge-label-virtio",
|
||||
"type": "text",
|
||||
"x": 309.5,
|
||||
"y": 164.25,
|
||||
"x": 495.0,
|
||||
"y": 99.0,
|
||||
"width": 90,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
@@ -390,9 +329,9 @@
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 774873599,
|
||||
"seed": 1863490676,
|
||||
"version": 1,
|
||||
"versionNonce": 45588994,
|
||||
"versionNonce": 1800877436,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
@@ -400,218 +339,20 @@
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "프로세스 생성",
|
||||
"text": "virtio 장치",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "프로세스 생성",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-qemu1-virtio",
|
||||
"type": "arrow",
|
||||
"x": 167.5,
|
||||
"y": 370.0,
|
||||
"width": 17.5,
|
||||
"height": 96.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 1054083273,
|
||||
"version": 1,
|
||||
"versionNonce": 1609768765,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
17.5,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
17.5,
|
||||
48.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
48.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
96.0
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-qemu-kc-lab-1",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-guest-kernel-1",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-qemu1-virtio",
|
||||
"type": "text",
|
||||
"x": 84.25,
|
||||
"y": 378.0,
|
||||
"width": 184,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1192631446,
|
||||
"version": 1,
|
||||
"versionNonce": 1279906491,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "virtio 디스크 · virtio-net",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "virtio 디스크 · virtio-net",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "edge-qemu2-virtio",
|
||||
"type": "arrow",
|
||||
"x": 405.0,
|
||||
"y": 361.5,
|
||||
"width": 17.5,
|
||||
"height": 104.5,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": null,
|
||||
"seed": 1173063830,
|
||||
"version": 1,
|
||||
"versionNonce": 1429081454,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"points": [
|
||||
[
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
[
|
||||
0.0,
|
||||
52.25
|
||||
],
|
||||
[
|
||||
17.5,
|
||||
52.25
|
||||
],
|
||||
[
|
||||
17.5,
|
||||
104.5
|
||||
]
|
||||
],
|
||||
"lastCommittedPoint": null,
|
||||
"startBinding": {
|
||||
"elementId": "node-qemu-kc-lab-2",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"endBinding": {
|
||||
"elementId": "node-guest-kernel-2",
|
||||
"focus": 0,
|
||||
"gap": 4
|
||||
},
|
||||
"startArrowhead": null,
|
||||
"endArrowhead": "arrow",
|
||||
"elbowed": true
|
||||
},
|
||||
{
|
||||
"id": "edge-label-qemu2-virtio",
|
||||
"type": "text",
|
||||
"x": 321.75,
|
||||
"y": 373.75,
|
||||
"width": 184,
|
||||
"height": 24,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 158399087,
|
||||
"version": 1,
|
||||
"versionNonce": 1245508410,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 13,
|
||||
"fontFamily": 5,
|
||||
"text": "virtio 디스크 · virtio-net",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "virtio 디스크 · virtio-net",
|
||||
"originalText": "virtio 장치",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-libvirtd",
|
||||
"type": "rectangle",
|
||||
"x": 220.0,
|
||||
"y": 81.0,
|
||||
"width": 150.0,
|
||||
"x": 75.0,
|
||||
"y": 95.0,
|
||||
"width": 190.0,
|
||||
"height": 71.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
@@ -639,9 +380,9 @@
|
||||
{
|
||||
"id": "node-label-libvirtd",
|
||||
"type": "text",
|
||||
"x": 230.0,
|
||||
"y": 91.0,
|
||||
"width": 130.0,
|
||||
"x": 85.0,
|
||||
"y": 105.0,
|
||||
"width": 170.0,
|
||||
"height": 51.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
@@ -676,12 +417,12 @@
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-qemu-kc-lab-1",
|
||||
"id": "node-qemu-pairs",
|
||||
"type": "rectangle",
|
||||
"x": 105.0,
|
||||
"y": 248.0,
|
||||
"width": 160.0,
|
||||
"height": 122.0,
|
||||
"x": 295.0,
|
||||
"y": 95.0,
|
||||
"width": 190.0,
|
||||
"height": 88.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
@@ -696,9 +437,9 @@
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 151836861,
|
||||
"seed": 1278485412,
|
||||
"version": 1,
|
||||
"versionNonce": 221047748,
|
||||
"versionNonce": 976483035,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
@@ -706,12 +447,12 @@
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-qemu-kc-lab-1",
|
||||
"id": "node-label-qemu-pairs",
|
||||
"type": "text",
|
||||
"x": 115.0,
|
||||
"y": 258.0,
|
||||
"width": 140.0,
|
||||
"height": 102.0,
|
||||
"x": 305.0,
|
||||
"y": 105.0,
|
||||
"width": 170.0,
|
||||
"height": 68.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
@@ -726,9 +467,9 @@
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 784659461,
|
||||
"seed": 820512860,
|
||||
"version": 1,
|
||||
"versionNonce": 283887783,
|
||||
"versionNonce": 446762678,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
@@ -736,21 +477,21 @@
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "qemu-system-x86_64\nkc-lab-1\nvCPU 2\n할당 3584MB\nRSS 3765MB",
|
||||
"text": "qemu 프로세스 2개\nkc-lab-1 · 3584MB · RSS 3765MB\nkc-lab-2 · 2560MB · RSS 2633~2670MB",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "qemu-system-x86_64\nkc-lab-1\nvCPU 2\n할당 3584MB\nRSS 3765MB",
|
||||
"originalText": "qemu 프로세스 2개\nkc-lab-1 · 3584MB · RSS 3765MB\nkc-lab-2 · 2560MB · RSS 2633~2670MB",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-qemu-kc-lab-2",
|
||||
"id": "node-guest-kernels",
|
||||
"type": "rectangle",
|
||||
"x": 325.0,
|
||||
"y": 256.5,
|
||||
"width": 160.0,
|
||||
"height": 105.0,
|
||||
"x": 595.0,
|
||||
"y": 95.0,
|
||||
"width": 190.0,
|
||||
"height": 88.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
@@ -765,9 +506,9 @@
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1539760600,
|
||||
"seed": 591167719,
|
||||
"version": 1,
|
||||
"versionNonce": 1076713752,
|
||||
"versionNonce": 1220567132,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
@@ -775,12 +516,12 @@
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-qemu-kc-lab-2",
|
||||
"id": "node-label-guest-kernels",
|
||||
"type": "text",
|
||||
"x": 335.0,
|
||||
"y": 266.5,
|
||||
"width": 140.0,
|
||||
"height": 85.0,
|
||||
"x": 605.0,
|
||||
"y": 105.0,
|
||||
"width": 170.0,
|
||||
"height": 68.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
@@ -795,9 +536,9 @@
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 416935857,
|
||||
"seed": 1008153722,
|
||||
"version": 1,
|
||||
"versionNonce": 124918568,
|
||||
"versionNonce": 302567310,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
@@ -805,149 +546,11 @@
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "qemu-system-x86_64\nkc-lab-2\n할당 2560MB\nRSS 2633MB",
|
||||
"text": "Debian 게스트 커널 2개\nkc-lab-1 · 192.168.122.11 · available 1959MB\nkc-lab-2 · 192.168.122.12 · available 1899MB",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "qemu-system-x86_64\nkc-lab-2\n할당 2560MB\nRSS 2633MB",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-guest-kernel-1",
|
||||
"type": "rectangle",
|
||||
"x": 70.0,
|
||||
"y": 466.0,
|
||||
"width": 195.0,
|
||||
"height": 105.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 324645886,
|
||||
"version": 1,
|
||||
"versionNonce": 234656840,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-guest-kernel-1",
|
||||
"type": "text",
|
||||
"x": 80.0,
|
||||
"y": 476.0,
|
||||
"width": 175.0,
|
||||
"height": 85.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 383931435,
|
||||
"version": 1,
|
||||
"versionNonce": 838146256,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "Debian 게스트 커널\nenp1s0 · 192.168.122.11\n총 3423MB\navailable 1959MB",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "Debian 게스트 커널\nenp1s0 · 192.168.122.11\n총 3423MB\navailable 1959MB",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
},
|
||||
{
|
||||
"id": "node-guest-kernel-2",
|
||||
"type": "rectangle",
|
||||
"x": 325.0,
|
||||
"y": 466.0,
|
||||
"width": 195.0,
|
||||
"height": 105.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "#ffffff",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 1,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 1474124435,
|
||||
"version": 1,
|
||||
"versionNonce": 1748268600,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false
|
||||
},
|
||||
{
|
||||
"id": "node-label-guest-kernel-2",
|
||||
"type": "text",
|
||||
"x": 335.0,
|
||||
"y": 476.0,
|
||||
"width": 175.0,
|
||||
"height": 85.0,
|
||||
"angle": 0,
|
||||
"strokeColor": "#1e1e1e",
|
||||
"backgroundColor": "transparent",
|
||||
"fillStyle": "solid",
|
||||
"strokeWidth": 1,
|
||||
"strokeStyle": "solid",
|
||||
"roughness": 0,
|
||||
"opacity": 100,
|
||||
"groupIds": [],
|
||||
"frameId": null,
|
||||
"index": null,
|
||||
"roundness": {
|
||||
"type": 3
|
||||
},
|
||||
"seed": 516515521,
|
||||
"version": 1,
|
||||
"versionNonce": 1402202909,
|
||||
"isDeleted": false,
|
||||
"boundElements": [],
|
||||
"updated": 0,
|
||||
"link": null,
|
||||
"locked": false,
|
||||
"fontSize": 15,
|
||||
"fontFamily": 5,
|
||||
"text": "Debian 게스트 커널\nenp1s0 · 192.168.122.12\n총 2480MB\navailable 1899MB",
|
||||
"textAlign": "center",
|
||||
"verticalAlign": "middle",
|
||||
"containerId": null,
|
||||
"originalText": "Debian 게스트 커널\nenp1s0 · 192.168.122.12\n총 2480MB\navailable 1899MB",
|
||||
"originalText": "Debian 게스트 커널 2개\nkc-lab-1 · 192.168.122.11 · available 1959MB\nkc-lab-2 · 192.168.122.12 · available 1899MB",
|
||||
"autoResize": true,
|
||||
"lineHeight": 1.25
|
||||
}
|
||||
|
||||
+7
-6
@@ -2,30 +2,31 @@
|
||||
"harness_version": "0.2.0",
|
||||
"spec_id": "guest-as-host-process",
|
||||
"spec_version": "1.1",
|
||||
"spec_sha256": "4095e88815b73ef3f87fca3e8a33d88f7d8534595d74f14f84986d71c63e2056",
|
||||
"spec_sha256": "45e3fab446e8e452ec08da3c56331c7f0b332401ff4c005c41c21ebe2a4ce293",
|
||||
"source_context": {
|
||||
"document": "docs/keycloak-session-store/final/document.md",
|
||||
"document_sha256": "0ae5674723f25dc85d5069529890f07be1a11b768b56901103fa3ea6ac3dcf55",
|
||||
"document_sha256": "28aef96a2bbb94fbb10ade26a71238fee62a5a4d9fa6e7749ae98cfd0a65e560",
|
||||
"anchor": {
|
||||
"kind": "heading",
|
||||
"value": "0층. 가상화 — 「바닥」 아래에 있는 것",
|
||||
"line": 935
|
||||
"line": 3274
|
||||
}
|
||||
},
|
||||
"outputs": [
|
||||
"guest-as-host-process.svg",
|
||||
"guest-as-host-process.drawio",
|
||||
"guest-as-host-process.mmd",
|
||||
"guest-as-host-process.d2",
|
||||
"guest-as-host-process.dot",
|
||||
"guest-as-host-process.drawio",
|
||||
"guest-as-host-process.excalidraw",
|
||||
"guest-as-host-process.alt.md"
|
||||
],
|
||||
"lint_issue_count": 0,
|
||||
"assumption_count": 0,
|
||||
"assumptions_allowed": false,
|
||||
"composition_profile": "component-flow",
|
||||
"composition_profile": "two-zone-pipeline",
|
||||
"reference_ids": [
|
||||
"payment-event-flow"
|
||||
"localization-pipeline"
|
||||
],
|
||||
"diagram_only": true
|
||||
}
|
||||
|
||||
+5
-11
@@ -1,18 +1,12 @@
|
||||
%% 게스트 두 대는 호스트에서 qemu 프로세스 두 개다
|
||||
%% question: 호스트에서 게스트는 무엇으로 존재하고, 게스트가 보는 장치는 누가 만들어 주는가
|
||||
flowchart TB
|
||||
flowchart LR
|
||||
subgraph g_host_zone["호스트 test-server"]
|
||||
n0["libvirtd"]
|
||||
n1["qemu-system-x86_64"]
|
||||
n2["qemu-system-x86_64"]
|
||||
n1["qemu 프로세스 2개"]
|
||||
end
|
||||
subgraph g_guest_1_zone["게스트 kc-lab-1"]
|
||||
n3["Debian 게스트 커널"]
|
||||
end
|
||||
subgraph g_guest_2_zone["게스트 kc-lab-2"]
|
||||
n4["Debian 게스트 커널"]
|
||||
subgraph g_guest_zone["게스트 VM"]
|
||||
n2["Debian 게스트 커널 2개"]
|
||||
end
|
||||
n0 -->|"프로세스 생성"| n1
|
||||
n0 -->|"프로세스 생성"| n2
|
||||
n1 -->|"virtio 디스크 · virtio-net"| n3
|
||||
n2 -->|"virtio 디스크 · virtio-net"| n4
|
||||
n1 -->|"virtio 장치"| n2
|
||||
|
||||
+32
-60
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="680" height="642" viewBox="0 0 680 642" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="860" height="300" viewBox="0 0 860 300" role="img" aria-labelledby="diagram-title diagram-description">
|
||||
<title id="diagram-title">게스트 두 대는 호스트에서 qemu 프로세스 두 개다</title>
|
||||
<desc id="diagram-description">위에서 아래로 읽는다. 호스트 test-server 경계 안에 libvirtd 가 있고 그 아래에 qemu-system-x86_64 프로세스가 게스트 수만큼 있다. 경계 밖 아래쪽에 게스트 kc-lab-1 과 kc-lab-2 가 각각 따로 있고, 게스트가 보는 디스크와 인터페이스는 자기를 담은 프로세스가 virtio 로 내준다. 프로세스에 적힌 RSS 와 게스트에 적힌 available 은 같은 메모리를 다른 껍질에서 읽은 값이다. machine.slice 와 virbr0 는 이 그림에 넣지 않았고 본문이 맡는다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"guest-as-host-process","profile":"component-flow"},"source_context":{"document":"docs/keycloak-session-store/final/document.md","document_sha256":"0ae5674723f25dc85d5069529890f07be1a11b768b56901103fa3ea6ac3dcf55","anchor":{"kind":"heading","value":"0층. 가상화 — 「바닥」 아래에 있는 것","line":935}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<desc id="diagram-description">호스트 test-server에서 libvirtd가 게스트마다 qemu-system-x86_64 프로세스를 하나씩 띄운다. kc-lab-1과 kc-lab-2는 호스트에서 qemu 프로세스 두 개로 보이며 RSS는 호스트 관점의 값이다. 각 프로세스는 virtio 디스크와 네트워크를 게스트에 제공하고, 게스트 안에서는 Debian 커널이 자기 메모리와 인터페이스를 본다.</desc>
|
||||
<metadata>{"techviz":{"spec_version":"1.1","id":"guest-as-host-process","profile":"two-zone-pipeline"},"source_context":{"document":"docs/keycloak-session-store/final/document.md","document_sha256":"28aef96a2bbb94fbb10ade26a71238fee62a5a4d9fa6e7749ae98cfd0a65e560","anchor":{"kind":"heading","value":"0층. 가상화 — 「바닥」 아래에 있는 것","line":3274}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
||||
<defs>
|
||||
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" />
|
||||
@@ -49,65 +49,37 @@
|
||||
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
||||
</style>
|
||||
</defs>
|
||||
<rect class="canvas" width="680" height="642" />
|
||||
<rect class="group-box" x="75.0" y="35.0" width="440.0" height="361.0" rx="8" />
|
||||
<rect class="group-label-bg" x="89.0" y="25.0" width="127.0" height="22" />
|
||||
<text class="group-label" x="99.0" y="40.0">호스트 test-server</text>
|
||||
<rect class="group-box" x="40.0" y="420.0" width="255.0" height="177.0" rx="8" />
|
||||
<rect class="group-label-bg" x="54.0" y="410.0" width="106.0" height="22" />
|
||||
<text class="group-label" x="64.0" y="425.0">게스트 kc-lab-1</text>
|
||||
<rect class="group-box" x="295.0" y="420.0" width="255.0" height="177.0" rx="8" />
|
||||
<rect class="group-label-bg" x="309.0" y="410.0" width="106.0" height="22" />
|
||||
<text class="group-label" x="319.0" y="425.0">게스트 kc-lab-2</text>
|
||||
<polyline class="edge kind-control style-solid emphasis-normal" points="286.0,152.0 286.0,200.0 185.0,200.0 185.0,248.0" data-evidence="946-948,956-956" />
|
||||
<rect class="edge-label-bg" x="203.1" y="158.0" width="64.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="235.5" y="173.0">프로세스 생성</text>
|
||||
<polyline class="edge kind-control style-solid emphasis-normal" points="304.0,152.0 304.0,204.2 405.0,204.2 405.0,256.5" data-evidence="946-948,956-956" />
|
||||
<rect class="edge-label-bg" x="322.1" y="162.2" width="64.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="354.5" y="177.2">프로세스 생성</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="185.0,370.0 185.0,418.0 167.5,418.0 167.5,466.0" data-evidence="987-990,994-998" />
|
||||
<rect class="edge-label-bg" x="90.2" y="376.0" width="172.1" height="22" rx="3" />
|
||||
<text class="edge-label" x="176.2" y="391.0">virtio 디스크 · virtio-net</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="405.0,361.5 405.0,413.8 422.5,413.8 422.5,466.0" data-evidence="987-990,994-998" />
|
||||
<rect class="edge-label-bg" x="327.7" y="371.8" width="172.1" height="22" rx="3" />
|
||||
<text class="edge-label" x="413.8" y="386.8">virtio 디스크 · virtio-net</text>
|
||||
<rect class="canvas" width="860" height="300" />
|
||||
<rect class="group-box" x="45.0" y="49.0" width="470.0" height="160.0" rx="8" />
|
||||
<rect class="group-label-bg" x="59.0" y="39.0" width="127.0" height="22" />
|
||||
<text class="group-label" x="69.0" y="54.0">호스트 test-server</text>
|
||||
<rect class="group-box" x="565.0" y="49.0" width="250.0" height="160.0" rx="8" />
|
||||
<rect class="group-label-bg" x="579.0" y="39.0" width="90.0" height="22" />
|
||||
<text class="group-label" x="589.0" y="54.0">게스트 VM</text>
|
||||
<polyline class="edge kind-control style-solid emphasis-normal" points="265.0,130.5 295.0,130.5 295.0,59.0 265.0,59.0 265.0,139.0 295.0,139.0" data-evidence="3285-3295" />
|
||||
<rect class="edge-label-bg" x="243.3" y="17.0" width="64.9" height="22" rx="3" />
|
||||
<text class="edge-label" x="275.8" y="32.0">프로세스 생성</text>
|
||||
<polyline class="edge kind-data style-solid emphasis-normal" points="485.0,139.0 540.0,139.0 540.0,139.0 595.0,139.0" data-evidence="3326-3337" />
|
||||
<rect class="edge-label-bg" x="500.9" y="97.0" width="78.3" height="22" rx="3" />
|
||||
<text class="edge-label" x="540.0" y="112.0">virtio 장치</text>
|
||||
<g id="node-libvirtd">
|
||||
<rect class="node-shape kind-service emphasis-normal role-source" data-evidence="946-948,956-956" x="220.0" y="81.0" width="150.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="295.0" y="108.0">libvirtd</text>
|
||||
<line class="node-detail-divider" x1="234.0" y1="129.0" x2="356.0" y2="129.0" />
|
||||
<text class="node-detail" x="236.0" y="146.0">qemu:///system</text>
|
||||
<rect class="node-shape kind-service emphasis-normal role-source" data-evidence="3285-3295" x="75.0" y="95.0" width="190.0" height="71.0" rx="7" />
|
||||
<text class="node-label" x="170.0" y="122.0">libvirtd</text>
|
||||
<line class="node-detail-divider" x1="89.0" y1="143.0" x2="251.0" y2="143.0" />
|
||||
<text class="node-detail" x="91.0" y="160.0">qemu:///system</text>
|
||||
</g>
|
||||
<g id="node-qemu-kc-lab-1">
|
||||
<rect class="node-shape kind-service emphasis-primary role-service" data-evidence="946-948,987-987,1032-1032" x="105.0" y="248.0" width="160.0" height="122.0" rx="7" />
|
||||
<text class="node-label" x="185.0" y="275.0">qemu-system-x86_64</text>
|
||||
<line class="node-detail-divider" x1="119.0" y1="296.0" x2="251.0" y2="296.0" />
|
||||
<text class="node-detail" x="121.0" y="313.0">kc-lab-1</text>
|
||||
<text class="node-detail" x="121.0" y="329.0">vCPU 2</text>
|
||||
<text class="node-detail" x="121.0" y="345.0">할당 3584MB</text>
|
||||
<text class="node-detail" x="121.0" y="361.0">RSS 3765MB</text>
|
||||
<g id="node-qemu-pairs">
|
||||
<rect class="node-shape kind-service emphasis-primary role-service" data-evidence="3326-3326,3371-3372" x="295.0" y="95.0" width="190.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="390.0" y="122.0">qemu 프로세스 2개</text>
|
||||
<line class="node-detail-divider" x1="309.0" y1="143.0" x2="471.0" y2="143.0" />
|
||||
<text class="node-detail" x="311.0" y="160.0">kc-lab-1 · 3584MB · RSS 3765MB</text>
|
||||
<text class="node-detail" x="311.0" y="176.0">kc-lab-2 · 2560MB · RSS 2633~2670MB</text>
|
||||
</g>
|
||||
<g id="node-qemu-kc-lab-2">
|
||||
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="946-948,967-976,1033-1033" x="325.0" y="256.5" width="160.0" height="105.0" rx="7" />
|
||||
<text class="node-label" x="405.0" y="283.5">qemu-system-x86_64</text>
|
||||
<line class="node-detail-divider" x1="339.0" y1="304.5" x2="471.0" y2="304.5" />
|
||||
<text class="node-detail" x="341.0" y="321.5">kc-lab-2</text>
|
||||
<text class="node-detail" x="341.0" y="337.5">할당 2560MB</text>
|
||||
<text class="node-detail" x="341.0" y="353.5">RSS 2633MB</text>
|
||||
</g>
|
||||
<g id="node-guest-kernel-1">
|
||||
<rect class="node-shape kind-service emphasis-normal role-sink" data-evidence="994-998,1039-1039" x="70.0" y="466.0" width="195.0" height="105.0" rx="7" />
|
||||
<text class="node-label" x="167.5" y="493.0">Debian 게스트 커널</text>
|
||||
<line class="node-detail-divider" x1="84.0" y1="514.0" x2="251.0" y2="514.0" />
|
||||
<text class="node-detail" x="86.0" y="531.0">enp1s0 · 192.168.122.11</text>
|
||||
<text class="node-detail" x="86.0" y="547.0">총 3423MB</text>
|
||||
<text class="node-detail" x="86.0" y="563.0">available 1959MB</text>
|
||||
</g>
|
||||
<g id="node-guest-kernel-2">
|
||||
<rect class="node-shape kind-service emphasis-normal role-sink" data-evidence="994-998,1040-1040" x="325.0" y="466.0" width="195.0" height="105.0" rx="7" />
|
||||
<text class="node-label" x="422.5" y="493.0">Debian 게스트 커널</text>
|
||||
<line class="node-detail-divider" x1="339.0" y1="514.0" x2="506.0" y2="514.0" />
|
||||
<text class="node-detail" x="341.0" y="531.0">enp1s0 · 192.168.122.12</text>
|
||||
<text class="node-detail" x="341.0" y="547.0">총 2480MB</text>
|
||||
<text class="node-detail" x="341.0" y="563.0">available 1899MB</text>
|
||||
<g id="node-guest-kernels">
|
||||
<rect class="node-shape kind-service emphasis-primary role-target" data-evidence="3333-3337,3378-3379" x="595.0" y="95.0" width="190.0" height="88.0" rx="7" />
|
||||
<text class="node-label" x="690.0" y="122.0">Debian 게스트 커널 2개</text>
|
||||
<line class="node-detail-divider" x1="609.0" y1="143.0" x2="771.0" y2="143.0" />
|
||||
<text class="node-detail" x="611.0" y="160.0">kc-lab-1 · 192.168.122.11 · available 1959MB</text>
|
||||
<text class="node-detail" x="611.0" y="176.0">kc-lab-2 · 192.168.122.12 · available 1899MB</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 7.0 KiB |
Reference in New Issue
Block a user