Skip to content

Commit

Permalink
Merge tag 'RELEASE-4.12.0' into ALB-4645-xen-upgrade-to-4.12.0
Browse files Browse the repository at this point in the history
Issue: ALB-4645
Signed-off-by: Andrei Cherechesu <andrei.cherechesu@nxp.com>
  • Loading branch information
AndreiCherechesu-NXP committed Feb 19, 2020
2 parents 086ddbc + 997d624 commit 65ad56e
Show file tree
Hide file tree
Showing 1,104 changed files with 64,053 additions and 29,091 deletions.
2 changes: 0 additions & 2 deletions .bk-to-hg

This file was deleted.

23 changes: 17 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ config/Paths.mk

build-*
dist/*
docs/tmp.*
docs/html/
docs/man/xl.cfg.pod.5
docs/man/xl.pod.1
docs/man/xl.cfg.5.pod
docs/man/xl.1.pod
docs/man1/
docs/man5/
docs/man7/
Expand Down Expand Up @@ -168,10 +169,11 @@ tools/flask/utils/flask-set-bool
tools/flask/utils/flask-label-pci
tools/fuzz/libelf/afl-libelf-fuzzer
tools/fuzz/x86_instruction_emulator/asm
tools/fuzz/x86_instruction_emulator/x86_emulate
tools/fuzz/x86_instruction_emulator/x86-emulate.[ch]
tools/fuzz/x86_instruction_emulator/afl-harness
tools/fuzz/x86_instruction_emulator/afl-harness-cov
tools/fuzz/x86_instruction_emulator/wrappers.c
tools/fuzz/x86_instruction_emulator/x86_emulate
tools/fuzz/x86_instruction_emulator/x86-emulate.[ch]
tools/helpers/_paths.h
tools/helpers/init-xenstore-domain
tools/helpers/xen-init-dom0
Expand Down Expand Up @@ -235,21 +237,29 @@ tools/python/build/*
tools/security/secpol_tool
tools/security/xen/*
tools/security/xensec_tool
tools/tests/depriv/depriv-fd-checker
tools/tests/x86_emulator/*.bin
tools/tests/x86_emulator/*.tmp
tools/tests/x86_emulator/32/x86_emulate
tools/tests/x86_emulator/3dnow*.[ch]
tools/tests/x86_emulator/asm
tools/tests/x86_emulator/avx*.[ch]
tools/tests/x86_emulator/blowfish.h
tools/tests/x86_emulator/fma*.[ch]
tools/tests/x86_emulator/sse*.[ch]
tools/tests/x86_emulator/test_x86_emulator
tools/tests/x86_emulator/x86_emulate
tools/tests/x86_emulator/xop*.[ch]
tools/tests/xen-access/xen-access
tools/tests/xenstore/xs-test
tools/tests/regression/installed/*
tools/tests/regression/build/*
tools/tests/regression/downloads/*
tools/tests/mem-sharing/memshrtool
tools/tests/mce-test/tools/xen-mceinj
tools/tests/vpci/list.h
tools/tests/vpci/vpci.[hc]
tools/tests/vpci/test_vpci
tools/xcutils/lsevtchn
tools/xcutils/readnotes
tools/xenbackendd/_paths.h
Expand Down Expand Up @@ -284,6 +294,7 @@ xen/.config.old
xen/System.map
xen/arch/arm/asm-offsets.s
xen/arch/arm/xen.lds
xen/arch/x86/asm-macros.i
xen/arch/x86/asm-offsets.s
xen/arch/x86/boot/mkelf32
xen/arch/x86/xen.lds
Expand All @@ -293,7 +304,6 @@ xen/arch/x86/boot/*.bin
xen/arch/x86/boot/*.lnk
xen/arch/x86/efi.lds
xen/arch/x86/efi/check.efi
xen/arch/x86/efi/disabled
xen/arch/x86/efi/mkreloc
xen/arch/*/efi/boot.c
xen/arch/*/efi/compat.c
Expand All @@ -302,14 +312,15 @@ xen/arch/*/efi/runtime.c
xen/include/headers*.chk
xen/include/asm
xen/include/asm-*/asm-offsets.h
xen/include/asm-x86/cpuid-autogen.h
xen/include/asm-x86/asm-macros.h
xen/include/compat/*
xen/include/config/
xen/include/generated/
xen/include/public/public
xen/include/xen/*.new
xen/include/xen/acm_policy.h
xen/include/xen/compile.h
xen/include/xen/lib/x86/cpuid-autogen.h
xen/test/livepatch/config.h
xen/test/livepatch/xen_bye_world.livepatch
xen/test/livepatch/xen_hello_world.livepatch
Expand Down
7 changes: 7 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
stages:
- build
- test

include:
- 'automation/gitlab-ci/build.yaml'
- 'automation/gitlab-ci/test.yaml'
2 changes: 0 additions & 2 deletions .hg-to-bk

This file was deleted.

1,634 changes: 0 additions & 1,634 deletions .rootkeys

This file was deleted.

1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ addons:
- libnl-3-dev
- ocaml-nox
- libfindlib-ocaml-dev
- markdown
- transfig
- pandoc
- gcc-arm-linux-gnueabihf
Expand Down
27 changes: 23 additions & 4 deletions CONTRIBUTING
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ Most notably:
- tools/xl : LGPL v2.1
- xen/include/public : MIT license

The COMMON COPYRIGHT NOTICES section of this document contains
sample copyright notices for the most common licenses used within
this repository.

When creating new components, new files, or importing code please follow
the conventions outlined below. As a general rule, whenever code using a
license other than GPLv2 is introduced, attention must be drawn to the
difference, such that maintainers can make an informed decision about the
deviation. Any new code must be GPLv2 compatible.

New components
--------------

When creating new components and directories that contain a
significant amount of files that are licensed under licenses other
than GPLv2 or the license specified in the COPYING file, please
Expand All @@ -27,15 +40,21 @@ license text and a rationale for using a different license. This helps
ensure that the license of this new component/directory is maintained
consistently with the original intention.

New files
---------

If specific files that differ from the license in a directory are introduced,
exceptions should be highlighted and discussed in the commit message or cover
letter introducing the file.

Importing code
--------------

When importing code from other upstream projects into this repository,
please create a README.source file in the directory the code is imported
to, listing the original source of the code. An example can be found at
m4/README.source

The COMMON COPYRIGHT NOTICES section of this document contains
sample copyright notices for the most common licenses used within
this repository.

Developer's Certificate of Origin
---------------------------------

Expand Down
36 changes: 17 additions & 19 deletions Config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ endif
# Convenient variables
comma := ,
squote := '
#' Balancing squote, to help syntax highlighting
empty :=
space := $(empty) $(empty)

Expand Down Expand Up @@ -157,18 +158,19 @@ ifndef XEN_HAS_CHECKPOLICY
endif

# as-insn: Check whether assembler supports an instruction.
# Usage: cflags-y += $(call as-insn "insn",option-yes,option-no)
# Usage: cflags-y += $(call as-insn,CC FLAGS,"insn",option-yes,option-no)
as-insn = $(if $(shell echo 'void _(void) { asm volatile ( $(2) ); }' \
| $(1) $(filter-out -M% %.d -include %/include/xen/config.h,$(AFLAGS)) \
| $(filter-out -M% %.d -include %/include/xen/config.h,$(1)) \
-c -x c -o /dev/null - 2>&1),$(4),$(3))

# as-insn-check: Add an option to compilation flags, but only if insn is
# supported by assembler.
# Usage: $(call as-insn-check CFLAGS,CC,"nop",-DHAVE_GAS_NOP)
as-insn-check = $(eval $(call as-insn-check-closure,$(1),$(2),$(3),$(4)))
define as-insn-check-closure
ifeq ($$(call as-insn,$$($(2)),$(3),y,n),y)
# as-option-add: Conditionally add options to flags
# Usage: $(call as-option-add,CFLAGS,CC,"insn",option-yes,option-no)
as-option-add = $(eval $(call as-option-add-closure,$(1),$(2),$(3),$(4),$(5)))
define as-option-add-closure
ifeq ($$(call as-insn,$$($(2)) $$($(1)),$(3),y,n),y)
$(1) += $(4)
else
$(1) += $(5)
endif
endef

Expand Down Expand Up @@ -272,22 +274,18 @@ QEMU_TRADITIONAL_URL ?= git://xenbits.xen.org/qemu-xen-traditional.git
SEABIOS_UPSTREAM_URL ?= git://xenbits.xen.org/seabios.git
MINIOS_UPSTREAM_URL ?= git://xenbits.xen.org/mini-os.git
endif
OVMF_UPSTREAM_REVISION ?= 947f3737abf65fda63f3ffd97fddfa6986986868
QEMU_UPSTREAM_REVISION ?= qemu-xen-4.10.1
MINIOS_UPSTREAM_REVISION ?= xen-RELEASE-4.10.1
# Mon Oct 16 16:36:41 2017 +0100
# Update Xen header files again
OVMF_UPSTREAM_REVISION ?= ef529e6ab7c31290a33045bb1f1837447cc0eb56
QEMU_UPSTREAM_REVISION ?= qemu-xen-4.12.0
MINIOS_UPSTREAM_REVISION ?= xen-RELEASE-4.12.0

SEABIOS_UPSTREAM_REVISION ?= rel-1.10.2
# Wed Jun 22 14:53:24 2016 +0800
# fw/msr_feature_control: add support to set MSR_IA32_FEATURE_CONTROL
SEABIOS_UPSTREAM_REVISION ?= rel-1.12.0

ETHERBOOT_NICS ?= rtl8139 8086100e


QEMU_TRADITIONAL_REVISION ?= xen-4.10.1
# Fri Sep 15 19:37:27 2017 +0100
# qemu-xen-traditional: Link against xentoolcore
QEMU_TRADITIONAL_REVISION ?= xen-4.12.0
# Wed Oct 10 18:52:54 2018 +0000
# xen/pt: allow QEMU to request MSI unmasking at bind time

# Specify which qemu-dm to use. This may be `ioemu' to use the old
# Mercurial in-tree version, or a local directory, or a git URL.
Expand Down
4 changes: 4 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ EXTRA_CFLAGS_XEN_TOOLS=
EXTRA_CFLAGS_QEMU_TRADITIONAL=
EXTRA_CFLAGS_QEMU_XEN=

Additional CFLAGS may be supplied to the build of the hypervisor by
using this variable.
EXTRA_CFLAGS_XEN_CORE=

This variable can be used to use DIR/include and DIR/lib during build.
This is the same as PREPEND_LIB and PREPEND_INCLUDES. APPEND_LIB and
APPEND_INCLUDES= will be appended to the CFLAGS/LDFLAGS variable.
Expand Down
Loading

0 comments on commit 65ad56e

Please sign in to comment.