[Nix-dev] using qemu virtual machine for testing software

Alexey Lebedeff binarin at gmail.com
Thu Aug 11 09:01:14 CEST 2016


Hi,

I'm not sure that it is the same problem, but have you tried setting

networking.firewall.checkReversePath = false;

as described in https://github.com/NixOS/nixpkgs/issues/10101 ?

Best,
Alexey


On Thu, Aug 11, 2016 at 1:14 AM, Tomasz Czyż <tomasz.czyz at gmail.com> wrote:

> Hi Tomas,
>
> yeah, I've been there :-)
> I have a problem with TCP connection not with starting the machine.
>
> Basically, if you use VirtualBox it giving you kind of local networking
> for free, same as docker default setup. I was wondering if it's possible to
> have the same with qemu without setting up the bridge, ips etc by my own,
> but after some digging I don't think it's possible.
>
> I end up with port forwarding from qemu to localhost by adding params to
> qemu in nix machine expression.
>
> 2016-08-10 10:33 GMT+01:00 Tomas Hlavaty <tomas.hlavaty at knowledgetools.de>
> :
>
>> Hi Tomasz,
>>
>> Tomasz Czyż <tomasz.czyz at gmail.com> writes:
>> > I made this working/building the vm, but I still don't know how to
>> > connect to it. Any idea?
>>
>> when you build the VM, it will create a symlink called something like
>> result.  Inside there is a program to launch the VM inside qemu.  You
>> can simply run that command and it will open a window with the qemu VM.
>>
>> Tomas
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
>
>
> --
> Tomasz Czyż
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160811/727a4881/attachment.html>


More information about the nix-dev mailing list