Parcourir la source

[xen] Accept alternative Xen platform PCI device ID 5853:0002

At some point during XenServer development history, the Windows PV
drivers changed to using a PCI device ID of 5853:0002 rather than
5853:0001.  Current (7.2.0) drivers will bind to either 5853:0001 or
5853:0002, and the general approach taken by the world at large
(including Amazon EC2) seems to be to use only 5853:0001.

However, the current version of XenServer (6.2.0) will create the
platform device as 5853:0002 (via the platform:device_id VM parameter)
for any VMs created using the built-in templates for Windows Vista or
later.

Accept either PCI ID, since the underlying device is identical.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown il y a 10 ans
Parent
révision
3f39f9fcb3
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      src/arch/x86/drivers/xen/hvm.c

+ 1
- 0
src/arch/x86/drivers/xen/hvm.c Voir le fichier

@@ -510,6 +510,7 @@ static void hvm_remove ( struct pci_device *pci ) {
510 510
 /** PCI device IDs */
511 511
 static struct pci_device_id hvm_ids[] = {
512 512
 	PCI_ROM ( 0x5853, 0x0001, "hvm", "hvm", 0 ),
513
+	PCI_ROM ( 0x5853, 0x0002, "hvm2", "hvm2", 0 ),
513 514
 };
514 515
 
515 516
 /** PCI driver */

Chargement…
Annuler
Enregistrer