Re: [Xen-devel] [edk2] [PATCH v2] OvmfPkg: XenPvBlkDxe: handle empty cdrom drives

2015-10-21 Thread Stefano Stabellini
On Wed, 21 Oct 2015, Fabio Fantoni wrote: > Il 21/10/2015 14:45, Laszlo Ersek ha scritto: > > On 10/21/15 13:39, Stefano Stabellini wrote: > > > 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 in

Re: [Xen-devel] [edk2] [PATCH v2] OvmfPkg: XenPvBlkDxe: handle empty cdrom drives

2015-10-21 Thread Fabio Fantoni
Il 21/10/2015 14:45, Laszlo Ersek ha scritto: On 10/21/15 13:39, Stefano Stabellini wrote: 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 cdr

Re: [Xen-devel] [edk2] [PATCH v2] OvmfPkg: XenPvBlkDxe: handle empty cdrom drives

2015-10-21 Thread Laszlo Ersek
On 10/21/15 13:39, Stefano Stabellini wrote: > 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 xen