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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
James Harper
2008-Jul-07 10:48 UTC
[Xen-devel] RE: fix some bugs of WinPv driver WDM version
Applied. Thanks.> -----Original Message----- > From: Wayne Gong [mailto:wayne.gong@oracle.com] > Sent: Monday, 7 July 2008 16:27 > To: James Harper; Andy Grover; Yansu Li; xen-devel@lists.xensource.com > Cc: Kurt Hackel > Subject: fix some bugs of WinPv driver WDM version > > 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 to300.> 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_opis> not supported in AMD64 platform. > 4. [XenVbd] Store each block device mode (read only or writable?) andset> MODE_DSP_WRITE_PROTECT in ModeSense header parameter. This can protect > write operation to a read only block device. (*Note* : This approachwill> be ineffective to a NTFS volume in Win2k.) > > Best regards, > Wayne_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel