aboutsummaryrefslogtreecommitdiff
path: root/cpu-common.h
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2011-06-27 16:10:01 +0100
committerAlexander Graf <agraf@suse.de>2011-07-17 01:54:25 +0200
commit5ea3c2b405e1a0937e8ccfdb57345628eb904525 (patch)
tree65639e125f3949cb7e058b99ed0edab306fa3323 /cpu-common.h
parent37cdfcf194825d03334542297bee3a3a4723e6e3 (diff)
xen_disk: cope with missing xenstore "params" node
When disk is a cdrom and the drive is empty the "params" node in xenstore might be missing completely: cope with it instead of segfaulting. Updated in v2: - actually removed the strchr(blkdev->params, ':') that caused the segfault; - free all the allocated strings from xenstore before returning; Updated in v3: - set blkdev fields to NULL after free'ing them. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'cpu-common.h')
0 files changed, 0 insertions, 0 deletions