800917b5a2
- Update to Xen 4.1.2_rc2 c/s 23152 - bnc#716695 - domUs using tap devices will not start updated multi-xvdp.patch - Upstream patches from Jan 23803-intel-pmu-models.patch 23800-x86_64-guest-addr-range.patch 23795-intel-ich10-quirk.patch 23804-x86-IPI-counts.patch - bnc#706106 - Inconsistent reporting of VM names during migration xend-migration-domname-fix.patch - bnc#712823 - L3:Xen guest does not start reliable when rebooted xend-vcpu-affinity-fix.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=143
26 lines
760 B
Diff
26 lines
760 B
Diff
xenpaging: remove srand call
|
|
|
|
The policy uses now a linear algorithm instead of a random one.
|
|
Remove the call to srand().
|
|
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
---
|
|
tools/xenpaging/xenpaging.c | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
Index: xen-4.1.2-testing/tools/xenpaging/xenpaging.c
|
|
===================================================================
|
|
--- xen-4.1.2-testing.orig/tools/xenpaging/xenpaging.c
|
|
+++ xen-4.1.2-testing/tools/xenpaging/xenpaging.c
|
|
@@ -544,9 +544,6 @@ int main(int argc, char *argv[])
|
|
domain_id = atoi(argv[1]);
|
|
num_pages = atoi(argv[2]);
|
|
|
|
- /* Seed random-number generator */
|
|
- srand(time(NULL));
|
|
-
|
|
/* Initialise domain paging */
|
|
paging = xenpaging_init(domain_id);
|
|
if ( paging == NULL )
|