Hello,
This are again the remaining non-acked patches of the FreeBSD osstest
series. The two patches sent with this cover letter fix two issues
found on the Mass colo.
Patch 17 fixes an issue where the FreeBSD installer bootloader
receives random keystrokes on the console, thus aborting the autom
The Mass osstest instance has a more diverse list of hardware disk
controllers, so expand the list in order to include all the possible
disk drivers.
For the record, this list can be found at:
usr.sbin/bsdconfig/share/device.subr
In the FreeBSD source tree.
Signed-off-by: Roger Pau Monné
---
When the FreeBSD installer is booted on the godello{0/1} boxes it
receives spurious key strokes. This doesn't happen so far when booted
from disk, or with any other boxes.
In order to cope with this remove the loader timeout on the install
image. Note that failure to boot will still drop the loade
So it can be used by both gcc and clang. Just add the Kconfig option
and modify the makefiles so the llvm coverage specific code can be
added in a follow up patch.
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Introduce the functionality in order to fill the hooks of the
cov_sysctl_ops struct. Note that the functionality is still not wired
into the build system.
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stef
So that other implementations of the sysctl can be added.
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei Liu
---
Changes since v1:
- Constify cov_ops.
- Introd
llvm coverage support seems to disable some of the optimizations
needed in order to compile xsm, and the end result is that references
to __xsm_action_mismatch_detected are left in the object files.
Since coverage support cannot be used in production, introduce
__xsm_action_mismatch_detected for l
Change gcov to cov (for internal interfaces) or coverage (for the
public ones).
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
---
Changes since v1:
- Use c
Preparatory change before adding llvm profiling support.
No functional change.
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei Liu
---
Changes since v1:
- Rename
It will contain the generic implementation of sysctl_cov_op, which
will be shared between all the coverage implementations.
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Use autodetect only.
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei Liu
---
Changes since v1:
- New in this version.
---
xen/Kconfig.debug| 46
ing a PVHv2 Dom0 can be
found at:
http://xenbits.xen.org/people/royger/xen_profile/
Thanks, Roger.
Roger Pau Monne (9):
kconfig/gcov: remove gcc version choice from kconfig
gcov: rename folder and header to coverage
gcov: rename sysctl and functions
gcov: introduce hooks for the sys
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei Liu
---
Changes since v1:
- s/gmake/make/.
- Fix gcov section to mention CONFIG_COVERAGE instead of CONFIG_GCOV.
Non-Linux hosts (where osdep_evtchn_restrict is not yet supported)
made use of errno without including errno.h, fix this by including the
header.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
Cc: Julien Grall
---
Build fix for 4.10: it only affects non-Linux, and without this
ENOSYS should only be used by unimplemented top-level syscalls. Use
EOPNOTSUPP instead.
Signed-off-by: Roger Pau Monné
Reported-by: Jan Beulich
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei L
It's perfectly valid for the .tmp file to not exists, and the script
shouldn't fail in that case.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
---
Changes since v1:
- Use -f instead of removing the 'rm', osstest might want to wipe
the file in order to not preserve the permissions.
---
The usage of `rm` here is wrong for two reasons:
- It will fail if $sharedpath.tmp doesn't exist and report and error
(ie: -f should be used).
- It's not needed because dd will truncate $sharedpath.tmp.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
---
ts-freebsd-host-install | 1 -
Add support and introduce a FreeBSD build job to sg-run-job.
Signed-off-by: Roger Pau Monné
---
Changes since v13:
- Run ts-build-prep-freebsd for FreeBSD build host setup.
Changes since v5:
- Add a '+' to the arguments passed to ts-freebsd-set-hostflags, so
they are hidden from testid.
Ch
That allows marking a host as ready to be shared. Replace the current
callers that open-code it.
Signed-off-by: Roger Pau Monné
---
Changes since v13:
- s/resource_shared_mark_ready/host_shared_mark_ready/.
- First argument of jobdb_resource_shared_mark_ready must be 'host'.
Changes since v4:
Hello,
These are the remaining FreeBSD host setup patches. I've only sent the
ones that changed or are new in this version.
Branch can be found at:
git://xenbits.xen.org/people/royger/osstest.git freebsd_v14
Thanks, Roger.
___
Xen-devel mailing list
Since at the moment osstest only builds FreeBSD on FreeBSD, there are
no dependencies to install. Just mark the host as ready to share.
Signed-off-by: Roger Pau Monné
---
ts-build-prep-freebsd | 37 +
ts-freebsd-host-install | 3 ---
2 files changed, 37 ins
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
---
make-flight | 2 ++
1 file changed, 2 insertions(+)
diff --git a/make-flight b/make-flight
index d595101c..76620c18 100755
--- a/make-flight
+++ b/make-flight
@@ -676,6 +676,8 @@ do_examine_one () {
*) return ;; # stuf
Change gcov to cov.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
---
tools/misc/xencov.c | 28 ++--
xen/common/coverage/gc
llvm coverage support seems to disable some of the optimizations
needed in order to compile xsm, and the end result is that references
to __xsm_action_mismatch_detected are left in the object files.
Since coverage support cannot be used in production, introduce
__xsm_action_mismatch_detected for l
Introduce the functionality in order to fill the hooks of the
cov_sysctl_ops struct.
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei Liu
Cc: llvm-...@lists.llvm.o
ing a PVHv2 Dom0 can be
found at:
http://xenbits.xen.org/people/royger/xen_profile/
Thanks, Roger.
Roger Pau Monne (9):
gcov: return ENOSYS for unimplemented gcov domctl
gcov: rename folder and header to coverage
gcov: rename sysctl and functions
gcov: introduce hooks for the sys
It will contain the generic implementation of sysctl_cov_op, which
will be shared between all the coverage implementations.
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei Liu
---
xen/common/gcov/gcov.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/common/gcov
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei Liu
---
docs/misc/coverage.markdown | 47 +
1 file changed, 47 inserti
So that other implementations of the sysctl can be added.
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei Liu
---
xen/common/coverage/gcov.c | 13 ++---
Preparatory change before adding llvm profiling support.
No functional change.
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei Liu
---
xen/common/Makefile
Just add the Kconfig option and modify the makefiles so the llvm
coverage specific code can be added in a follow up patch.
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei Liu
Cc: Julien Grall
---
Changes since v1:
- s/allow/allows/.
---
docs/misc/coverage.markdown | 2 +-
1 file cha
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzeszutek Wilk
Cc: Stefano Stabellini
Cc: Tim Deegan
Cc: Wei Liu
Cc: Julien Grall
---
docs/misc/coverage.markdown | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Previous patches only added the FreeBSD runvars to the jobs in the
examine flight, but failed to also add them to the examine job in the
generic flight.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
---
make-flight | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/make
Recent changes in xenalyze introduced INT_MIN without also adding the
required header, fix this by adding the header.
Signed-off-by: Roger Pau Monné
---
Cc: George Dunlap
Cc: Ian Jackson
Cc: Wei Liu
Cc: Julien Grall
---
This should be accepted for 4.10 because it's a build bug fix, with no
fu
This script turns the properties stored in the runvars using the
format hostprop/$ident/$prop=$val into host properties stored in the
database.
Signed-off-by: Roger Pau Monné
---
Changes since v2:
- Call selecthost based on the idents passed in the putative
hostprops runvar.
- Fix commit mes
script
anointments: Provide ./mg-anoint list-prepared
Roger Pau Monne (31):
osstest: make built_stash_file store a path_ runvar for each file
osstest: move known_hosts generation to TestSupport
osstest: introduce helper to get per-host tftp prefix
osstest: introduce a helper to calculate the
And provide a helper in TestSupport to use it. This allows osstest to
set host properties from test script themselves (instead of using
the mg-hosts clu).
Note that the setting of host properties is limited to flights with
intended blessing real, and it will fail for any other blessing.
Signed-of
This is needed in order to figure out which memdisk options should be
used to boot the images on each specific box.
Note that when passed the --recordappend argument upon success the
script stores the tentative host property in the runvars.
Signed-off-by: Roger Pau Monné
---
Changes since v2:
-
Hook the memdisk parameter detection and the saving of the host
properties into the examine jobs.
Signed-off-by: Roger Pau Monné
---
Changes since v2:
- Do not pass a host ident to ts-examine-hostprops-save.
- Use .- for ts-memdisk-try-append so that the rest of the job will
run even if this
This is needed for MSI-X, since MSI-X will need to be initialized
before parsing the BARs, so that the header BAR handlers are aware of
the MSI-X related holes and make sure they are not mapped in order for
the trap handlers to work properly.
Signed-off-by: Roger Pau Monné
Reviewed-by: Jan Beulic
This function allows to iterate over a rangeset while removing the
processed regions.
This will be used in order to split processing of large memory areas
when mapping them into the guest p2m.
Signed-off-by: Roger Pau Monné
---
Cc: George Dunlap
Cc: Ian Jackson
Cc: Jan Beulich
Cc: Konrad Rzes
Introduce a set of handlers that trap accesses to the PCI BARs and the
command register, in order to snoop BAR sizing and BAR relocation.
The command handler is used to detect changes to bit 2 (response to
memory space accesses), and maps/unmaps the BARs of the device into
the guest p2m. A rangese
aining the patches can be found at:
git://xenbits.xen.org/people/royger/xen.git vpci_v7
Note that this is only safe to use for the hardware domain (that's
trusted), any non-trusted domain will need a lot more of traps before
it can freely access the PCI configuration space.
Thanks, Roger.
R
So that MMCFG regions not present in the MCFG ACPI table can be added
at run time by the hardware domain.
Signed-off-by: Roger Pau Monné
---
Cc: Jan Beulich
Cc: Andrew Cooper
---
Changes since v6:
- Do not return EEXIST if the same exact region is already tracked by
Xen.
Changes since v5:
Add handlers for the MSI control, address, data and mask fields in
order to detect accesses to them and setup the interrupts as requested
by the guest.
Note that the pending register is not trapped, and the guest can
freely read/write to it.
Signed-off-by: Roger Pau Monné
---
Cc: Jan Beulich
Cc
Add handlers for accesses to the MSI-X message control field on the
PCI configuration space, and traps for accesses to the memory region
that contains the MSI-X table and PBA. This traps detect attempts from
the guest to configure MSI-X interrupts and properly sets them up.
Note that accesses to t
This functionality is going to reside in vpci.c (and the corresponding
vpci.h header), and should be arch-agnostic. The handlers introduced
in this patch setup the basic functionality required in order to trap
accesses to the PCI config space, and allow decoding the address and
finding the correspo
Fix handle_pio so internal PIO handlers can return X86EMUL_RETRY and
it is properly handled by not advancing the IP.
Signed-off-by: Roger Pau Monné
---
Cc: Paul Durrant
Cc: Jan Beulich
Cc: Andrew Cooper
---
Note this is not an issue currently because no internal handlers
return RETRY.
---
xen
So that it can be called from outside in order to get the size of regular PCI
BARs. This will be required in order to map the BARs from PCI devices into PVH
Dom0 p2m.
Signed-off-by: Roger Pau Monné
---
Cc: Jan Beulich
---
Changes since v6:
- Remove the vf and addr local variables.
- Change the
Signed-off-by: Roger Pau Monné
Reviewed-by: Jan Beulich
---
Cc: Jan Beulich
---
Changes since v6:
- Remove the rom local variable.
Changes since v5:
- Use the flags field.
- Introduce a mask local variable.
- Simplify return.
Changes since v4:
- New in this version.
---
xen/drivers/passt
That provides direct access to all the members that constitute a SBDF.
The only function switched to use it is hvm_pci_decode_addr, because
it makes following patches simpler.
Suggested-by: Andrew Cooper
Signed-off-by: Roger Pau Monné
Reviewed-by: Paul Durrant
---
Cc: Paul Durrant
Cc: Jan Beul
Introduce a set of handlers for the accesses to the MMCFG areas. Those
areas are setup based on the contents of the hardware MMCFG tables,
and the list of handled MMCFG areas is stored inside of the hvm_domain
struct.
The read/writes are forwarded to the generic vpci handlers once the
address is d
clang 5.0 changed the layout of the type_mismatch_data structure and
introduced __ubsan_handle_type_mismatch_v1 and
__ubsan_handle_pointer_overflow.
This commit adds support for the new structure layout, adds the
missing handlers and the new types for type_check_kinds.
Signed-off-by: Roger Pau Mo
ubsan in clang 5.0 complains with:
(XEN) UBSAN: Undefined behaviour in string.c:50:28
(XEN) pointer overflow:
(XEN) addition of unsigned offset to 8310 overflowed to
830f
[...]
(XEN) Xen call trace:
(XEN)[] ubsan.c#ubsan_epilogue+0xd/0xc0
(XEN)[] __ubsan_handle_poi
clang 5.0 changed the layout of the type_mismatch_data structure and
introduced __ubsan_handle_type_mismatch_v1 and
__ubsan_handle_pointer_overflow.
This commit adds support for the new structure layout, adds the
missing handlers and the new types for type_check_kinds.
Signed-off-by: Roger Pau Mo
Currently there are many offenders of the unaligned access checks,
which makes booting with the unaligned check a PVH Dom0 impossible.
The main offenders seem to be the ACPI code, the VMX code and
specially the intremap code (set_ire_sid).
Signed-off-by: Roger Pau Monné
---
Cc: Andrew Cooper
Cc
fetch_type_names usage is guarded by SHADOW_DEBUG_PROPAGATE in
SHADOW_DEBUG, fix the declaration so it's also guarded by
SHADOW_DEBUG_PROPAGATE instead of DEBUG_TRACE_DUMP.
Signed-off-by: Roger Pau Monné
---
Cc: Tim Deegan
Cc: George Dunlap
Cc: Jan Beulich
Cc: Andrew Cooper
Cc: Julien Grall
Due to the recent changes to the PVH tests, all of them are now
failing because the current Linux kernel used by osstest doesn't
support PVHv2, and osstest treats the failures as regressions because
previously the PVH tests where actually testing classic PV.
Rename the tests to 'pvhv2' in order to
This is in line with the previous behavior, setting the number of
maptrack frames to 0 will prevent driver domains from working
correctly.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
Cc: Juergen Gross
---
docs/man/xl.conf.pod.5 | 2 +-
tools/xl/xl.c | 2 +-
tools/x
needed in order to fix the
libvirt tests, and thus unblock the push gate. The second patch should
fix driver domains (although there's no tests for them ATM in
osstest).
Thanks, Roger.
Roger Pau Monne (2):
libxl: set the default grant/maptrack frames at structure init
xl: set default map
libxl_domain_build_info had both the maptrack and grant frames set to
0 by default, forcing the client of libxl to set a sane default.
This is not backwards compatible, so instead initialize both
max_grant_frames and max_maptrack_frames to a sane default (ie: like
previous behavior).
This fixes t
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/examples/xlexample.pvhlinux | 42 +++
1 file changed, 42 insertions(+)
create mode 100644 tools/examples/xlexample.pvhlinux
diff --git a/tools/examples/xlexample.pvhlinux
b/tools/exam
Previously when trying to boot a PV capable but not PVH capable kernel
inside of a PVH container xc_dom_guest_type would succeed and return a
PV guest type, which would lead to failures later on in the build
process.
Instead provide a clear error message when trying to create a PVH
guest using a k
To use the new 'type' option.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/examples/xlexample.hvm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/examples/xlexample.hvm b/tools/examples/xlexample.hvm
index 4b1ea629fb..df9fe07653 100644
---
hanks, Roger.
Roger Pau Monne (3):
libxc: panic when trying to create a PVH guest without kernel support
examples: fix HVM config file example
examples: add a PVH guest config file template
tools/examples/xlexample.hvm | 2 +-
tools/examples/xlexample.pvhlinux
The previous builder='hvm' is also kept for compatibility with older
Xen releases. Note that the type option is ignored in previous Xen
versions.
Signed-off-by: Roger Pau Monné
Acked-by: Ian Jackson
---
Cc: ian.jack...@eu.citrix.com
---
Osstest/TestSupport.pm | 1 +
1 file changed, 1 insertion(
Older Xen versions don't support the 'type' xl option used to create a
PVHv2 guest.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
---
Changes since v1:
- New in this version.
---
make-flight | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/make-flight b/make-fli
Hello,
The patches in this series modify osstest in order to fix the PVH
tests, switch HVM guests to use the 'type' option (note that
the builder option is kept for compatibility reasons) and remove the PVH
tests from branches older than Xen 4.10.
Thanks, Roger.
Roger Pau Monne (3):
The pvh=1 xl option was removed, so switch the PVH tests to use
type='pvh' instead.
On older branches still supporting PVHv1 (and the 'pvh' xl option),
this change will turn the PVH tests into PV tests). A followup change
will remove the PVH tests from those branches, since PVHv1 has already
been
The previous builder='hvm' is also kept for compatibility with older
Xen releases. Note that the type option is ignored in previous Xen
versions.
Signed-off-by: Roger Pau Monné
---
Cc: ian.jack...@eu.citrix.com
---
Osstest/TestSupport.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/Osstes
The pvh=1 xl option was removed, so switch the PVH tests to use
type='pvh' instead.
Signed-off-by: Roger Pau Monné
---
Cc: ian.jack...@eu.citrix.com
---
ts-debian-fixup | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ts-debian-fixup b/ts-debian-fixup
index 571b2509..80c35
Hello,
The two patches in this series modify osstest in order to fix the PVH
tests, and also switch HVM guests to use the 'type' option (note that
the builder option is kept for compatibility reasons).
Thanks, Roger.
___
Xen-devel mailing list
Xen-deve
nr_pages doesn't take into account holes or MMIO regions, and
underestimates the amount of memory needed for paging. Be on the safe
side and use max_pdx instead.
Note that both cases are just approximations, but using max_pdx yields
a number of free pages after Dom0 build always greater than the
m
Remove the loop in dom0_compute_nr_pages.
This is a non-functional change for PV domains, that would always have
need_paging set to false, and thus only did a single loop iteration.
For a PVH Dom0 the loop is not needed anymore, since the amount of
memory needed for paging no longer depends on th
Hello,
The following three patches try to fix memory accounting when building
a PVH Dom0. Patch 1 and 2 are the more relevant ones, since they fix
the actual issues. Patch 3 is a cleanup of the code path in order to
make it simpler.
I consider those bug fixes for PVH Dom0, but since it's still no
Instead of open coding a calculation for it.
Signed-off-by: Roger PAu Monné
---
Cc: Jan Beulich
Cc: Andrew Cooper
---
xen/arch/x86/dom0_build.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/xen/arch/x86/dom0_build.c b/xen/arch/x86/dom0_build.c
index f616b99ddc..c
Spotted by Coverity.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_create.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c
index c4b7d08532..fa3c668a56 100644
--- a/tools/libxl/libxl_create.c
+
Introduce a new type option to xl configuration files in order to
specify the domain type. This supersedes the current builder option.
The new option is documented in the xl.cfg man page, and the previous
builder option is marked as deprecated.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Hello,
This series adds a new PVH guest type to libxl/xl. This supersedes the
current PVHv2 implementation that relies on using the "none" device
model version.
As part of this series a new xl option is also implemented, called
"type" that supersedes the current "builder" option. A "firmware"
opt
Make sure that the memory for the paging structures in case of a HVM
Dom0 is subtracted from the total amount of memory available for Dom0
to use. Also take into account whether the IOMMU is sharing the
page tables with HAP, or else also reserve some memory for the IOMMU
page tables.
While there r
PVHv2 is always going to require the usage of memory in order to store
the p2m page tables, either when using hap or shadow.
Fix the condition so memory is reserved unconditionally when trying to
build a PVHv2 Dom0.
Reported-by: Boris Ostrovsky
Signed-off-by: Roger Pau Monné
---
Cc: Boris Ostro
And remove device model "none".
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/xl/xl_parse.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/xl/xl_parse.c b/tools/xl/xl_parse.c
index 9f9e810c64..fb26db2e1c 100644
--- a/tools/xl/xl_parse.
And the xl.cfg man page documentation.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
docs/man/xl.cfg.pod.5.in| 5 -
tools/libxl/libxl.h | 8
tools/libxl/libxl_types.idl | 1 -
3 files changed, 14 deletions(-)
diff --git a/docs/man/xl.cfg.pod.5.in
Add PVH support to usb related functions.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_usb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/libxl/libxl_usb.c b/tools/libxl/libxl_usb.c
index 1d5a2432ba..cb0e792724 100644
---
Remove the usage of device model "none" in the migration stream
related functions.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_stream_read.c | 6 ++
tools/libxl/libxl_stream_write.c | 11 ++-
2 files changed, 4 insertions(+), 13 deletions(
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_mem.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/libxl/libxl_mem.c b/tools/libxl/libxl_mem.c
index f5d2530d8c..e551e09fed 100644
--- a/tools/libxl/libxl_mem.c
+++ b/tools/libxl/libxl_mem.c
@@ -46
This also includes the x86 ACPI related functions. Remove support for
device model "none"
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_x86.c | 33 +
tools/libxl/libxl_x86_acpi.c | 3 +--
2 files changed, 18 insertion
CD-ROM backend selection was partially based on the device model, this
is no longer needed since the device model "none" is now removed, so
HVM guests always have a device model.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_disk.c | 10 +-
1 file
And remove device model "none" support.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_dom.c | 149 ++--
1 file changed, 95 insertions(+), 54 deletions(-)
diff --git a/tools/libxl/libxl_dom.c b/tools/libxl/libxl
Remove device model "none" support from the nic functions.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_nic.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tools/libxl/libxl_nic.c b/tools/libxl/libxl_nic.c
index cf8fd5c237..2
And remove support for device model "none".
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_domain.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/tools/libxl/libxl_domain.c b/tools/libxl/libxl_domain.c
index 08eccd
And remove the device model "none" support.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_dom_save.c| 9 ++---
tools/libxl/libxl_dom_suspend.c | 8 +++-
2 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/tools/libxl/libxl_dom_save.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_console.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/libxl/libxl_console.c b/tools/libxl/libxl_console.c
index 624bd016c6..32c3ec7d7b 100644
--- a/tools/libxl/libxl_console.c
+++ b/tools/libxl/li
PVH guests use the same device model selection as PV guests, because
PVH guests only use the device model for the PV backends.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_dm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/libxl/libxl_dm.c
Remove the device model "none" support from domain creation and
introduce support for PVH.
This requires changing some of the HVM checks to be applied for both
HVM and PVH.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_create.c | 71 +
Those types are missing a helper to check whether a definition of the
type holds the default value. This will be required by a later patch
that will implement deprecation of fields inside of a libxl type.
Signed-off-by: Roger Pau Monné
Acked-by: Ian Jackson
Acked-by: Wei Liu
---
Cc: Ian Jackson
Allow PVH guests to boot using a bootloader.
Signed-off-by: Roger Pau Monné
---
Cc: Ian Jackson
Cc: Wei Liu
---
tools/libxl/libxl_bootloader.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/libxl/libxl_bootloader.c b/tools/libxl/libxl_bootloader.c
index a47bd8c25
The new firmware option aims to provide a coherent way to set the
firmware for the different kind of guests Xen supports.
For PV guests the available firmwares are pvgrub{32|64}, and for HVM
the following are supported: bios, uefi, seabios, rombios and ovmf.
Note that uefi maps to ovmf, and bios m
1 - 100 of 1602 matches
Mail list logo