anchor.diff:            mappedGid = "@gid@";
             rootPath = "root-${name}";
           };
  -        name = "${name}-@uuid@";
  +        name = "${name}-@testid@";
           netdevs.eth0 = {
             mac = null;
  -          network = "net-@uuid@";
  -        };
  -        consoleFile = "@pwd@/out/logs/${name}.console";
  +          network = "net-@testid@";
  +        };
  +        consoleFile = "@pwd@/out/hosts/${name}/console.log";
           extraDevices = ''
             <serial type='file'>
  -            <source path='@pwd@/out/logs/${name}.journal'/>
  +            <source path='@pwd@/out/hosts/${name}/journal.log'/>
               <target port='1'/>
             </serial>
           '';
  +        fileShares.out = {
  +          guestPath = "/out";
  +          hostPath = "out/hosts/${name}";
  +          readOnly = false;
  +        };
         };
   
         nixos.modules = singleton {
  
positive.code:           serviceConfig = {
              WorkingDirectory = "/out";
              Type = "oneshot";
              ExecStart = "${pkgs.writeScriptBin "test-driver" ''
                #!${bash}/bin/bash
                "${cfg.test-driver.script}" > stdout.log 2> stderr.log && \
                  touch passed
                touch done
                sync -f .
                ${pkgs.systemd}/bin/systemctl poweroff --force
              ''}/bin/test-driver";
            };
          };
        }];
      };
  
      libvirt.test.out.result = pkgs.stdenv.mkDerivation {
        name = "libvirt-test-result";
  
        src = runCommand "test-src" {} ''
          mkdir $out
  
negative.code:       instances = mkOption {
          default = {};
          type = with types; attrsOf (submodule instanceOpts);
        };
  
        verification-script = mkOption {
          type = types.lines;
          description = ''
            A script that will be inlined in the build phase of the
            result builder. The environment variable <code>output</output>
            will point to the directory containing the build output.
            By default, the output is checked for the existence of a
            successful exit code file from the test script.
            You can also use this script to do post-processing of the
            test output, by writing to the <code>out</code> path like
            any Nix build.
          '';
          default = ''
            test -a hosts/test-driver/script.exit && \
            test "$(cat hosts/test-driver/script.exit)" = "0" || \
            exit 1
          '';
        };
  
        test-driver = {
  