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