工作点滴 - Oct.10th~11th

All things of these 2 days areboring.

1.Continue creating the windows guest driver development environment

I ran 2 Windows VMs with QEMU,make one as host and the other as guest.

Firstly,I must install WDK and Visual Studio on the host.

But disastrously,the speed of installation process is very very slow.It almost spend a whole day time,that is nearly 12 hours.I did not install MSDN because of I do not want to be suffered by the installation.

Then I try to use WinDbg to kernel debug by using the serial redirection of the QEMU.

a).setting up the host:

/usr/local/bin/qemu --enable-kvm -m 1024 -drive if=virtio,file=winxpsp3.img -serial tcp:127.0.0.1:4445,server,nowait
b).setting up the guest

/usr/local/bin/qemu --enable-kvm -m 1024 -drive if=virtio,file=winxp-guest.img
*Attention only for XP* Edit the boot.ini,duplicate the default boot option and added the line at the end of the copy:

/debug /debugport=COM1 /baudrate=115200
restart and choose the debug boot menu option to start the OS.

/usr/local/bin/qemu --enable-kvm -m 1024 -drive if=virtio,file=winxp-guest.img -serial tcp:127.0.0.1:4445
c).start the WinDbg in host

use kernel debug and use the COM1 label to connect the guest(the parameter must be coherent with the config above),it need search symbols for that.

And job forwarding...


2.no patch reviewed/tested/added in these 2 days


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值