diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-06-30 17:06:58 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-06-30 17:18:51 +0100 |
commit | 211529a7fe97521acdeaf1f785e48ea3ddd26517 (patch) | |
tree | 2f1cb9d465700d03b10846d2b88b98b8b1d9cfec /src/net | |
parent | a0f60d26f5780196f75f4b14444dfa8d020a5e00 (diff) | |
download | ipxe-211529a7fe97521acdeaf1f785e48ea3ddd26517.zip ipxe-211529a7fe97521acdeaf1f785e48ea3ddd26517.tar.gz ipxe-211529a7fe97521acdeaf1f785e48ea3ddd26517.tar.bz2 |
[xen] Wait for and clear XenStore event before receiving data
Older, out-of-tree Xen kernel modules (such as those provided with
SuSE Linux Enterprise Server 11) do not clear the leftover "event
pending" bit when opening an event channel. Consequently, no event is
ever delivered to indicate that there is information in the XenStore
ring buffer, and the system hangs shortly after loading the
xen-platform-pci kernel module.
Work around this problem by always waiting for the XenStore event
channel to be signalled, and clearing the event before processing the
received data.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
0 files changed, 0 insertions, 0 deletions