audk/OvmfPkg/XenPvBlkDxe
Stefano Stabellini 0f34a05110 OvmfPkg: XenPvBlkDxe: handle empty cdrom drives
Empty cdroms are not going to connect, avoid waiting for the backend to
switch to state 4, which is never going to happen, and return
error instead from XenPvBlockFrontInitialization(). Detect an
empty cdrom by looking at the "params" node on xenstore, which is set to
"" or "aio:" for empty drives by libxl.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18651 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-21 12:44:12 +00:00
..
BlockFront.c OvmfPkg: XenPvBlkDxe: handle empty cdrom drives 2015-10-21 12:44:12 +00:00
BlockFront.h
BlockIo.c OvmfPkg: fix conversion specifiers in DEBUG format strings 2015-07-28 18:33:23 +00:00
BlockIo.h
ComponentName.c
ComponentName.h
DriverBinding.h
XenPvBlkDxe.c
XenPvBlkDxe.h
XenPvBlkDxe.inf