Hello james,

Since I don't have privilege to push WinPv driver code to Xen main upstream, I will send to a patch when push some change to our own repository every time.
In this patch, fix the following bugs:

1. [XenHide] If we destroy a running vm and reboot it, the boot up information may larger than 200 bytes. So change the buffer length to 300.
2. [XenHide] Hide a qeme scsi device.
3. [XenPci] From xen 3.1.3 on, each vm can get 32 grant table frames. In x86 platform, call an hypercall to query the max grant table frames. Set NR_GRANT_FRAMES to in AMD64 platform since HYPERVISOR_grant_table_op is not supported in AMD64 platform.
4. [XenVbd] Store each block device mode (read only or writable?) and set MODE_DSP_WRITE_PROTECT in ModeSense header parameter. This can protect write operation to a read only block device. (*Note* : This approach will be ineffective to a NTFS volume in Win2k.)

Best regards,
Wayne