提交 2a4c2043 编写于 作者: R Richard W.M. Jones

Make iSCSI login actually work

	* src/storage_backend_iscsi.c: Make iSCSI login actually work
	  (Chris Lalancette).
上级 4d6a8a1c
Tue Mar 4 20:01:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
Make iSCSI login actually work
* src/storage_backend_iscsi.c: Make iSCSI login actually work
(Chris Lalancette).
Tue Mar 4 19:57:00 UTC 2008 Richard W.M. Jones <rjones@redhat.com>
Report error when vcpupin is given bad vCPU number.
......
......@@ -151,6 +151,14 @@ virStorageBackendISCSIConnection(virConnectPtr conn,
"--targetname", pool->def->source.devices[0].path, action, NULL
};
const char *cmdsendtarget[] = {
ISCSIADM, "--mode", "discovery", "--type", "sendtargets",
"--portal", portal, NULL
};
if (virRun(conn, (char **)cmdsendtarget, NULL) < 0)
return -1;
if (virRun(conn, (char **)cmdargv, NULL) < 0)
return -1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册