[GSoC] Making vkernels checkpointable - week4

Pawel Dziepak <[email protected]>
Newsgroups gmane.os.dragonfly-bsd.kernel
Message-ID <CALS3df1oTzS9jufnwJnewGbJfMgSap1S5PF1xwgYy9RQg1AScQ@mail.gmail.com>
Hello,

This week I was working on restoring network interface after thawing a
vkernel from a checkpoint. What I have to do was to reopen appropriate
device file, bring it up then either set TAP address or tie it to a
bridge. In order to be able to do all this I had to store some
information originally discarded once network interfaces are set up.
Mainly TAP device fle name and either TAP address or bridge file name
were needed. Finally, vke_softc structure had to be updated with new
TAP device file descriptor and TAP device unit.

Paweł
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.