mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-03 07:33:50 +00:00
* src/xen_internal.c: converting to handle the new incompatible
hypercalls while still able to detect older versions, lot of work, seems okay, there is just one function not yet converted * src/xs_internal.c: dropping virConnectCheckStoreID() Daniel
This commit is contained in:
parent
6a0c75a7b3
commit
86247f2c23
@ -1,3 +1,10 @@
|
||||
Sat Sep 2 22:28:18 CEST 2006 Daniel Veillard <veillard@redhat.com>
|
||||
|
||||
* src/xen_internal.c: converting to handle the new incompatible
|
||||
hypercalls while still able to detect older versions, lot of
|
||||
work, seems okay, there is just one function not yet converted
|
||||
* src/xs_internal.c: dropping virConnectCheckStoreID()
|
||||
|
||||
Wed Aug 30 09:34:45 EDT 2006 Daniel Berrange <berrange@redhat.com>
|
||||
|
||||
* src/virsh.c: Added --all & --inactive flags to list command to control
|
||||
|
1105
src/xen_internal.c
1105
src/xen_internal.c
File diff suppressed because it is too large
Load Diff
@ -256,6 +256,7 @@ virDomainGetVMInfo(virDomainPtr domain, const char *vm, const char *name)
|
||||
return (ret);
|
||||
}
|
||||
|
||||
#if 0
|
||||
/**
|
||||
* virConnectCheckStoreID:
|
||||
* @conn: pointer to the hypervisor connection
|
||||
@ -278,6 +279,7 @@ virConnectCheckStoreID(virConnectPtr conn, int id)
|
||||
}
|
||||
return (0);
|
||||
}
|
||||
#endif
|
||||
#endif /* ! PROXY */
|
||||
|
||||
/************************************************************************
|
||||
@ -521,8 +523,10 @@ xenStoreListDomains(virConnectPtr conn, int *ids, int maxids)
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
#if 0
|
||||
if (virConnectCheckStoreID(conn, (int) id) < 0)
|
||||
continue;
|
||||
#endif
|
||||
ids[ret++] = (int) id;
|
||||
}
|
||||
return(ret);
|
||||
@ -564,8 +568,10 @@ xenStoreDomainLookupByName(virConnectPtr conn, const char *name)
|
||||
if ((endptr == idlist[i]) || (*endptr != 0)) {
|
||||
goto done;
|
||||
}
|
||||
#if 0
|
||||
if (virConnectCheckStoreID(conn, (int) id) < 0)
|
||||
continue;
|
||||
#endif
|
||||
snprintf(prop, 199, "/local/domain/%s/name", idlist[i]);
|
||||
prop[199] = 0;
|
||||
tmp = xs_read(conn->xshandle, 0, prop, &len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user