mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
Tue Jun 19 20:07:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/xend_internal.c: Recognise xen:/// as the standard URI for connecting to a local Xen hypervisor.
This commit is contained in:
parent
a34c85732d
commit
99089f80cd
@ -1,3 +1,8 @@
|
|||||||
|
Tue Jun 19 20:07:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||||
|
|
||||||
|
* src/xend_internal.c: Recognise xen:/// as the standard
|
||||||
|
URI for connecting to a local Xen hypervisor.
|
||||||
|
|
||||||
Tue Jun 19 17:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
Tue Jun 19 17:02:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||||
|
|
||||||
* docs/libvir.html docs/remote.html docs/uri.html: Documented
|
* docs/libvir.html docs/remote.html docs/uri.html: Documented
|
||||||
|
@ -1943,11 +1943,12 @@ xenDaemonOpen(virConnectPtr conn, const char *name,
|
|||||||
xmlURIPtr uri = NULL;
|
xmlURIPtr uri = NULL;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
/* If the name is just "xen" (it might originally have been NULL, see
|
/* If the name is just "xen" (it might originally have been NULL,
|
||||||
* xenUnifiedOpen) then try default paths and methods to get to the
|
* see xenUnifiedOpen) or any URI beginning with "xen:///" then
|
||||||
* xend socket.
|
* try default paths and methods to get to the xend socket.
|
||||||
*/
|
*/
|
||||||
if (strcasecmp (name, "xen") == 0) {
|
if (strcasecmp (name, "xen") == 0 ||
|
||||||
|
strncasecmp (name, "xen:///", 7) == 0) {
|
||||||
/*
|
/*
|
||||||
* try first to open the unix socket
|
* try first to open the unix socket
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user