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 OvmfPkg/XenPvBlkDxe: Add BlockFront client. 2014-10-29 06:51:58 +00:00
BlockIo.c OvmfPkg: fix conversion specifiers in DEBUG format strings 2015-07-28 18:33:23 +00:00
BlockIo.h OvmfPkg/XenPvBlkDxe: Add BlockIo. 2014-10-29 06:52:13 +00:00
ComponentName.c OvmfPkg/XenPvBlkDxe: Xen PV Block device, initial skeleton 2014-10-29 06:51:42 +00:00
ComponentName.h OvmfPkg/XenPvBlkDxe: Xen PV Block device, initial skeleton 2014-10-29 06:51:42 +00:00
DriverBinding.h OvmfPkg/XenPvBlkDxe: Xen PV Block device, initial skeleton 2014-10-29 06:51:42 +00:00
XenPvBlkDxe.c OvmfPkg/XenPvBlkDxe: Add BlockIo. 2014-10-29 06:52:13 +00:00
XenPvBlkDxe.h Ovmf/Xen: move Xen interface version to <xen.h> 2015-02-28 20:32:06 +00:00
XenPvBlkDxe.inf OvmfPkg/XenPvBlkDxe: Add BlockIo. 2014-10-29 06:52:13 +00:00