summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2014-08-13 14:17:33 +0200
committerMichael Brown2014-08-13 14:17:33 +0200
commit3f39f9fcb34712bf46f45e184c1227e21e2b7efd (patch)
tree0f8b36e5dc78cc19f96e2da7374c1ee2dcea65ad /src
parent[readline] Ensure cursor is visible when prompting for input (diff)
downloadipxe-3f39f9fcb34712bf46f45e184c1227e21e2b7efd.tar.gz
ipxe-3f39f9fcb34712bf46f45e184c1227e21e2b7efd.tar.xz
ipxe-3f39f9fcb34712bf46f45e184c1227e21e2b7efd.zip
[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>
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/drivers/xen/hvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86/drivers/xen/hvm.c b/src/arch/x86/drivers/xen/hvm.c
index 28411cd8c..c2eafdadb 100644
--- a/src/arch/x86/drivers/xen/hvm.c
+++ b/src/arch/x86/drivers/xen/hvm.c
@@ -510,6 +510,7 @@ static void hvm_remove ( struct pci_device *pci ) {
/** PCI device IDs */
static struct pci_device_id hvm_ids[] = {
PCI_ROM ( 0x5853, 0x0001, "hvm", "hvm", 0 ),
+ PCI_ROM ( 0x5853, 0x0002, "hvm2", "hvm2", 0 ),
};
/** PCI driver */