Re: [Nix-dev] [RFC] Declarative Virtual Machines

2017-04-25 Thread Leo Gaspard
On 04/23/2017 08:40 PM, Volth wrote: > I did not do benchmarks, just noticed that boot of /-on-tmpfs + > /nix/store on 9pfs is slower. The performance was not critical. > Anyway, thank you for msize suggestion, I will try it. > > There was more resentiment than a point :) > If I need to make somet

Re: [Nix-dev] [RFC] Declarative Virtual Machines

2017-04-23 Thread Volth
I did not do benchmarks, just noticed that boot of /-on-tmpfs + /nix/store on 9pfs is slower. The performance was not critical. Anyway, thank you for msize suggestion, I will try it. There was more resentiment than a point :) If I need to make something just a bit different from what an existing t

Re: [Nix-dev] [RFC] Declarative Virtual Machines

2017-04-23 Thread Leo Gaspard
OK, so, with Nadrieril we talked more about it, and here is what we came up with. The basic requirement is that the host be able to control the guest's boot. Otherwise, if the guest config is not synchronized with what the hosts expects, the guest may not be able to even boot properly if, say, the

Re: [Nix-dev] [RFC] Declarative Virtual Machines

2017-04-23 Thread Leo Gaspard
On 04/22/2017 11:07 PM, Volth wrote: > Hello. > > There are few objections against qemu with shared /nix/store: > > 1. It is fast to create but slow to run. Boot time with shared > /nix/store is about twice slow than with everything on qcow2. > > 2. 9P is unstable, every couple of months there i

Re: [Nix-dev] [RFC] Declarative Virtual Machines

2017-04-22 Thread Volth
Hello. There are few objections against qemu with shared /nix/store: 1. It is fast to create but slow to run. Boot time with shared /nix/store is about twice slow than with everything on qcow2. 2. 9P is unstable, every couple of months there is a new bug (real bugs, not CVEs: wrong data read, th

[Nix-dev] [RFC] Declarative Virtual Machines

2017-04-22 Thread Leo Gaspard
Hello world! Just wanting to bump [1] ; as I opened it two weeks ago and still don't have a single comment, despite trying to put the link on IRC twice. (and I don't really get whether these "thumbs up" mean "good to go") So here it is, feel free to say I'm advocating nonsense, I just don't reall