User Tools

Site Tools


syzkaller_with_ubuntu_host_and_freebsd_guest

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
syzkaller_with_ubuntu_host_and_freebsd_guest [2019/01/30 09:03] – [Enable KCOV support for FreeBSD] msvoelkersyzkaller_with_ubuntu_host_and_freebsd_guest [2019/01/30 09:10] (current) – [Run syzkaller] msvoelker
Line 30: Line 30:
  
 start vm without graphic and with network start vm without graphic and with network
-sudo qemu-system-x86_64 -hda freebsd.img -enable-kvm -m 2G -net user,hostfwd=tcp::10021-:22 -net nic -nographic+  sudo qemu-system-x86_64 -hda freebsd.img -enable-kvm -m 2G -net user,hostfwd=tcp::10021-:22 -net nic -nographic 
   * -net user let the vm uses a user mode network stack. Since hostfwd=tcp::10021-:22 is added, a connection to localhost:10021 (on host) is forwarded to the vm.   * -net user let the vm uses a user mode network stack. Since hostfwd=tcp::10021-:22 is added, a connection to localhost:10021 (on host) is forwarded to the vm.
 <code> <code>
Line 63: Line 64:
   ssh-keygen -f freebsd_id_rsa   ssh-keygen -f freebsd_id_rsa
  
-add public key on the host (from freebsd_id_rsa.pub) into /root/.ssh/authorized_keys in the vm+add public key of the host (freebsd_id_rsa.pub) into /root/.ssh/authorized_keys in the vm
  
 allow ssh as root in vm. In /etc/ssh/sshd_config set allow ssh as root in vm. In /etc/ssh/sshd_config set
Line 158: Line 159:
   sudo bin/syz-manager -config freebsd.cfg   sudo bin/syz-manager -config freebsd.cfg
      
 +For a status page, open http://localhost:56741 in a browser.
 ===== Links ===== ===== Links =====
  
syzkaller_with_ubuntu_host_and_freebsd_guest.1548838995.txt.gz · Last modified: by msvoelker