7 ms·
Experimental KVM-based VMM, Written in Go
- yla92 12y agoOff topic. In README, it says "This is not an official Google product.". I've seen that line in some repos under github.com/google organizations. What does it really mean ?
- Xorlev 12y ago20% projects maybe? If nothing else, it's a nice perk.
- DannyBee 12y agoNo, evmar has it right. It means it is some random googler's code. It means Google has literally nothing to do with it, other than happening to own the code. (IE it's not an experimental product, it's not a product at all. It's just some guy releasing some code)
- evmar 12y ago(Edit: comment below from DannyBee is authoritative.) Google has two paths to open sourcing code: in one Google retains the copyright (but grants a permissive license like Apache), and in the other you retain the copyright but cannot work on it on Google time or Google hardware. (You can tell which category a given piece of software is under by looking at the license headers on the code; the linked software is the first category.) It's easier to release software under the first category, even if it's just some random hack you tinker with. (I frequently hack on stuff on my corporate-provided laptop.) But if you do so then the code has the word Google all over it even if it's not something the company intends to support. I don't know for certain the reasoning but I imagine the sentence you quote helps reduce confusion about who is sponsoring the project.
- DannyBee 12y ago"but I imagine the sentence you quote helps reduce confusion about who is sponsoring the project." Yes. I've updated the sentence a bit for future projects. But historically, what has happened, is that people make a lot of assumptions about code Google releases and what it means for X or Y. I've seen entire press stories about how Google has created some new product that does X or Y, when it's just some random googler's code. (This started even before it was in the google namespace on github, and it was just a random code.google.com project). It seems without some disclaimer, it is roughly impossible to get people to disassociate the two.
- _wmd 12y agoBecause it's not obvious without glancing at the code, this relies on 9P-over-virtio to implement the filesystem, which means its pretty much always going to be limited to running Linux images. This sounds like a nice and clean solution, but at least it forces the guest to do basically no useful caching of its file system, in order to remain coherent with the host fs. The remaining alternative is on-demand synthesis of a block image given a directory tree, which IIRC Qemu supports. As always, making a couple of syscalls isn't a huge amount of work, and this project punts on anything difficult (e.g. supporting traditional boot environment & emulated devices) needed for handling basically any other OS. It can't even boot a standard vmlinuz. Not sure what gap this is supposed to fill. If you're running a Linux host, and you want ultra-quick dev machine booted from your filesystem, User Mode Linux already exists and has way more support and flexibility. If you need support, performance, and code that's been security audited, you probably want Qemu/Xen/libvirt edit: just because it may not be clear to a lot of people.. Literally KVM setup is a handful of ioctl() system calls, almost everything non-device-emulation related is handled by Linux for you. So when you say you're implementing a KVM-based hypervisor that doesn't implement any device emulation, that is to say there's very little real work being done. It's easy to claim to be fast when your code does nothing. The only special sauce left is a fundamentally slow method for handling the root filesystem which is worth avoiding for the reasons I mentioned.
- peterwaller 12y agoIs it interesting if only because it's written in a "memory-safe"* language? * Terms and conditions apply.
- derefr 12y agoOne could write a Windows IFS driver for 9P if that had some benefit. As it is, there's a Windows IFS FUSE driver that has a 9P server written for it.
- _wmd 12y agoYou could, but you almost certainly don't want to.. Network filesystems that try to emulate regular filesystem semantics fundamentally suck, not least because you basically can't do any useful caching, and the caching that is done (because it must be done) can introduce very hard to detect bugs (e.g. coherence between a file and its in-memory mapping. If you want to execute a program from the filesystem you need such a mapping).
- blissland 12y agoBest bit from the README file: "novm was originally called pervirt, but this name was changed after it was suggested that this name could be misconstrued."
- krakensden 12y agoOn a related note, Google's compute service is supposed to be kvm+not qemu. Does anyone know anything about the latter?
- bcantrill 12y agoI've only heard rumors of its code name: Vanadium (but would love to get confirmation of that). Would be great to get this open source -- the world could use KVM + not-QEMU. Speaking for us in SmartOS, we didn't like where QEMU was headed, and we have essentially forked it for our KVM implementation -- we would love to explore Vanadium, if that's even what it's called.. ;)
- catern 12y agoWhat is wrong with where QEMU is headed?
- bstx 12y agoIncidentally, someone is working on Go bindings for the OS X Hypervisor (https://github.com/penberg/go-osxhv https://github.com/penberg/go-osxhv).
- amscanne 12y agoAuthor here. As noted at the top of the README (and by others here), this is not an official Google product. It's an experimental project, mostly to play with some ideas (and Go). I gave a talk at LinuxCon in August about novm. The slides may also be of interest, and are available here: http://events.linuxfoundation.org/sites/events/files/slides/novm%20-%20public.pdf http://events.linuxfoundation.org/sites/events/files/slides/...
- f2f 12y agoi can't figure out which one of the several Go9P implementations you started with. or is this something you rolled out yourself? any differences between this and others?
- netvarun 12y agoThank you very much for your Huptime project! It has now become an indispensable tool in my sysadmin arsenal.
- amscanne 12y agoDo you mean that you've just discovered it, or that you've actually been using it? I have no idea how used it is. If it's useful to you, I'll happily invest more time to address some niggling issues (flakey tests, etc.) and maintaining it.
- 12y ago
- SEJeff 12y agoSeems like a perfect thing to complement libcontainer of the docker project.
- netvarun 12y ago(Off topic) Do also checkout the author's Huptime project (https://github.com/amscanne/huptime https://github.com/amscanne/huptime) A really simple, language agnostic way to do downtimeless restarts for any process. It's been a lifesaver at my startup, especially when we are running many different (micro)services.
- tsmith 12y agoCan this be used to run Docker images?
- wmf 12y agoLooks like yes: https://github.com/google/novm/blob/master/scripts/novm-docker https://github.com/google/novm/blob/master/scripts/novm-dock...