Hi Marco, This happens because xend hangs at startup. Try applying patches from this pull request for nixpkgs (not merged into master for a month without a reason): https://github.com/NixOS/nixpkgs/pull/93 Pull request comments and changeset comments elaborate on the problem.
Best regards, Jan On Fri, 24 Aug 2012 11:06:29 +0200 Marco Maggesi <[email protected]> wrote: > Hi, > > I'm trying to setup a xen on nixos. I added the following lines to > configuration.nix: > > boot.kernelPackages = pkgs.linuxPackages_3_2_xen; > virtualisation.xen.enable = true; > virtualisation.xen.domain0MemorySize = 512; > > nixos-rebuild works without problems and I can see xend running: > > # ps -u root | grep xend > 2296 ? 00:00:00 .xend-wrapped > 2451 ? 00:00:00 .xend-wrapped > 2452 ? 00:00:00 .xend-wrapped > 2454 ? 00:00:48 .xend-wrapped > > However, xm do not work: > > # xm list > Error: Unable to connect to xend: No such file or directory. Is xend > running? > > Looking at the output of > # strace xm list > the problem seems to be related to the creation of the communication socket > (/var/run/xend/xmlrpc.sock) > > Can somebody already solved this? > > Thanks, > Marco > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
