[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [win-pv-devel] Parameterization vendor prefix and PCI device id
Il 09/09/2015 10:54, Paul Durrant ha scritto: I thinked that was already default to xen project and that wasn't unable to install on device id different... But from this seems that the drivers can be installed manually also if emulated xen device in qemu have different id, is it right?Hi, My recent set of patches (one for each driver) to parameterize the device name vendor prefix and vendor PCI device id have a knock on effect on compatibility between drivers. This, however, is with good reason... There was a recent incident where Windows PV drivers were accidentally posted to Windows Update (not by Citrix) using binding names in use by Citrix XenServer. To avoid this sort of accident it seems prudent to parameterize the names and these patches do that. The default vendor prefix has been set to 'XP' (Xen Project) rather than 'XS' (XenServer). Citrix will continue to use the 'XS' prefix by setting it at build time, but for Xen Project development builds this means drivers built after these patches are applied will not be compatible with those before. The bindings for the XenServer vendor PCI device are also no longer hardcoded but this is unlikely to have an effect on most people unless they have been deliberately specifying this device in their VM config. I am also intending to back-port all the patches to the 8.1 branch and tag a new rc in the near future. I will mail out once the patches are there and the branches are tagged. With any luck I can also get rc builds posted to xenbits in the near future; that may require a little infrastructure tweaking though. Cheers, Paul Another strange think is default device id in xen, looking libxl_dm.c the default seems nothing: But from qemu patch: http://git.qemu.org/?p=qemu.git;a=commitdiff;h=539891a85d17bd8c23a2547e52e26993350d2c3a Is also nothing the default and in commit description tell that should always specified by toolstack. Xen should set xen project id by default but actually don't do it, is it right? From libxl_dm.c seems that can set correctly xen-pvdevice only for xenserver case. Should add -device xen-pvdevice,device-id=0x0001 on default based on http://xenbits.xen.org/docs/unstable-staging/misc/pci-device-reservations.txt or I'm wrong? Docs seems that write about also others possible id but actually u.hvm.vendor_device provide only none or xenserver.switch (b_info->u.hvm.vendor_device) { case LIBXL_VENDOR_DEVICE_XENSERVER: flexarray_append(dm_args, "-device"); flexarray_append(dm_args, "xen-pvdevice,device-id=0xc000"); break; default: break; } Added Stefano Stabellini on cc. Thanks for any reply and sorry for my bad english. _______________________________________________ win-pv-devel mailing list win-pv-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |