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>