Displaying 5 results from an estimated 5 matches for "fileproto".
Did you mean:
filepro
2011 Jun 24
9
[PATCH] xen_disk: cope with missing xenstore "params" node
...->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;
@@ -672,11 +674,15 @@ static int blk_init(struct XenDevice *xendev)
/* setup via xenbus -> create new block driver instance */
xen_be_printf(&blkdev->xendev, 2, "create new bdrv (xenbus setup)\n");
blkdev->bs = bdrv_new(blkdev-&...
2011 Jun 27
1
[PATCH v3] xen_disk: cope with missing xenstore "params" node
...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->params;
blkdev->filename = h+1;
@@ -649,7 +651,7 @@ static int blk_init(struct XenDevice *xendev)
blkdev->mode == NULL ||
blkdev->type == NULL ||
blkdev->dev == NULL) {
- return -1;
+ goto out_error;
}
/...
2011 Jun 24
2
[PATCH v2] xen_disk: cope with missing xenstore "params" node
...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->params;
blkdev->filename = h+1;
@@ -649,7 +651,7 @@ static int blk_init(struct XenDevice *xendev)
blkdev->mode == NULL ||
blkdev->type == NULL ||
blkdev->dev == NULL) {
- return -1;
+ goto out_error;
}
/...
2013 Apr 05
0
[PATCHv2 1/2] Xen PV backend (for qemu-upstream-4.2-testing): Move call to bdrv_new from blk_init to blk_connect
...>file_size = bdrv_getlength(blkdev->bs);
if (blkdev->file_size < 0) {
xen_be_printf(&blkdev->xendev, 1, "bdrv_getlength: %d (%s) | drv %s\n",
@@ -652,31 +682,10 @@ static int blk_init(struct XenDevice *xendev)
blkdev->type, blkdev->fileproto, blkdev->filename,
blkdev->file_size, blkdev->file_size >> 20);
- /* fill info */
- xenstore_write_be_int(&blkdev->xendev, "feature-barrier", 1);
- xenstore_write_be_int(&blkdev->xendev, "info", info);
+ /*...
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