Closed hamo closed 9 months ago
I'm generally good with this.
Unless I'm mistaken, I think there's a small problem with the self._myInstance member. I'm fine with either fixing it via my suggestion or if you have some other approach.
@amscanne novm list is fixed with last commit, I have tested with novm list and novm kernels which covers both old data structure and new one.
@amscanne I have rebased all commits and squash them into one commit. Please kindly review.
I think I finally get your idea. This commit removes self._myInstance and rebased to your last master commit.
This patchset first moves all one instance related file from .novm/instances/ to .novm/instances/$PID/, including meta file, the writable dir (rename from $PID to writable) and a new log file output from novmm named novmm.log.
Then it enables novmm to output its log to the file .novm/instances/$PID/novmm.log, this will really help debugging.
Now
novm list
function is broken since I changed the dir structure. Will push next commit to fix it.