- fate#310510 - fix xenpaging
xenpaging.tools_xenpaging_cleanup.patch - fate#310510 - fix xenpaging xenpaging.mem_event_check_ring-free_requests.patch - install /etc/xen/examples/xentrace_formats.txt to get human readable tracedata if xenalyze is not used - fate#310510 - fix xenpaging xenpaging.autostart_delay.patch xenpaging.blacklist.patch xenpaging.MRU_SIZE.patch remove xenpaging.hacks.patch, realmode works - Upstream patches from Jan including fixes for the following bugs bnc#583568 - Xen kernel is not booting bnc#615206 - Xen kernel fails to boot with IO-APIC problem bnc#640773 - Xen kernel crashing right after grub bnc#643477 - issues with PCI hotplug/hotunplug to Xen driver domain 22223-vtd-igd-workaround.patch 22222-x86-timer-extint.patch 22214-x86-msr-misc-enable.patch 22213-x86-xsave-cpuid-check.patch 22194-tmem-check-pv-mfn.patch 22177-i386-irq-safe-map_domain_page.patch 22175-x86-irq-enter-exit.patch 22174-x86-pmtimer-accuracy.patch 22160-Intel-C6-EOI.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=76
This commit is contained in:
committed by
Git OBS Bridge
parent
163148b426
commit
08a77ed8c4
128
xen.spec
128
xen.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package xen (Version 4.0.1_21326_01)
|
||||
# spec file for package xen (Version 4.0.1_01)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -25,8 +25,36 @@ ExclusiveArch: %ix86 x86_64
|
||||
%define changeset 21326
|
||||
%define xen_build_dir xen-4.0.1-testing
|
||||
%define with_kmp 1
|
||||
BuildRequires: LibVNCServer-devel SDL-devel acpica automake bin86 curl-devel dev86 graphviz latex2html libjpeg-devel libxml2-devel ncurses-devel openssl openssl-devel pciutils-devel python-devel texinfo transfig
|
||||
BuildRequires: texlive texlive-latex
|
||||
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
|
||||
%if %suse_version <= 1110
|
||||
BuildRequires: pmtools
|
||||
%else
|
||||
BuildRequires: acpica
|
||||
%endif
|
||||
%if %suse_version >= 1030
|
||||
BuildRequires: texlive
|
||||
BuildRequires: texlive-latex
|
||||
%else
|
||||
BuildRequires: te_ams
|
||||
BuildRequires: te_latex
|
||||
BuildRequires: tetex
|
||||
%endif
|
||||
%ifarch x86_64
|
||||
BuildRequires: glibc-32bit glibc-devel-32bit
|
||||
%define max_cpus 256
|
||||
@@ -38,7 +66,7 @@ BuildRequires: glibc-32bit glibc-devel-32bit
|
||||
%if %{?with_kmp}0
|
||||
BuildRequires: kernel-source kernel-syms module-init-tools xorg-x11
|
||||
%endif
|
||||
Version: 4.0.1_21326_01
|
||||
Version: 4.0.1_01
|
||||
Release: 1
|
||||
License: GPLv2+
|
||||
Group: System/Kernel
|
||||
@@ -101,6 +129,17 @@ Patch23: 22084-x86-xsave-off.patch
|
||||
Patch24: 7410-qemu-alt-gr.patch
|
||||
Patch25: 22135-heap-lock.patch
|
||||
Patch26: 22148-serial-irq-dest.patch
|
||||
Patch27: 22157-x86-debug-key-i.patch
|
||||
Patch28: 22159-notify-evtchn-dying.patch
|
||||
Patch29: 22160-Intel-C6-EOI.patch
|
||||
Patch30: 22174-x86-pmtimer-accuracy.patch
|
||||
Patch31: 22175-x86-irq-enter-exit.patch
|
||||
Patch32: 22177-i386-irq-safe-map_domain_page.patch
|
||||
Patch33: 22194-tmem-check-pv-mfn.patch
|
||||
Patch34: 22213-x86-xsave-cpuid-check.patch
|
||||
Patch35: 22214-x86-msr-misc-enable.patch
|
||||
Patch36: 22222-x86-timer-extint.patch
|
||||
Patch37: 22223-vtd-igd-workaround.patch
|
||||
# Our patches
|
||||
Patch300: xen-config.diff
|
||||
Patch301: xend-config.diff
|
||||
@@ -117,8 +156,6 @@ Patch311: xen-no-dummy-nfs-ip.diff
|
||||
Patch312: serial-split.patch
|
||||
Patch313: xen-xm-top-needs-root.diff
|
||||
Patch314: xen-max-free-mem.diff
|
||||
Patch315: xen-disable-libxl.diff
|
||||
Patch316: xen-disable-xenpaging.diff
|
||||
Patch317: xen-extra-fixes.patch
|
||||
Patch322: bridge-opensuse.patch
|
||||
Patch323: bridge-vlan.diff
|
||||
@@ -162,7 +199,6 @@ Patch370: xend-sysconfig.patch
|
||||
Patch371: domu-usb-controller.patch
|
||||
Patch372: popen2-argument-fix.patch
|
||||
Patch373: usb-list.patch
|
||||
Patch374: xend-devid-or-name.patch
|
||||
# Patches for snapshot support
|
||||
Patch400: snapshot-ioemu-save.patch
|
||||
Patch401: snapshot-ioemu-restore.patch
|
||||
@@ -190,6 +226,8 @@ Patch431: capslock_enable.patch
|
||||
Patch432: enable_more_nic_pxe.patch
|
||||
Patch433: multi-xvdp.patch
|
||||
Patch434: check_device_status.patch
|
||||
Patch435: change_home_server.patch
|
||||
Patch436: altgr_2.patch
|
||||
# Jim's domain lock patch
|
||||
Patch450: xend-domain-lock.patch
|
||||
# Hypervisor and PV driver Patches
|
||||
@@ -215,6 +253,24 @@ Patch702: hv_xen_extension.patch
|
||||
Patch703: hv_win7_eoi_bug.patch
|
||||
# Build patch
|
||||
Patch999: tmp_build.patch
|
||||
# FATE 310510
|
||||
Patch10001: xenpaging.tools_xenpaging_cleanup.patch
|
||||
Patch10002: xenpaging.pageout_policy.patch
|
||||
Patch10003: xenpaging.xs_daemon_close.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.memory_op.patch
|
||||
Patch10015: xenpaging.populate_only_if_paged.patch
|
||||
Patch10017: xenpaging.autostart.patch
|
||||
Patch10018: xenpaging.signal_handling.patch
|
||||
Patch10019: xenpaging.MRU_SIZE.patch
|
||||
Patch10020: xenpaging.get_paged_frame.patch
|
||||
Patch10021: xenpaging.mem_event_check_ring-free_requests.patch
|
||||
Patch10022: xenpaging.blacklist.patch
|
||||
Patch10023: xenpaging.autostart_delay.patch
|
||||
Patch10024: xenpaging.makefile.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()")
|
||||
@@ -574,6 +630,17 @@ Authors:
|
||||
%patch24 -p1
|
||||
%patch25 -p1
|
||||
%patch26 -p1
|
||||
%patch27 -p1
|
||||
%patch28 -p1
|
||||
%patch29 -p1
|
||||
%patch30 -p1
|
||||
%patch31 -p1
|
||||
%patch32 -p1
|
||||
%patch33 -p1
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%patch37 -p1
|
||||
%patch300 -p1
|
||||
%patch301 -p1
|
||||
%patch302 -p1
|
||||
@@ -589,8 +656,6 @@ Authors:
|
||||
%patch312 -p1
|
||||
%patch313 -p1
|
||||
%patch314 -p1
|
||||
%patch315 -p1
|
||||
%patch316 -p1
|
||||
%patch317 -p1
|
||||
%patch322 -p1
|
||||
%patch323 -p1
|
||||
@@ -633,7 +698,6 @@ Authors:
|
||||
%patch371 -p1
|
||||
%patch372 -p1
|
||||
%patch373 -p1
|
||||
%patch374 -p1
|
||||
%patch400 -p1
|
||||
%patch401 -p1
|
||||
%patch402 -p1
|
||||
@@ -658,6 +722,8 @@ Authors:
|
||||
%patch432 -p1
|
||||
%patch433 -p1
|
||||
%patch434 -p1
|
||||
%patch435 -p1
|
||||
%patch436 -p1
|
||||
%patch450 -p1
|
||||
%patch500 -p1
|
||||
%patch501 -p1
|
||||
@@ -679,6 +745,24 @@ Authors:
|
||||
%patch702 -p1
|
||||
%patch703 -p1
|
||||
%patch999 -p1
|
||||
%patch10001 -p1
|
||||
%patch10002 -p1
|
||||
%patch10003 -p1
|
||||
%patch10010 -p1
|
||||
%patch10011 -p1
|
||||
%patch10012 -p1
|
||||
%patch10013 -p1
|
||||
%patch10014 -p1
|
||||
%patch10015 -p1
|
||||
%patch10017 -p1
|
||||
%patch10018 -p1
|
||||
%patch10019 -p1
|
||||
%patch10020 -p1
|
||||
%patch10021 -p1
|
||||
%patch10022 -p1
|
||||
%patch10023 -p1
|
||||
%patch10024 -p1
|
||||
|
||||
|
||||
%build
|
||||
XEN_EXTRAVERSION=%version-%release
|
||||
@@ -688,11 +772,11 @@ sed -i "s/XEN_CHANGESET[\t ]*=.*\$/XEN_CHANGESET = %{changeset}/" xen/Makefi
|
||||
RPM_OPT_FLAGS=${RPM_OPT_FLAGS//-fstack-protector/}
|
||||
export CFLAGS="${RPM_OPT_FLAGS}"
|
||||
export RPM_OPT_FLAGS
|
||||
make -C tools/include/xen-foreign
|
||||
make tools docs
|
||||
make -C tools/include/xen-foreign %{?jobs:-j%{jobs}}
|
||||
make tools docs %{?jobs:-j%{jobs}}
|
||||
cd tools/debugger/gdb
|
||||
# there are code problems that don't pass the 02-check-gcc-output, hence bitbucket
|
||||
./gdbbuild 1>/dev/null 2>/dev/null
|
||||
env MAKE="make %{?jobs:-j%{jobs}}" ./gdbbuild 1>/dev/null 2>/dev/null
|
||||
cd ../../..
|
||||
%if %{?with_kmp}0
|
||||
# pv driver modules
|
||||
@@ -705,6 +789,7 @@ for flavor in %flavors_to_build; do
|
||||
cd obj/$flavor
|
||||
./mkbuildtree
|
||||
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules \
|
||||
%{?jobs:-j%{jobs}} \
|
||||
M=$PWD
|
||||
cd ../..
|
||||
done
|
||||
@@ -733,23 +818,23 @@ install_xen()
|
||||
ln -s xen${ext}-%{version}-%{release}.gz $RPM_BUILD_ROOT/boot/xen${ext}.gz
|
||||
ln -sf xen-syms${ext}-%{version}-%{release} $RPM_BUILD_ROOT/boot/xen-syms${ext}
|
||||
}
|
||||
make -C xen install max_phys_cpus=%{max_cpus} pae=%{pae_enabled} debug=y crash_debug=y DESTDIR=$RPM_BUILD_ROOT
|
||||
make -C xen install max_phys_cpus=%{max_cpus} pae=%{pae_enabled} debug=y crash_debug=y DESTDIR=$RPM_BUILD_ROOT %{?jobs:-j%{jobs}}
|
||||
install_xen dbg
|
||||
make -C xen clean
|
||||
make -C xen install max_phys_cpus=%{max_cpus} pae=%{pae_enabled} debug=n crash_debug=n DESTDIR=$RPM_BUILD_ROOT
|
||||
make -C xen install max_phys_cpus=%{max_cpus} pae=%{pae_enabled} debug=n crash_debug=n DESTDIR=$RPM_BUILD_ROOT %{?jobs:-j%{jobs}}
|
||||
install_xen
|
||||
make -C xen clean
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
export RPM_OPT_FLAGS
|
||||
make -C tools/include/xen-foreign
|
||||
make -C tools/include/xen-foreign %{?jobs:-j%{jobs}}
|
||||
# tools
|
||||
export XEN_PYTHON_NATIVE_INSTALL=1
|
||||
make -C tools install \
|
||||
DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
|
||||
DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} %{?jobs:-j%{jobs}}
|
||||
cp tools/debugger/gdb/gdb-6.2.1-linux-i386-xen/gdb/gdbserver/gdbserver-xen $RPM_BUILD_ROOT/usr/bin/gdbserver-xen
|
||||
rm -f $RPM_BUILD_ROOT/usr/sbin/{qcow-create,img2qcow,qcow2raw}
|
||||
make -C tools/misc/serial-split install \
|
||||
DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir}
|
||||
DESTDIR=$RPM_BUILD_ROOT MANDIR=%{_mandir} %{?jobs:-j%{jobs}}
|
||||
%ifarch x86_64
|
||||
mkdir -p $RPM_BUILD_ROOT/${_libdir}/xen/bin/
|
||||
ln -s /usr/lib/xen/bin/qemu-dm $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm
|
||||
@@ -789,6 +874,7 @@ mkdir -p $RPM_BUILD_ROOT/etc/xen/{vm,examples,scripts}
|
||||
mv $RPM_BUILD_ROOT/etc/xen/xmexample* $RPM_BUILD_ROOT/etc/xen/examples
|
||||
rm -f $RPM_BUILD_ROOT/etc/xen/examples/*nbd
|
||||
install -m644 %SOURCE9 %SOURCE10 $RPM_BUILD_ROOT/etc/xen/examples/
|
||||
install -m644 tools/xentrace/formats $RPM_BUILD_ROOT/etc/xen/examples/xentrace_formats.txt
|
||||
# scripts
|
||||
rm -f $RPM_BUILD_ROOT/etc/xen/scripts/block-*nbd
|
||||
install -m755 %SOURCE11 %SOURCE12 %SOURCE13 %SOURCE14 %SOURCE15 %SOURCE16 %SOURCE17 %SOURCE21 $RPM_BUILD_ROOT/etc/xen/scripts/
|
||||
@@ -871,6 +957,7 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/debug
|
||||
%{_libdir}/libfsimage.so.*
|
||||
%{_libdir}/libxen*.so.*
|
||||
%{_libdir}/libvhd.so.*
|
||||
%{_libdir}/libxlutil.so.*
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
@@ -906,6 +993,7 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/debug
|
||||
/usr/sbin/vhd-update
|
||||
/usr/sbin/vhd-util
|
||||
/usr/sbin/gdbsx
|
||||
/usr/sbin/xl
|
||||
%dir %{_libdir}/xen
|
||||
%dir %{_libdir}/xen/bin
|
||||
%ifarch x86_64
|
||||
@@ -958,6 +1046,7 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/debug
|
||||
/etc/sysconfig/network/scripts/xen-updown.sh
|
||||
/etc/sysconfig/network/if-up.d/xen
|
||||
/etc/sysconfig/network/if-down.d/xen
|
||||
/etc/bash_completion.d/xl.sh
|
||||
%dir %{_defaultdocdir}/xen
|
||||
%{_defaultdocdir}/xen/COPYING
|
||||
%{_defaultdocdir}/xen/README.SuSE
|
||||
@@ -1012,6 +1101,8 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/debug
|
||||
%{_libdir}/libxen*.so
|
||||
%{_libdir}/libvhd.a
|
||||
%{_libdir}/libvhd.so
|
||||
%{_libdir}/libxlutil.a
|
||||
%{_libdir}/libxlutil.so
|
||||
/usr/bin/serial-split
|
||||
/usr/include/blktaplib.h
|
||||
/usr/include/fsimage*
|
||||
@@ -1019,6 +1110,7 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/debug
|
||||
/usr/include/xen/
|
||||
/usr/include/xs.h
|
||||
/usr/include/xs_lib.h
|
||||
/usr/include/libxl.h
|
||||
|
||||
%files doc-html
|
||||
%defattr(-,root,root)
|
||||
|
Reference in New Issue
Block a user