x86/hvmloader: improve error handling for xenbus interactions
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 7 Jul 2015 12:39:40 +0000 (14:39 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 7 Jul 2015 12:39:40 +0000 (14:39 +0200)
commitd1370961810d3b1630e0ad5e28e5cfc8dcfe2b9b
treefea4fbba5833809edadd51282b41f41fa3529438
parentbbbe7e7157a964c485fb861765be291734676932
x86/hvmloader: improve error handling for xenbus interactions

Consume and ignore all XS_DEBUG packets, and pass the response type back to
the caller of xenbus_recv() so the caller can take appropriate action if an
unexpected reply was received.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/firmware/hvmloader/xenbus.c