- Update to Xen 4.0.2 rc2, changeset 21452

- Enable support for kernel decompression for gzip, bzip2, and LZMA 
  so that kernels compressed with any of these methods can be 
  launched. 

- update xenalyze, more 64bit fixes

- allocate xentrace buffer metadata based on requested tbuf_size
  xentrace.dynamic_sized_tbuf.patch

- fate#310510 - fix xenpaging
  xenpaging.runtime_mru_size.patch
  - specify policy mru size at runtime
  xenpaging.no_domain_id.patch
  - reduce memory usage in pager

- bnc#625394 - set vif mtu from bridge mtu if kernel supports it
  vif-bridge.mtu.patch

- fate#310510 - fix xenpaging
  xenpaging.autostart_delay.patch
  - decouple create/destroycreateXenPaging from _create/_removeDevices
  - change xenpaging variable from int to str
  - init xenpaging variable to 0 if xenpaging is not in config file
    to avoid string None coming from sxp file

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=97
This commit is contained in:
Charles Arnold
2011-02-14 21:35:06 +00:00
committed by Git OBS Bridge
parent 8ff333d07c
commit 551c9a62bc
17 changed files with 878 additions and 210 deletions

155
xen.spec
View File

@@ -1,5 +1,5 @@
#
# spec file for package xen
# spec file for package xen (Version 4.0.2_02)
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -22,39 +22,41 @@ Name: xen
ExclusiveArch: %ix86 x86_64
%define xvers 4.0
%define xvermaj 4
%define changeset 21443
%define changeset 21452
%define xen_build_dir xen-4.0.2-testing
%define with_kmp 1
%define with_stubdom 1
BuildRequires: LibVNCServer-devel
BuildRequires: SDL-devel
BuildRequires: automake
BuildRequires: bin86
BuildRequires: curl-devel
BuildRequires: dev86
BuildRequires: graphviz
BuildRequires: latex2html
BuildRequires: libjpeg-devel
BuildRequires: libxml2-devel
BuildRequires: ncurses-devel
BuildRequires: openssl
BuildRequires: openssl-devel
BuildRequires: pciutils-devel
BuildRequires: python-devel
BuildRequires: texinfo
BuildRequires: transfig
BuildRequires: LibVNCServer-devel
BuildRequires: SDL-devel
BuildRequires: automake
BuildRequires: bin86
BuildRequires: curl-devel
BuildRequires: dev86
BuildRequires: graphviz
BuildRequires: latex2html
BuildRequires: libjpeg-devel
BuildRequires: libxml2-devel
BuildRequires: ncurses-devel
BuildRequires: openssl
BuildRequires: openssl-devel
BuildRequires: pciutils-devel
BuildRequires: python-devel
BuildRequires: texinfo
BuildRequires: transfig
BuildRequires: libbz2-devel
BuildRequires: xz-devel
%if %suse_version <= 1110
BuildRequires: pmtools
BuildRequires: pmtools
%else
BuildRequires: acpica
BuildRequires: acpica
%endif
%if %suse_version >= 1030
BuildRequires: texlive
BuildRequires: texlive-latex
BuildRequires: texlive
BuildRequires: texlive-latex
%else
BuildRequires: te_ams
BuildRequires: te_latex
BuildRequires: tetex
BuildRequires: te_ams
BuildRequires: te_latex
BuildRequires: tetex
%endif
%ifarch x86_64
BuildRequires: glibc-32bit glibc-devel-32bit
@@ -70,7 +72,7 @@ BuildRequires: glibc-devel
%if %{?with_kmp}0
BuildRequires: kernel-source kernel-syms module-init-tools xorg-x11
%endif
Version: 4.0.2_01
Version: 4.0.2_02
Release: 1
License: GPLv2+
Group: System/Kernel
@@ -141,21 +143,20 @@ Patch27: 22431-p2m-remove-bug-check.patch
Patch28: 22475-x2apic-cleanup.patch
Patch29: 22484-vlapic-tmcct-periodic.patch
Patch30: 22504-iommu-dom0-holes.patch
Patch31: 22526-ept-get-entry-no-lock.patch
Patch32: 22533-x86-32bit-apicid.patch
Patch33: 22534-x86-max-local-apic.patch
Patch34: 22535-x2apic-preenabled.patch
Patch35: 22645-amd-flush-filter.patch
Patch36: 22693-fam10-mmio-conf-base-protect.patch
Patch37: 22694-x86_64-no-weak.patch
Patch38: 22707-x2apic-preenabled-check.patch
Patch39: 22708-xenctx-misc.patch
Patch40: 22744-ept-pod-locking.patch
Patch41: 22749-vtd-workarounds.patch
Patch42: 22777-vtd-ats-fixes.patch
Patch43: 22781-pod-hap-logdirty.patch
Patch44: 22789-i386-no-x2apic.patch
Patch45: 22790-svm-resume-migrate-pirqs.patch
Patch31: 22533-x86-32bit-apicid.patch
Patch32: 22534-x86-max-local-apic.patch
Patch33: 22535-x2apic-preenabled.patch
Patch34: 22645-amd-flush-filter.patch
Patch35: 22693-fam10-mmio-conf-base-protect.patch
Patch36: 22694-x86_64-no-weak.patch
Patch37: 22707-x2apic-preenabled-check.patch
Patch38: 22708-xenctx-misc.patch
Patch39: 22744-ept-pod-locking.patch
Patch40: 22749-vtd-workarounds.patch
Patch41: 22777-vtd-ats-fixes.patch
Patch42: 22781-pod-hap-logdirty.patch
Patch43: 22789-i386-no-x2apic.patch
Patch44: 22790-svm-resume-migrate-pirqs.patch
# Upstream qemu patches
Patch200: 7410-qemu-alt-gr.patch
Patch201: 7426-xenfb-depth.patch
@@ -223,7 +224,7 @@ Patch373: usb-list.patch
Patch374: xend-devid-or-name.patch
Patch375: 22326-cpu-pools-numa-placement.patch
Patch376: 20158-revert.patch
Patch377: suspend_evtchn_lock.patch
Patch377: suspend_evtchn_lock.patch
# Patches for snapshot support
Patch400: snapshot-ioemu-save.patch
Patch401: snapshot-ioemu-restore.patch
@@ -259,6 +260,8 @@ Patch439: minios-fixups.patch
Patch440: bdrv_default_rwflag.patch
Patch441: blktap2.patch
Patch442: xen-minimum-restart-time.patch
Patch443: vif-bridge.mtu.patch
Patch444: xentrace.dynamic_sized_tbuf.patch
# Jim's domain lock patch
Patch450: xend-domain-lock.patch
# Hypervisor and PV driver Patches
@@ -282,35 +285,35 @@ Patch700: hv_extid_compatibility.patch
# Build patch
Patch999: tmp_build.patch
# FATE 310510
Patch902: hotplug-block-losetup-a.patch
Patch10001: xenpaging.tools_xenpaging_cleanup.patch
Patch10002: xenpaging.pageout_policy.patch
Patch10003: xenpaging.get_paged_frame.patch
Patch10004: xenpaging.makefile.patch
Patch10010: xenpaging.policy_linear.patch
Patch10011: xenpaging.pagefile.patch
Patch10012: xenpaging.xenpaging_init.patch
Patch10013: xenpaging.mem_paging_tool_qemu_flush_cache.patch
Patch10014: xenpaging.machine_to_phys_mapping.patch
Patch10015: xenpaging.populate_only_if_paged.patch
Patch10017: xenpaging.autostart.patch
Patch10018: xenpaging.signal_handling.patch
Patch10019: xenpaging.MRU_SIZE.patch
Patch10020: xenpaging.guest_remove_page.patch
Patch10021: xenpaging.mem_event_check_ring-free_requests.patch
Patch10022: xenpaging.blacklist.patch
Patch10023: xenpaging.autostart_delay.patch
Patch10024: xenpaging.page_already_populated.patch
Patch10025: xenpaging.notify_policy_only_once.patch
Patch10026: xenpaging.num_pages_equal_max_pages.patch
Patch10027: xenpaging.p2m_mem_paging_populate_if_p2m_ram_paged.patch
Patch10028: xenpaging.HVMCOPY_gfn_paged_out.patch
Patch10029: xenpaging.optimize_p2m_mem_paging_populate.patch
Patch10030: xenpaging.paging_prep_enomem.patch
Patch10031: xenpaging.print-arguments.patch
Patch10040: xenpaging.doc.patch
# xenalyze
Patch20000: xenalyze.64bit.patch
Patch902: hotplug-block-losetup-a.patch
Patch10001: xenpaging.tools_xenpaging_cleanup.patch
Patch10002: xenpaging.pageout_policy.patch
Patch10003: xenpaging.get_paged_frame.patch
Patch10004: xenpaging.makefile.patch
Patch10010: xenpaging.policy_linear.patch
Patch10011: xenpaging.pagefile.patch
Patch10012: xenpaging.xenpaging_init.patch
Patch10013: xenpaging.mem_paging_tool_qemu_flush_cache.patch
Patch10014: xenpaging.machine_to_phys_mapping.patch
Patch10015: xenpaging.populate_only_if_paged.patch
Patch10017: xenpaging.autostart.patch
Patch10018: xenpaging.signal_handling.patch
Patch10019: xenpaging.MRU_SIZE.patch
Patch10020: xenpaging.guest_remove_page.patch
Patch10021: xenpaging.mem_event_check_ring-free_requests.patch
Patch10022: xenpaging.blacklist.patch
Patch10023: xenpaging.autostart_delay.patch
Patch10024: xenpaging.page_already_populated.patch
Patch10025: xenpaging.notify_policy_only_once.patch
Patch10026: xenpaging.num_pages_equal_max_pages.patch
Patch10027: xenpaging.p2m_mem_paging_populate_if_p2m_ram_paged.patch
Patch10028: xenpaging.HVMCOPY_gfn_paged_out.patch
Patch10029: xenpaging.optimize_p2m_mem_paging_populate.patch
Patch10030: xenpaging.paging_prep_enomem.patch
Patch10031: xenpaging.print-arguments.patch
Patch10032: xenpaging.no_domain_id.patch
Patch10033: xenpaging.runtime_mru_size.patch
Patch10040: xenpaging.doc.patch
Url: http://www.cl.cam.ac.uk/Research/SRG/netos/xen/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#%define pysite %(python -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib()")
@@ -689,7 +692,6 @@ tar xfj %{SOURCE2} -C $RPM_BUILD_DIR/%{xen_build_dir}/tools
%patch42 -p1
%patch43 -p1
%patch44 -p1
%patch45 -p1
%patch200 -p1
%patch201 -p1
%patch202 -p1
@@ -787,6 +789,8 @@ tar xfj %{SOURCE2} -C $RPM_BUILD_DIR/%{xen_build_dir}/tools
%patch440 -p1
%patch441 -p1
%patch442 -p1
%patch443 -p1
%patch444 -p1
%patch450 -p1
%patch500 -p1
%patch501 -p1
@@ -832,9 +836,10 @@ tar xfj %{SOURCE2} -C $RPM_BUILD_DIR/%{xen_build_dir}/tools
%patch10029 -p1
%patch10030 -p1
%patch10031 -p1
%patch10032 -p1
%patch10033 -p1
%patch10040 -p1
#
%patch20000 -p1
%build
XEN_EXTRAVERSION=%version-%release