/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
We clone a running VM in 2 seconds (2022)
(codesandbox.io)
169 points
hunvreus
| 1 comments |
08 Apr 25 14:55 UTC
|
HN request time: 0.339s
|
source
Show context
simonklitj
◴[
11 Apr 25 14:05 UTC
]
No.
43653932
[source]
▶
>>43622514 (OP)
#
Interesting read—thanks! One question: in the CoW example, if VM A modifies the data post-fork, what does VM B see when it later copies that data? Does it get the original data from the time of the fork, or VM A’s modified version?
replies(1):
>>43655050
#
CompuIves
◴[
11 Apr 25 15:35 UTC
]
No.
43655050
[source]
▶
>>43653932
#
I talk a bit about this here:
https://codesandbox.io/blog/cloning-microvms-using-userfault...
. Before VM A updates its data, the data is copied over to VM B if VM B hadn't written/read that data yet.
replies(1):
>>43655267
#
1.
simonklitj
◴[
11 Apr 25 15:54 UTC
]
No.
43655267
[source]
▶
>>43655050
#
clever! Thank you.
ID:
GO
↑