Re: [Qemu-devel] [PATCH v3] xen_disk: cope with missing xenstore "params" node

2011-06-30 Thread Alexander Graf
On 06/27/2011 05:10 PM, stefano.stabell...@eu.citrix.com wrote: From: Stefano Stabellini 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, ':'

[Qemu-devel] [PATCH v3] xen_disk: cope with missing xenstore "params" node

2011-06-27 Thread stefano.stabellini
From: Stefano Stabellini 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 fro