9fd34708c1
guest 21971-pod-accounting.patch - bnc#584204 - xm usb-list broken usb-list.patch - bnc#625520 - TP-L3: NMI cannot be triggered for xen kernel 21926-x86-pv-NMI-inject.patch - bnc#613529 - TP-L3: kdump kernel hangs when crash was initiated from xen kernel 21886-kexec-shutdown.patch - Upstream Intel patches to improve X2APIC handling. 21716-iommu-alloc.patch 21717-ir-qi.patch 21718-x2apic-logic.patch 21933-vtd-ioapic-write.patch 21953-msi-enable.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=71
25 lines
900 B
Diff
25 lines
900 B
Diff
# HG changeset patch
|
|
# User Keir Fraser <keir.fraser@citrix.com>
|
|
# Date 1273479772 -3600
|
|
# Node ID 93c5beba9d04d3e8d2522241bad14107433c3121
|
|
# Parent 3b6e33ebb57b670a48ad138aecb47cbd32a4e986
|
|
xentrace: fix bug in t_info size
|
|
|
|
t_info size should be in bytes, not pages. This fixes a bug
|
|
that crashes the hypervisor if the total number of all pages
|
|
is more than 1024 but less than 2048.
|
|
|
|
Signed-off-by: George Dunlap <george.dunlap@citrix.com>
|
|
|
|
--- a/xen/common/trace.c
|
|
+++ b/xen/common/trace.c
|
|
@@ -367,7 +367,7 @@ int tb_control(xen_sysctl_tbuf_op_t *tbc
|
|
case XEN_SYSCTL_TBUFOP_get_info:
|
|
tbc->evt_mask = tb_event_mask;
|
|
tbc->buffer_mfn = t_info ? virt_to_mfn(t_info) : 0;
|
|
- tbc->size = T_INFO_PAGES;
|
|
+ tbc->size = T_INFO_PAGES * PAGE_SIZE;
|
|
break;
|
|
case XEN_SYSCTL_TBUFOP_set_cpu_mask:
|
|
xenctl_cpumap_to_cpumask(&tb_cpu_mask, &tbc->cpu_mask);
|