Re: [PATCH] python 3.5 compatibility

2020-12-01 Thread Enrico Weigelt, metux IT consult
ation senden Sie bitte ihren GPG/PGP-Schlüssel zu. --- Enrico Weigelt, metux IT consult Free software and Linux embedded engineering i...@metux.net -- +49-151-27565287

Re: [PATCH] python 3.5 compatibility

2020-11-30 Thread Enrico Weigelt, metux IT consult
ntainability rather than removing them. IOW: I'll have to do lots of backporting work, just to keep it running :( --mtx -- --- Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren GPG/PGP-Schlüssel zu. --- En

Re: [PATCH] python 3.5 compatibility

2020-11-30 Thread Enrico Weigelt, metux IT consult
ii. And packaging python-3.6 just for a few pieces of one application (qemu) is far too much work. --mtx -- --- Hinweis: unverschlüsselte E-Mails können leicht abgehört und manipuliert werden ! Für eine vertrauliche Kommunikation senden Sie bitte ihren GPG/PGP-Schlüssel zu. --- Enrico Weigelt, m

[PATCH] hw: usb: fix break on older kernel headers that miss USBDEVFS_GET_SPEED

2020-11-27 Thread Enrico Weigelt, metux IT consult
-by: Enrico Weigelt, metux IT consult --- hw/usb/host-libusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c index b950501d10..c894a4b148 100644 --- a/hw/usb/host-libusb.c +++ b/hw/usb/host-libusb.c @@ -941,7 +941,7 @@ static int

[PATCH] scripts: minikconf: support config titles

2020-11-27 Thread Enrico Weigelt, metux IT consult
Add support for config option titles, like the real kconfig does. Even though they're not presented anywhere yet (since minikconf only acts in the background), it's good to have them supported, so we can start adding descriptions in the Kconfig files. Signed-off-by: Enrico Weigelt, metux

[PATCH] python 3.5 compatibility

2020-11-27 Thread Enrico Weigelt, metux IT consult
) and replacing f-strings by classic string formatting. Signed-off-by: Enrico Weigelt, metux IT consult --- configure | 4 +-- scripts/block-coroutine-wrapper.py | 56 ++ scripts/qapi/commands.py | 2 +- scripts/qapi/common.py

[PATCH 4/5] standard-headers: virtio-gpio protocol headers

2020-11-27 Thread Enrico Weigelt, metux IT consult
Introduce virtio-gpio protocol headers from Linux kernel. (work in progress, not mainlined yet) Signed-off-by: Enrico Weigelt, metux IT consult --- include/standard-headers/linux/virtio_gpio.h | 39 include/standard-headers/linux/virtio_ids.h | 1 + 2 files

[PATCH 5/5] hw: virtio: add virtio-gpio device emulation

2020-11-27 Thread Enrico Weigelt, metux IT consult
Adding a driver for virtio-based GPIOs. The driver connects to specified gpio backend and routes all requests there. Signed-off-by: Enrico Weigelt, metux IT consult --- MAINTAINERS | 7 + hw/virtio/Kconfig | 7 + hw/virtio/meson.build | 1 + hw/virtio/virtio-gpio.c

[PATCH] fix .gitignore

2020-11-27 Thread Enrico Weigelt, metux IT consult
Some entries for autogenerated files have been missing in .gitignore. Signed-off-by: Enrico Weigelt, metux IT consult --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index b32bca1315..48ec051c2e 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5

[PATCH 1/5] scripts: minikconf: support config titles

2020-11-27 Thread Enrico Weigelt, metux IT consult
Add support for config option titles, like the real kconfig does. Even though they're not presented anywhere yet (since minikconf only acts in the background), it's good to have them supported, so we can start adding descriptions in the Kconfig files. Signed-off-by: Enrico Weigelt, metux

[PATCH 2/5] backends: introduce gpio backend subsystem

2020-11-27 Thread Enrico Weigelt, metux IT consult
simulation drivers yet - just the generic infrastructure. Signed-off-by: Enrico Weigelt, metux IT consult --- MAINTAINERS | 6 ++ backends/Kconfig | 4 + backends/gpio.c | 255 ++ backends/meson.build | 1 + include

[PATCH 3/5] backends: gpio: dummy builtin backend

2020-11-27 Thread Enrico Weigelt, metux IT consult
Adding a dummy GPIO backend driver. Essentially stores the states in memory and gives some debug output. The current state can be accessed as a string property. Signed-off-by: Enrico Weigelt, metux IT consult --- MAINTAINERS | 1 + backends/Kconfig| 5 ++ backends/gpio

[Qemu-devel] [Bug 1500265] Re: nested 9p filesystem with security_model=mapped-xattr

2018-08-08 Thread Enrico Weigelt, metux IT consult
Interesting approach. But maybe it should be configurable (eg. specify the mapping prefix). -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1500265 Title: nested 9p filesystem with

[Qemu-devel] [Bug 1785902] Re: local/9pfs: Too many levels of symbolic links

2018-08-07 Thread Enrico Weigelt, metux IT consult
Turned out that security_model=mapped can't cope with symlinks in the host file system. Instead, security_model=passthrough works as expected. OTOH, I'll have to check, whether this mode already provides a safe chroot, or guest can escape and damage the host system. The wiki page needs some more

[Qemu-devel] [Bug 1785902] [NEW] local/9pfs: Too many levels of symbolic links

2018-08-07 Thread Enrico Weigelt, metux IT consult
Public bug reported: Version: 2.9.1 The primary symptom is resolving symlink fails w/ error "too many levels of symbolic links". My analysis showed that local_readlink() uses local_open_nofollow() to open the file and then tries to read it. local_open_nofollow() then tries to open the file w/