anchor.diff:      diskImage=$diskImage
       TMPDIR=$TMPDIR
       cd $TMPDIR
  -    ${socat}/bin/socat unix-listen:./samba system:'while true; do ${samba}/sbin/smbd -s $TMPDIR/smb.conf; done' > /dev/null 2>&1 &
  -    while [ ! -e ./samba ]; do sleep 0.1; done # ugly
  +    ${startSamba}
       ${qemuCommand}
       EOF
   
  
positive.code: 
  
    qemuCommandGeneric = ''
      qemu-system-x86_64 \
        -nographic -no-reboot \
        -smb $(pwd) -hda $diskImage \
        $QEMU_OPTS
  
negative.code: 
  
    qemuCommandLinux = ''
      ${kvm}/bin/qemu-system-x86_64 \
        -nographic -no-reboot \
        -net nic,model=virtio \
        -chardev socket,id=samba,path=./samba \
        -net user,guestfwd=tcp:10.0.2.4:139-chardev:samba \
        -drive file=$diskImage,if=virtio,boot=on,cache=writeback,werror=report \
        -kernel ${kernel}/bzImage \
        -initrd ${initrd}/initrd \
  