[PATCH] News: Several apparmor improvements at v6.7.0

2020-11-08 Thread jgao
From: jgao Add news about apparmor about the improvements. Signed-off-by: jgao --- NEWS.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 905deba5a8..30a4f1065a 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -224,6 +224,11 @@ v6.7.0 (2020-09-01) forbidden

Re: [PATCH] News: Several apparmor improvements at v6.8.0

2020-11-08 Thread Han Han
On Mon, Nov 9, 2020 at 10:19 AM jgao wrote: > From: jgao > > Add news about apparmor about the improvements. > > Signed-off-by: jgao > --- > NEWS.rst | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/NEWS.rst b/NEWS.rst > index 905deba5a8..1db8648536 100644 > --- a/NEWS.rst > +++

[PATCH] News: Several apparmor improvements at v6.8.0

2020-11-08 Thread jgao
From: jgao Add news about apparmor about the improvements. Signed-off-by: jgao --- NEWS.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 905deba5a8..1db8648536 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -154,6 +154,11 @@ v6.8.0 (2020-10-01) taking an

[PULL 3/3] hw/mips/boston: Fix memory leak in boston_fdt_filter() error-handling paths

2020-11-08 Thread Philippe Mathieu-Daudé
From: Peter Maydell Coverity points out that the error-handling paths in the boston_fdt_filter() function don't free the fdt that was allocated. Fix the leak by using g_autofree. Fixes: Coverity CID 1432275 Signed-off-by: Peter Maydell Reviewed-by: Philippe Mathieu-Daudé Message-Id:

[PULL 2/3] target/mips: Fix PageMask with variable page size

2020-11-08 Thread Philippe Mathieu-Daudé
From: Jiaxun Yang Our current code assumed the target page size is always 4k when handling PageMask and VPN2, however, variable page size was just added to mips target and that's no longer true. Fixes: ee3863b9d414 ("target/mips: Support variable page size") Signed-off-by: Jiaxun Yang

[PULL 1/3] target/mips: Deprecate nanoMIPS ISA

2020-11-08 Thread Philippe Mathieu-Daudé
The nanoMIPS ISA has been announced in 2018 for various projects: GCC: https://gcc.gnu.org/legacy-ml/gcc/2018-05/msg00012.html Linux: https://lwn.net/Articles/753605/ QEMU: https://www.mail-archive.com/qemu-devel@nongnu.org/msg530721.html Unfortunately the links referenced doesn't work

[PULL 0/3] MIPS patches for 5.2-rc1

2020-11-08 Thread Philippe Mathieu-Daudé
The following changes since commit 3493c36f0371777c62d1d72b205b0eb6117e2156: Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20201106' into staging (2020-11-06 13:43:28 +) are available in the Git repository at: https://gitlab.com/philmd/qemu.git tags/mips-fixes-20201109 for

Re: [PATCH-for-5.2] target/mips: Deprecate nanoMIPS ISA

2020-11-08 Thread Philippe Mathieu-Daudé
On 11/2/20 9:27 PM, Philippe Mathieu-Daudé wrote: > The nanoMIPS ISA has been announced in 2018 for various projects: > > GCC: https://gcc.gnu.org/legacy-ml/gcc/2018-05/msg00012.html > Linux: https://lwn.net/Articles/753605/ > QEMU:

[PATCH 2/4] tests: Fix mock chaining on macOS

2020-11-08 Thread Roman Bolshakov
Some tests in qemuxml2argvtest need opendir() from virpcimock, others need opendir() from virfilewrapper. But as of now, only opendir() from virpcimock has an effect. real_opendir in virpcimock has a pointer to opendir$INODE64 in libsystem_kernel.dylib instead of pointing to opendir$INODE64 in

[PATCH 0/4] Final changes to fix test suite on macOS

2020-11-08 Thread Roman Bolshakov
The set of changes fixes qemuxml2argvtest and closes issue #58. Note, qemucapsprobe hasn't been fixed yet but it has no impact on the current test suite. Pipeline results: https://gitlab.com/roolebo/libvirt/-/pipelines/213377159 Roman Bolshakov (4): tests: Fix opendir mocks on macOS tests:

[PATCH 1/4] tests: Fix opendir mocks on macOS

2020-11-08 Thread Roman Bolshakov
opendir() mocks need to search for decorated function with $INODE64 suffix, like stat mocks. Signed-off-by: Roman Bolshakov --- tests/virfilewrapper.c | 4 tests/virpcimock.c | 4 2 files changed, 8 insertions(+) diff --git a/tests/virfilewrapper.c b/tests/virfilewrapper.c index

[PATCH 3/4] qemuxml2argvtest: Increase timeout on macOS

2020-11-08 Thread Roman Bolshakov
The test takes 100+ seconds if all test suite is run with meson and 45+ seconds if it's run directly. According to the output of sample tool, most of the time (~72 seconds) is spent in poll(): Sort by top of stack, same collapsed (when >= 5): poll (in libsystem_kernel.dylib)

[PATCH 4/4] ci: Run test suite on macOS

2020-11-08 Thread Roman Bolshakov
There's no need to have different CI process between macOS and FreeBSD as test suite has been fixed on macOS. Signed-off-by: Roman Bolshakov --- ci/cirrus/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/cirrus/build.yml b/ci/cirrus/build.yml index

Re: Libvirt Open Source Contribution

2020-11-08 Thread Ryan Gahagan
We've also been having some troubles actually getting ninja and meson to run properly. Our team has one member on MacOS, one on Ubuntu 18.04, and one working on a remote server (Ubuntu again) without sudo privileges. We want to be able to run ninja test to properly test and clean our code as we