|
From: | Alexander Graf |
Subject: | Re: [Qemu-devel] [PATCH v3] xen_disk: cope with missing xenstore "params" node |
Date: | Thu, 30 Jun 2011 17:11:06 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 |
On 06/27/2011 05:10 PM, address@hidden wrote:
From: Stefano Stabellini<address@hidden> 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.
Thanks, applied to xen-next branch. Alex
[Prev in Thread] | Current Thread | [Next in Thread] |