xl: check for restore file open failure in create_domain
authorMatthew Daley <mattjd@gmail.com>
Wed, 30 Oct 2013 07:51:56 +0000 (20:51 +1300)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 31 Oct 2013 21:55:52 +0000 (21:55 +0000)
commit77d8f863729f3b2d0eded2be5a230174ed4baff9
tree00fb57075ec4e64482c43512ccf87525d28e7b70
parent235f16a15dd2e3dc7f422e6505260e685fad7a3a
xl: check for restore file open failure in create_domain

...otherwise you get a less helpful error message.

Coverity-ID: 1055569
Signed-off-by: Matthew Daley <mattjd@gmail.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl_cmdimpl.c