title: how to set up kernel debugger with visual studio on virtual machine
body: <p>i am now learning to debug kernel driver on virtual machine.</p>
  
  <p>I am using virutalbox and i set it up like this:</p>
  
  <p><a href="https://i.imgur.com/XLh8G7C.pnghttps://i.imgur.com/Gm3svvr.pnghttps://i.imgur.com/Ng1XawN.png" rel="nofollow noreferrer">https://i.imgur.com/XLh8G7C.pnghttps://i.imgur.com/Gm3svvr.pnghttps://i.imgur.com/Ng1XawN.png</a></p>
  
  <p>i also installed WDK test target set up:</p>
  
  <p><a href="https://i.imgur.com/Mz4LnAI.png" rel="nofollow noreferrer">https://i.imgur.com/Mz4LnAI.png</a></p>
  
  <p>then i set up the bcdedit commands on the VM and restart the vm:</p>
  
  <p><a href="https://i.imgur.com/qhF8flu.png" rel="nofollow noreferrer">https://i.imgur.com/qhF8flu.png</a></p>
  
  <p>i tried to configure my vm driver device on visual studio like this:</p>
  
  <p><a href="https://i.imgur.com/UEcpXXj.png" rel="nofollow noreferrer">https://i.imgur.com/UEcpXXj.png</a></p>
  
  <p>but the status was "unvailable".</p>
  
  <p>The "network hostname" i entered was the ipv4 of the virtualbox adapter found with ipconfig on my host pc.</p>
  
  <p><a href="https://i.imgur.com/bZ3rR13.png" rel="nofollow noreferrer">https://i.imgur.com/bZ3rR13.png</a></p>
  
  <p>in my view, i think the hostname/ip isnt the expected one so it caused the problem:<a href="https://i.imgur.com/XEIkZmx.png" rel="nofollow noreferrer">https://i.imgur.com/XEIkZmx.png</a></p>
  
  <p>Where should i get the hostname/ip address in order to make it connect?</p>
  
  <p>I am trying to connect virtual machine to my visual studio kernel debugger with the serial port method.
  My process is following a youtube video: <a href="https://www.youtube.com/watch?v=h6p-Kt-Cx9E" rel="nofollow noreferrer">https://www.youtube.com/watch?v=h6p-Kt-Cx9E</a></p>
  
  <p>i expect the driver test configuration status to be "available" instead of "inavailable".</p>