search for: xenstore_read_be_str

Displaying 4 results from an estimated 4 matches for "xenstore_read_be_str".

2011 Jun 24
9
[PATCH] xen_disk: cope with missing xenstore "params" node
...init(struct XenDevice *xendev) { struct XenBlkDev *blkdev = container_of(xendev, struct XenBlkDev, xendev); int index, qflags, have_barriers, info = 0; - char *h; + char *h = NULL; /* read xenstore entries */ if (blkdev->params == NULL) { blkdev->params = xenstore_read_be_str(&blkdev->xendev, "params"); + if (blkdev->params != NULL) + h = strchr(blkdev->params, '':''); h = strchr(blkdev->params, '':''); if (h != NULL) { blkdev->fileproto = blkdev->params; @@...
2011 Jun 27
1
[PATCH v3] xen_disk: cope with missing xenstore "params" node
...(struct XenDevice *xendev) { struct XenBlkDev *blkdev = container_of(xendev, struct XenBlkDev, xendev); int index, qflags, have_barriers, info = 0; - char *h; /* read xenstore entries */ if (blkdev->params == NULL) { + char *h = NULL; blkdev->params = xenstore_read_be_str(&blkdev->xendev, "params"); - h = strchr(blkdev->params, '':''); + if (blkdev->params != NULL) { + h = strchr(blkdev->params, '':''); + } if (h != NULL) { blkdev->fileproto = blkdev-&g...
2011 Jun 24
2
[PATCH v2] xen_disk: cope with missing xenstore "params" node
...(struct XenDevice *xendev) { struct XenBlkDev *blkdev = container_of(xendev, struct XenBlkDev, xendev); int index, qflags, have_barriers, info = 0; - char *h; /* read xenstore entries */ if (blkdev->params == NULL) { + char *h = NULL; blkdev->params = xenstore_read_be_str(&blkdev->xendev, "params"); - h = strchr(blkdev->params, '':''); + if (blkdev->params != NULL) { + h = strchr(blkdev->params, '':''); + } if (h != NULL) { blkdev->fileproto = blkdev-&g...
2012 Apr 24
21
no console when using xl toolstack xen 4.1.2
Hello! I was asking for help on the Freenode channel, and I was pointed here. I have a situation where, using xl, I can create a functional PV domU, with or without pv-grub, but I cannot access the console. Firing up xend and using xm works without trouble. Since xend and company is being deprecated, I would like to transition to using the xl toolstack. The system is an Arch Linux system