[PATCH V8] x86/altp2m: Hypercall to set altp2m view visibility

2020-04-12 Thread Alexandru Isaila
At this moment a guest can call vmfunc to change the altp2m view. This should be limited in order to avoid any unwanted view switch. The new xc_altp2m_set_visibility() solves this by making views invisible to vmfunc. This is done by having a separate arch.altp2m_working_eptp that is populated and

[libvirt test] 149635: regressions - FAIL

2020-04-12 Thread osstest service owner
flight 149635 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/149635/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: build-amd64-libvirt 6 libvirt-buildfail REGR. vs. 146182 build-i386-libvirt

[ovmf test] 149633: all pass - PUSHED

2020-04-12 Thread osstest service owner
flight 149633 ovmf real [real] http://logs.test-lab.xenproject.org/osstest/logs/149633/ Perfect :-) All tests in this flight passed as required version targeted for testing: ovmf 48b6c60cc6a234d971d7ca97f7cd0ca9a9499de5 baseline version: ovmf a5d8a399635d86c8155a2

[linux-linus test] 149631: tolerable FAIL - PUSHED

2020-04-12 Thread osstest service owner
flight 149631 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/149631/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-rtds 18 guest-localmigrate/x10 fail like 149628 test-amd64-amd64-xl-qemut-win7-amd64

[PATCH 0/4] More wrappers for xenlight Go package

2020-04-12 Thread Nick Rosbrook
This series adds wrappers to the xenlight package for various libxl functions, which are now trivial to add with the generated types and marshaling helpers. In particular, these are functions that would allow redctl to begin making the transition to using the xenlight package. For reference, I hav

[PATCH 1/4] golang/xenlight: add NameToDomid and DomidToName util functions

2020-04-12 Thread Nick Rosbrook
Many exported functions in xenlight require a domid as an argument. Make it easier for package users to use these functions by adding wrappers for the libxl utility functions libxl_name_to_domid and libxl_domid_to_name. Signed-off-by: Nick Rosbrook --- tools/golang/xenlight/xenlight.go | 23

[PATCH 4/4] golang/xenlight: add DeviceUsbdevAdd/Remove wrappers

2020-04-12 Thread Nick Rosbrook
Add DeviceUsbdevAdd and DeviceUsbdevRemove as wrappers for libxl_device_usbdev_add and libxl_device_usbdev_remove. Signed-off-by: Nick Rosbrook --- tools/golang/xenlight/xenlight.go | 34 +++ 1 file changed, 34 insertions(+) diff --git a/tools/golang/xenlight/xenligh

[PATCH 3/4] golang/xenlight: add DevicePciAdd/Remove wrappers

2020-04-12 Thread Nick Rosbrook
Add DevicePciAdd and DevicePciRemove as wrappers for libxl_device_pci_add and libxl_device_pci remove. Signed-off-by: Nick Rosbrook --- tools/golang/xenlight/xenlight.go | 34 +++ 1 file changed, 34 insertions(+) diff --git a/tools/golang/xenlight/xenlight.go b/tool

[PATCH 2/4] golang/xenlight: add DeviceNicAdd/Remove wrappers

2020-04-12 Thread Nick Rosbrook
Add DeviceNicAdd and DeviceNicRemove as wrappers for libxl_device_nic_add and libxl_device_nic_remove. Signed-off-by: Nick Rosbrook --- tools/golang/xenlight/xenlight.go | 34 +++ 1 file changed, 34 insertions(+) diff --git a/tools/golang/xenlight/xenlight.go b/tool

[PATCH-for-5.1 1/3] target: Remove unnecessary CPU() cast

2020-04-12 Thread Philippe Mathieu-Daudé
The CPU() macro is defined as: #define CPU(obj) ((CPUState *)(obj)) Remove an unnecessary CPU() cast. Patch created mechanically using spatch with this script: @@ typedef CPUState; CPUState *s; @@ - CPU(s) + s Signed-off-by: Philippe Mathieu-Daudé --- target/ppc/mmu_helper.

[PATCH-for-5.1 0/3] various: Remove unnecessary casts

2020-04-12 Thread Philippe Mathieu-Daudé
Remove unnecessary casts using coccinelle scripts. The CPU()/OBJECT() patches don't introduce logical change, The DEVICE() one removes various OBJECT_CHECK() calls. Philippe Mathieu-Daudé (3): target: Remove unnecessary CPU() cast various: Remove unnecessary OBJECT() cast hw: Remove unneces

[PATCH-for-5.1 2/3] various: Remove unnecessary OBJECT() cast

2020-04-12 Thread Philippe Mathieu-Daudé
The OBJECT() macro is defined as: #define OBJECT(obj) ((Object *)(obj)) Remove unnecessary OBJECT() casts. Patch created mechanically using spatch with this script: @@ typedef Object; Object *o; @@ - OBJECT(o) + o Signed-off-by: Philippe Mathieu-Daudé --- hw/core/bus.c

[PATCH-for-5.1 3/3] hw: Remove unnecessary DEVICE() cast

2020-04-12 Thread Philippe Mathieu-Daudé
The DEVICE() macro is defined as: #define DEVICE(obj) OBJECT_CHECK(DeviceState, (obj), TYPE_DEVICE) Remove unnecessary DEVICE() casts. Patch created mechanically using spatch with this script: @@ typedef DeviceState; DeviceState *s; @@ - DEVICE(s) + s Signed-off-by: Philippe

[linux-linus test] 149628: tolerable FAIL - PUSHED

2020-04-12 Thread osstest service owner
flight 149628 linux-linus real [real] http://logs.test-lab.xenproject.org/osstest/logs/149628/ Failures :-/ but no regressions. Tests which did not succeed, but are not blocking: test-amd64-amd64-xl-rtds 18 guest-localmigrate/x10 fail blocked in 149626 test-amd64-amd64-xl-qemut-win7-amd64

[xen-unstable test] 149627: tolerable FAIL

2020-04-12 Thread osstest service owner
flight 149627 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/149627/ Failures :-/ but no regressions. Tests which are failing intermittently (not blocking): test-amd64-amd64-xl-qemuu-dmrestrict-amd64-dmrestrict 15 depriv-audit-qemu/create fail pass in 149619 Tests wh

[xen-unstable-coverity test] 149630: all pass - PUSHED

2020-04-12 Thread osstest service owner
flight 149630 xen-unstable-coverity real [real] http://logs.test-lab.xenproject.org/osstest/logs/149630/ Perfect :-) All tests in this flight passed as required version targeted for testing: xen 7372466b21c3b6c96bb7a52754e432bac883a1e3 baseline version: xen e013