好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

Windbg与KVM虚拟机双机调试(libvirt)

https://HdhCmsTestlinux-kvm.org/page/WindowsGuestDrivers/GuestDebugging

libvirt工具:根据已有的img镜像磁盘和XML配置文件,以virsh系列命令构建虚拟机

在XML配置文件中添加如下代码:

 <  domain  >  
  ......
    <  devices  >  
    ......
      <  serial   type  =‘tcp‘  > 
       <  source   mode  =‘connect‘   host  =‘物理机IP‘   service  =‘TCP通信端口‘   tls  =‘no‘  /> 
       <  protocol   type  =‘raw‘  /> 
       <  target   type  =‘isa-serial‘   port  =‘0‘  > 
         <  model   name  =‘isa-serial0‘  /> 
       </  target  > 
       <  alias   name  =‘serial0‘  /> 
     </  serial  > 
     <  console   type  =‘tcp‘  > 
       <  source   mode  =‘connect‘   host  =‘物理机IP‘   service  =‘TCP通信端口‘   tls  =‘no‘  /> 
       <  protocol   type  =‘raw‘  /> 
       <  target   type  =‘serial‘   port  =‘0‘  /> 
       <  alias   name  =‘serial0‘  /> 
     </  console  >  
    ......
    </  devices  > 
 </  domain  > 

在物理机安装TCP-Com工具,作为TCP的Server端,设置物理机IP、TCP通信端口。https://files.cnblogs测试数据/files/qinghuan190319/TCPCom900.rar

Windbg采用COM方式连接,注意:不要选pipe管道!!!

 

Windbg与KVM虚拟机双机调试(libvirt)

标签:dev   设置   文件   pipe管道   注意   inf   命令   拓扑   ons   

查看更多关于Windbg与KVM虚拟机双机调试(libvirt)的详细内容...

  阅读:25次

上一篇: 修改数据库中某字段的值

下一篇:sql注入