[xen] Skip probing of any unsupported device types
authorMichael Brown <mcb30@ipxe.org>
Thu, 28 Dec 2017 12:09:27 +0000 (12:09 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 28 Dec 2017 12:09:27 +0000 (12:09 +0000)
commite4461f65d8e1aef44e9d437e4c5f7a89cb88f20b
tree737f8e6f4c4d1dedafeac6409095dfd18625c070
parentaeffcce44fdf3ebe704b98ef3da8a74d4ec8a521
[xen] Skip probing of any unsupported device types

Xen 4.4 includes the device "device/suspend/event-channel" which does
not have a "backend" key.  This currently causes the entire XenBus
device tree probe to fail.

Fix by skipping probe attempts for device types for which there is no
iPXE driver.

Debugged-by: Eytan Heidingsfeld <eytanh@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/xen/xenbus.c