- unmodified_drivers: handle IRQF_SAMPLE_RANDOM, it was removed in 3.6-rc1 - bnc#778105 - first XEN-PV VM fails to spawn xend: Increase wait time for disk to appear in host bootloader Modified existing xen-domUloader.diff - Disable the snapshot patches. Snapshot only supported the qcow2 image format which was poorly implemented qemu 0.10.2. Snapshot support may be restored in the future when the newer upstream qemu is used by Xen. - bnc#776995 - attaching scsi control luns with pvscsi - xend/pvscsi: fix passing of SCSI control LUNs xen-bug776995-pvscsi-no-devname.patch - xend/pvscsi: fix usage of persistant device names for SCSI devices xen-bug776995-pvscsi-persistent-names.patch - xend/pvscsi: update sysfs parser for Linux 3.0 xen-bug776995-pvscsi-sysfs-parser.patch - Update to Xen 4.2.0 RC3+ c/s 25779 - Update to Xen 4.2.0 RC2+ c/s 25765 OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=199
141 lines
4.7 KiB
Diff
141 lines
4.7 KiB
Diff
gcc -I../xen/include -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -Werror -o xenalyze xenalyze.c
|
|
xenalyze.c: In function 'weighted_percentile':
|
|
xenalyze.c:2017:9: error: variable 'progress' set but not used [-Werror=unused-but-set-variable]
|
|
xenalyze.c: In function 'self_weighted_percentile':
|
|
xenalyze.c:2105:9: error: variable 'progress' set but not used [-Werror=unused-but-set-variable]
|
|
xenalyze.c: In function 'interval_domain_short_summary_output':
|
|
xenalyze.c:2729:15: error: variable 'interval_cycles' set but not used [-Werror=unused-but-set-variable]
|
|
xenalyze.c: In function 'hvm_generic_dump':
|
|
xenalyze.c:4675:15: error: variable 'd' set but not used [-Werror=unused-but-set-variable]
|
|
xenalyze.c: In function 'sched_runstate_process':
|
|
xenalyze.c:6883:9: error: variable 'old_runstate' set but not used [-Werror=unused-but-set-variable]
|
|
xenalyze.c:6882:11: error: variable 'runstate_tsc' set but not used [-Werror=unused-but-set-variable]
|
|
xenalyze.c: In function 'cmd_parser':
|
|
xenalyze.c:9253:24: error: variable 'p' set but not used [-Werror=unused-but-set-variable]
|
|
cc1: all warnings being treated as errors
|
|
|
|
---
|
|
xenalyze.hg/xenalyze.c | 21 ---------------------
|
|
1 file changed, 21 deletions(-)
|
|
|
|
Index: xen-4.2.0-testing/xenalyze.hg/xenalyze.c
|
|
===================================================================
|
|
--- xen-4.2.0-testing.orig/xenalyze.hg/xenalyze.c
|
|
+++ xen-4.2.0-testing/xenalyze.hg/xenalyze.c
|
|
@@ -2016,8 +2016,6 @@ float weighted_percentile(float * A, /*
|
|
float X, t1;
|
|
unsigned long long t2;
|
|
|
|
- int progress;
|
|
-
|
|
/* Calculate total weight */
|
|
N_weight=0;
|
|
|
|
@@ -2078,15 +2076,11 @@ float weighted_percentile(float * A, /*
|
|
}
|
|
} while (I <= J); /* Keep going until our pointers meet or pass */
|
|
|
|
- progress = 0;
|
|
-
|
|
/* Re-adjust L and R, based on which element we're looking for */
|
|
if(J_weight<K_weight) {
|
|
- progress = 1;
|
|
L=I; L_weight = I_weight;
|
|
}
|
|
if(K_weight<I_weight) {
|
|
- progress = 1;
|
|
R=J; R_weight = J_weight;
|
|
}
|
|
}
|
|
@@ -2104,8 +2098,6 @@ long long self_weighted_percentile(long
|
|
|
|
long long X, t1;
|
|
|
|
- int progress;
|
|
-
|
|
/* Calculate total weight */
|
|
N_weight=0;
|
|
|
|
@@ -2165,15 +2157,11 @@ long long self_weighted_percentile(long
|
|
}
|
|
} while (I <= J); /* Keep going until our pointers meet or pass */
|
|
|
|
- progress = 0;
|
|
-
|
|
/* Re-adjust L and R, based on which element we're looking for */
|
|
if(J_weight<K_weight) {
|
|
- progress = 1;
|
|
L=I; L_weight = I_weight;
|
|
}
|
|
if(K_weight<I_weight) {
|
|
- progress = 1;
|
|
R=J; R_weight = J_weight;
|
|
}
|
|
}
|
|
@@ -2728,13 +2716,10 @@ void interval_domain_short_summary_outpu
|
|
|
|
if(P.interval.domain.d) {
|
|
struct domain_data *d;
|
|
- tsc_t interval_cycles;
|
|
int i;
|
|
|
|
d=P.interval.domain.d;
|
|
|
|
- interval_cycles = d->total_time.interval.cycles;
|
|
-
|
|
interval_time_output();
|
|
|
|
interval_cycle_percent_output(&d->total_time.interval);
|
|
@@ -4663,7 +4648,6 @@ void hvm_generic_dump(struct record_info
|
|
} *cr = (typeof(cr))ri->d;
|
|
|
|
char *evt_string, evt_number[256];
|
|
- unsigned *d;
|
|
int i, evt, is_64 = 0;
|
|
|
|
evt = ri->event - TRC_HVM_HANDLER;
|
|
@@ -4683,7 +4667,6 @@ void hvm_generic_dump(struct record_info
|
|
evt_string = evt_number;
|
|
}
|
|
|
|
- d = ri->d;
|
|
printf("%s%s %s%s [",
|
|
prefix,
|
|
ri->dump_header,
|
|
@@ -6867,8 +6850,6 @@ void sched_runstate_process(struct pcpu_
|
|
} sevt;
|
|
int perfctrs;
|
|
struct last_oldstate_struct last_oldstate;
|
|
- tsc_t runstate_tsc;
|
|
- int old_runstate;
|
|
|
|
switch(_sevt.lo)
|
|
{
|
|
@@ -6938,8 +6919,6 @@ void sched_runstate_process(struct pcpu_
|
|
* be reset, it will be reset below. */
|
|
last_oldstate = v->runstate.last_oldstate;
|
|
v->runstate.last_oldstate.wrong = RUNSTATE_INIT;
|
|
- runstate_tsc = v->runstate.tsc;
|
|
- old_runstate = v->runstate.state;
|
|
|
|
/* Close vmexits when the putative reason for blocking / &c stops.
|
|
* This way, we don't account cpu contention to some other overhead. */
|
|
@@ -9284,7 +9263,7 @@ error_t cmd_parser(int key, char *arg, s
|
|
|
|
case OPT_TOLERANCE:
|
|
{
|
|
- char * inval, *p;
|
|
+ char * inval;
|
|
|
|
opt.tolerance = (int)strtol(arg, &inval, 0);
|
|
|
|
@@ -9298,8 +9277,6 @@ error_t cmd_parser(int key, char *arg, s
|
|
exit(1);
|
|
}
|
|
|
|
- p = inval;
|
|
-
|
|
printf("Tolerating errors at or below %d\n",
|
|
opt.tolerance);
|
|
}
|