SHA256
1
0
forked from pool/xen

Updating link to change in openSUSE:Factory/xen revision 80.0

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=bab18b4d77fe039fab5382a8e1a339f4
This commit is contained in:
OBS User buildservice-autocommit
2009-09-26 22:20:08 +00:00
committed by Git OBS Bridge
parent 6de5f9f31c
commit f6f3ce5586
10 changed files with 442 additions and 208 deletions

View File

@@ -31,12 +31,12 @@ Index: xen-3.4.1-testing/tools/ioemu-remote/xenstore.c
continue;
+
+ free(params);
+ if (!strcmp(drv,"iscsi"))
+ if (!strcmp(drv,"iscsi") || !strcmp(drv, "npiv"))
+ {
+ if (pasprintf(&buf, "%s/node", bpath) == -1)
+ continue;
+
+ /* wait for block-iscsi script to complete and populate the
+ /* wait for block-[iscsi|npiv] script to complete and populate the
+ * node entry. try 30 times (30 secs) */
+ for (j = 0; j < 30; j++) {
+ params = xs_read(xsh, XBT_NULL, buf, &len);
@@ -45,7 +45,7 @@ Index: xen-3.4.1-testing/tools/ioemu-remote/xenstore.c
+ sleep(1);
+ }
+ if (params == NULL) {
+ fprintf(stderr, "qemu: iscsi device not found -- timed out \n");
+ fprintf(stderr, "qemu: %s device not found -- timed out \n", drv);
+ continue;
+ }
+ }