Closed connorkuehl closed 4 years ago
Will address the conditional compilation stuff in the morning :sleeping:
Mostly just a few nits.
My biggest question is what is happening with
pin_pages()
. It seems to be attached to both theHandle
andLauncher
objects; but doesn't really use either of them. What's the plan here?
@npmccallum I'll remove its association with Launcher
; that is a consequence of my misunderstanding this morning with LaunchStart
.
I associated it with Handle
because that is the type of return value you get at the end of a successful launch and so I thought I could retain access to that to call pin_pages
when the KVM guest is attempting to balloon memory.
@connorkuehl It might just be best to move it out of the sev
crate altogether.
Latest push addresses Harald's feedback.
No other changes.
Closes https://github.com/enarx/enarx/issues/818