Hacker News new | ask | show | jobs
by pmooney 22 days ago
> Now no one even cares how something is implemented ...

> The "good" ones today are looking exclusively at external properties rather than internal ones.

To provide a little additional context here: This effectively was an external property of the system (just to the userspace VMM). One of the significant challenges for those implementing a feature live migration is how you'll deal with multiple version of the software (older and newer) interacting in the future. A primary use case for live migration is moving workloads around to permit software updates, making that multiple version issue even "worse".

Abstracting the implementation details of those in-kernel emulated devices was helpful in two ways. Firstly, it reduced (hopefully) the chances that a later change to the internal implementation would be visible in the exported/imported state. Secondly, that the act itself of doing that state abstraction required a much more intentional and thorough examination of the emulation logic itself, resulting in a cleaner and simpler artifact.

So while it may seem like it was driven by a desire to take pride in the craft (undeniably _a_ factor), the main motivation was avoiding a versioning mess in the future.

> Thank you for the comment.

My pleasure!

1 comments

By your storing of a more abstract representation of the emulated device state, could you potentially live migrate to tape or object storage?