Files
document-haness/docs/virtualization/final/assets/diagrams/virtio-balloon-inflate-deflate/virtio-balloon-inflate-deflate.mmd
T

14 lines
685 B
Plaintext

%% balloon target 은 VM Boundary 를 건너 driver 에 닿고 확보한 page 는 같은 경계를 되건너 온다
%% question: Host 가 balloon target 을 바꾸면 그 요청은 어떤 순서로 어느 경계를 건너 Guest 안의 driver 까지 가고, 확보된 page 는 어떻게 Host 로 돌아오는가
sequenceDiagram
participant n0 as virtio-balloon Driver
participant n1 as virtqueue
participant n2 as QEMU virtio-balloon<br/>Device
participant n3 as Host Memory<br/>Management
n3->>n2: Balloon target 조정
n2->>n1: VM Boundary
n1->>n0: Balloon target
n0->>n1: Guest pages 확보
n1->>n2: VM Boundary
n2->>n3: 회수 가능 backing