xapi-project/xen-api — pull request #1968 by tmakatos (2014-10-03 12:01:46+00:00)
Title: CA-147820: don't run hotplug add if params is missing

This patch checks the return value of "xenstore-read" when it reads
"backend/vbd/domid/devid/params" while processing an "add" event. This
ensures that we won't write garbage to XenStore, which otherwise
confuses everyone.

Signed-off-by: Thanos Makatos