Re: [RFC PATCH 2/2] contrib/gitdm: Add more academic domains

2020-10-12 Thread César Belley
Acked-by: César Belley On 10/4/20 10:40 PM, Philippe Mathieu-Daudé wrote: > There is a number of contributions from these academic domains. > Add the entries to the gitdm 'academic' domain map. > > Cc: Akkarit Sangpetch > Cc: Alexander Bulekov > Cc: Alexander Olein

[PATCH v3 12/12] hw/usb: Add U2F device autoscan to passthru mode

2020-08-26 Thread César Belley
This patch adds an autoscan to let u2f-passthru choose the first U2F device it finds. The autoscan is performed using libudev with an enumeration of all the hidraw devices present on the host. The first device which happens to be a U2F device is taken to do the passtru. Signed-off-by: César

[PATCH v3 09/12] docs/qdev-device-use.txt: Add USB U2F key to the QDEV devices examples

2020-08-26 Thread César Belley
Signed-off-by: César Belley --- docs/qdev-device-use.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/qdev-device-use.txt b/docs/qdev-device-use.txt index f8d0d2fe29..9889521e3c 100644 --- a/docs/qdev-device-use.txt +++ b/docs/qdev-device-use.txt @@ -325,6 +325,7 @@ The new way is

[PATCH v3 06/12] hw/usb: Add U2F key emulated mode

2020-08-26 Thread César Belley
information about libu2f-emu see this page: https://github.com/MattGorko/libu2f-emu. Signed-off-by: César Belley --- hw/usb/u2f-emulated.c | 405 ++ 1 file changed, 405 insertions(+) create mode 100644 hw/usb/u2f-emulated.c diff --git a/hw/usb/u2f-emulated.c b/hw

[PATCH v3 07/12] meson: Add U2F key to meson

2020-08-26 Thread César Belley
Signed-off-by: César Belley --- configure | 8 +++- hw/usb/Kconfig | 5 + hw/usb/meson.build | 7 +++ meson.build| 7 +++ meson_options.txt | 1 + 5 files changed, 27 insertions(+), 1 deletion(-) diff --git a/configure b/configure index b1e11397a8

[PATCH v3 10/12] scripts: Add u2f-setup-gen script

2020-08-26 Thread César Belley
This patch adds the script used to generate setup directories, needed for the device u2f-emulated configuration in directory mode: python u2f-setup-gen.py $DIR qemu -usb -device u2f-emulated,dir=$DIR Signed-off-by: César Belley --- scripts/u2f-setup-gen.py | 170

[PATCH v3 08/12] docs/system: Add U2F key to the USB devices examples

2020-08-26 Thread César Belley
Signed-off-by: César Belley --- docs/system/usb.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/system/usb.rst b/docs/system/usb.rst index ddfa828d74..9a2f1927c4 100644 --- a/docs/system/usb.rst +++ b/docs/system/usb.rst @@ -81,6 +81,9 @@ option or the ``device_add`` monitor

[PATCH v3 05/12] hw/usb: Add U2F key passthru mode

2020-08-26 Thread César Belley
,hidraw=/dev/hidrawX Autoscan and U2F compatibility checking features are given at the end of the patch series. Signed-off-by: César Belley --- hw/usb/u2f-passthru.c | 423 ++ 1 file changed, 423 insertions(+) create mode 100644 hw/usb/u2f-passthru.c diff

[PATCH v3 04/12] hw/usb: Add U2F key base class implementation

2020-08-26 Thread César Belley
provides the public API used by its variants to send U2FHID packets to the guest. Signed-off-by: César Belley --- hw/usb/u2f.c | 352 +++ 1 file changed, 352 insertions(+) create mode 100644 hw/usb/u2f.c diff --git a/hw/usb/u2f.c b/hw/usb/u2f.c new

[PATCH v3 02/12] docs: Add USB U2F key device documentation

2020-08-26 Thread César Belley
Add USB U2F key device documentation: - USB U2F key device - Building - Using u2f-emulated - Using u2f-passthru - Libu2f-emu Signed-off-by: César Belley --- docs/u2f.txt | 101 +++ 1 file changed, 101 insertions(+) create mode 100644 docs/u2f.txt

[PATCH v3 00/12] Introduce USB U2F key device

2020-08-26 Thread César Belley
F security key shared on several guests which is not possible with a simple host device assignment pass-through. The emulated mode consists of completely emulating the behavior of an U2F device through software part. Libu2f-emu is used for that. Regards, César Belley History: v1 -> v2: -

[PATCH v3 11/12] hw/usb: Add U2F device check to passthru mode

2020-08-26 Thread César Belley
This patchs adds a check to verify that the device passed through the hidraw property is a U2F device. The check is done by ensuring that the first values of the report descriptor (USAGE PAGE and USAGE) correspond to those of a U2F device. Signed-off-by: César Belley --- hw/usb/u2f-passthru.c

[PATCH v3 01/12] hw/usb: Regroup USB HID protocol values

2020-08-26 Thread César Belley
Group some HID values that are used pretty much everywhere when dealing with HID devices. Signed-off-by: César Belley --- hw/usb/dev-hid.c | 26 +++--- hw/usb/dev-wacom.c | 12 +++- include/hw/usb/hid.h | 17 + 3 files changed, 27 insertions

[PATCH v3 03/12] hw/usb: Add U2F key base class

2020-08-26 Thread César Belley
u2f-key -> {u2f-passthru, u2f-emulated}. Signed-off-by: César Belley --- hw/usb/u2f.h | 92 1 file changed, 92 insertions(+) create mode 100644 hw/usb/u2f.h diff --git a/hw/usb/u2f.h b/hw/usb/u2f.h new file mode 100644 index 00..db30

[PATCH v2 13/13] hw/usb: Add U2F device autoscan to passthru mode

2020-08-24 Thread César Belley
Signed-off-by: César Belley --- docs/u2f.txt | 9 hw/usb/meson.build| 2 +- hw/usb/u2f-passthru.c | 113 +- 3 files changed, 110 insertions(+), 14 deletions(-) diff --git a/docs/u2f.txt b/docs/u2f.txt index f60052882e..8f44994818

[PATCH v2 12/13] hw/usb: Add U2F device check to passthru mode

2020-08-24 Thread César Belley
This patchs adds a check to verify that the device passed through the hidraw property is a U2F device. The check is done by ensuring that the first values of the report descriptor (USAGE PAGE and USAGE) correspond to those of a U2F device. Signed-off-by: César Belley --- hw/usb/u2f-passthru.c

[PATCH v2 05/13] hw/usb: Add U2F key passthru mode

2020-08-24 Thread César Belley
,hidraw=/dev/hidrawX Autoscan and U2F compatibility checking features are given at the end of the patch series. Signed-off-by: César Belley --- hw/usb/u2f-passthru.c | 423 ++ 1 file changed, 423 insertions(+) create mode 100644 hw/usb/u2f-passthru.c diff

[PATCH v2 11/13] scripts: Add u2f-setup-gen script

2020-08-24 Thread César Belley
This patch adds the script used to generate setup directories, needed for the device u2f-emulated configuration in directory mode: python u2f-setup-gen.py $DIR qemu -usb -device u2f-emulated,dir=$DIR Signed-off-by: César Belley --- scripts/u2f-setup-gen.py | 170

[PATCH v2 09/13] docs/system: Add U2F key to the USB devices examples

2020-08-24 Thread César Belley
Signed-off-by: César Belley --- docs/system/usb.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/system/usb.rst b/docs/system/usb.rst index ddfa828d74..9a2f1927c4 100644 --- a/docs/system/usb.rst +++ b/docs/system/usb.rst @@ -81,6 +81,9 @@ option or the ``device_add`` monitor

[PATCH v2 08/13] configure: Add USB U2F key device

2020-08-24 Thread César Belley
Signed-off-by: César Belley --- configure | 26 ++ 1 file changed, 26 insertions(+) diff --git a/configure b/configure index 67832e3bab..75d38e5411 100755 --- a/configure +++ b/configure @@ -495,6 +495,7 @@ trace_file="trace" spice="" rbd=&

[PATCH v2 04/13] hw/usb: Add U2F key base class implementation

2020-08-24 Thread César Belley
provides the public API used by its variants to send U2FHID packets to the guest. Signed-off-by: César Belley --- hw/usb/u2f.c | 352 +++ 1 file changed, 352 insertions(+) create mode 100644 hw/usb/u2f.c diff --git a/hw/usb/u2f.c b/hw/usb/u2f.c new

[PATCH v2 10/13] docs/qdev-device-use.txt: Add USB U2F key to the QDEV devices examples

2020-08-24 Thread César Belley
Signed-off-by: César Belley --- docs/qdev-device-use.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/qdev-device-use.txt b/docs/qdev-device-use.txt index f8d0d2fe29..9889521e3c 100644 --- a/docs/qdev-device-use.txt +++ b/docs/qdev-device-use.txt @@ -325,6 +325,7 @@ The new way is

[PATCH v2 03/13] hw/usb: Add U2F key base class

2020-08-24 Thread César Belley
u2f-key -> {u2f-passthru, u2f-emulated}. Signed-off-by: César Belley --- hw/usb/u2f.h | 92 1 file changed, 92 insertions(+) create mode 100644 hw/usb/u2f.h diff --git a/hw/usb/u2f.h b/hw/usb/u2f.h new file mode 100644 index 00..db30

[PATCH v2 01/13] hw/usb: Regroup USB HID protocol values

2020-08-24 Thread César Belley
Group some HID values that are used pretty much everywhere when dealing with HID devices. Signed-off-by: César Belley --- hw/usb/dev-hid.c | 26 +++--- hw/usb/dev-wacom.c | 12 +++- include/hw/usb/hid.h | 17 + 3 files changed, 27 insertions

[PATCH v2 07/13] hw/usb: Add U2F key build recipe

2020-08-24 Thread César Belley
Signed-off-by: César Belley --- hw/usb/Kconfig | 5 + hw/usb/meson.build | 5 + meson.build| 6 ++ 3 files changed, 16 insertions(+) diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig index 5e63dc75f8..3fc8fbe3c7 100644 --- a/hw/usb/Kconfig +++ b/hw/usb/Kconfig @@ -96,6 +96,11

[PATCH v2 02/13] docs: Add USB U2F key device documentation

2020-08-24 Thread César Belley
Add USB U2F key device documentation: - USB U2F key device - Building - Using u2f-emulated - Using u2f-passthru - Libu2f-emu Signed-off-by: César Belley --- docs/u2f.txt | 101 +++ 1 file changed, 101 insertions(+) create mode 100644 docs/u2f.txt

[PATCH v2 06/13] hw/usb: Add U2F key emulated mode

2020-08-24 Thread César Belley
information about libu2f-emu see this page: https://github.com/MattGorko/libu2f-emu. Signed-off-by: César Belley --- hw/usb/u2f-emulated.c | 405 ++ 1 file changed, 405 insertions(+) create mode 100644 hw/usb/u2f-emulated.c diff --git a/hw/usb/u2f-emulated.c b/hw

[PATCH v2 00/13] Introduce USB U2F key device

2020-08-24 Thread César Belley
F security key shared on several guests which is not possible with a simple host device assignment pass-through. The emulated mode consists of completely emulating the behavior of an U2F device through software part. Libu2f-emu is used for that. Regards, César Belley History: v1 -> v2: -

[PATCH 12/13] hw/usb: Add U2F device check to passthru mode

2020-08-12 Thread César Belley
This patchs adds a check to verify that the device passed through the hidraw property is a U2F device. The check is done by ensuring that the first values of the report descriptor (USAGE PAGE and USAGE) correspond to those of a U2F device. Signed-off-by: César Belley --- hw/usb/Makefile.objs

[PATCH 11/13] scripts: Add u2f-setup-gen script

2020-08-12 Thread César Belley
This patch adds the script used to generate setup directories, needed for the device u2f-emulated configuration in directory mode: python u2f-setup-gen.py $DIR qemu -usb -device u2f-emulated,dir=$DIR Signed-off-by: César Belley --- scripts/u2f-setup-gen.py | 170

[PATCH 09/13] docs/system: Add U2F key to the USB devices examples

2020-08-12 Thread César Belley
Signed-off-by: César Belley --- docs/system/usb.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/system/usb.rst b/docs/system/usb.rst index ddfa828d74..9a2f1927c4 100644 --- a/docs/system/usb.rst +++ b/docs/system/usb.rst @@ -81,6 +81,9 @@ option or the ``device_add`` monitor

[PATCH 07/13] hw/usb: Add U2F key build recipe

2020-08-12 Thread César Belley
Signed-off-by: César Belley --- hw/usb/Kconfig | 5 + hw/usb/Makefile.objs | 7 +++ 2 files changed, 12 insertions(+) diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig index 5e63dc75f8..3fc8fbe3c7 100644 --- a/hw/usb/Kconfig +++ b/hw/usb/Kconfig @@ -96,6 +96,11 @@ config

[PATCH 06/13] hw/usb: Add U2F key emulated mode

2020-08-12 Thread César Belley
information about libu2f-emu see this page: https://github.com/MattGorko/libu2f-emu. Signed-off-by: César Belley --- hw/usb/u2f-emulated.c | 405 ++ 1 file changed, 405 insertions(+) create mode 100644 hw/usb/u2f-emulated.c diff --git a/hw/usb/u2f-emulated.c b/hw

[PATCH 10/13] docs/qdev-device-use.txt: Add USB U2F key to the QDEV devices examples

2020-08-12 Thread César Belley
Signed-off-by: César Belley --- docs/qdev-device-use.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/qdev-device-use.txt b/docs/qdev-device-use.txt index f8d0d2fe29..9889521e3c 100644 --- a/docs/qdev-device-use.txt +++ b/docs/qdev-device-use.txt @@ -325,6 +325,7 @@ The new way is

[PATCH 04/13] hw/usb: Add U2F key base class implementation

2020-08-12 Thread César Belley
provides the public API used by its variants to send U2FHID packets to the guest. Signed-off-by: César Belley --- hw/usb/u2f.c | 352 +++ 1 file changed, 352 insertions(+) create mode 100644 hw/usb/u2f.c diff --git a/hw/usb/u2f.c b/hw/usb/u2f.c

[PATCH 08/13] configure: Add USB U2F key device

2020-08-12 Thread César Belley
Signed-off-by: César Belley --- configure | 27 +++ 1 file changed, 27 insertions(+) diff --git a/configure b/configure index 2acc4d1465..3ea5e561ff 100755 --- a/configure +++ b/configure @@ -447,6 +447,7 @@ trace_file="trace" spice="" rbd=&

[PATCH 05/13] hw/usb: Add U2F key passthru mode

2020-08-12 Thread César Belley
,hidraw=/dev/hidrawX Autoscan and U2F compatibility checking features are given at the end of the patch series. Signed-off-by: César Belley --- hw/usb/u2f-passthru.c | 423 ++ 1 file changed, 423 insertions(+) create mode 100644 hw/usb/u2f-passthru.c diff

[PATCH 01/13] hw/usb: Regroup USB HID protocol values

2020-08-12 Thread César Belley
Group some HID values that are used pretty much everywhere when dealing with HID devices. Signed-off-by: César Belley --- hw/usb/dev-hid.c | 26 +++--- hw/usb/dev-wacom.c | 12 +++- include/hw/usb/hid.h | 17 + 3 files changed, 27 insertions

[PATCH 02/13] docs: Add USB U2F key device documentation

2020-08-12 Thread César Belley
Add USB U2F key device documentation: - USB U2F key device - Building - Using u2f-emulated - Using u2f-passthru - Libu2f-emu Signed-off-by: César Belley --- docs/u2f.txt | 101 +++ 1 file changed, 101 insertions(+) create mode 100644 docs/u2f.txt

[PATCH 03/13] hw/usb: Add U2F key base class

2020-08-12 Thread César Belley
u2f-key -> {u2f-passthru, u2f-emulated}. Signed-off-by: César Belley --- hw/usb/u2f.h | 92 1 file changed, 92 insertions(+) create mode 100644 hw/usb/u2f.h diff --git a/hw/usb/u2f.h b/hw/usb/u2f.h new file mode 100644 index 00..db30

[PATCH 13/13] hw/usb: Add U2F device autoscan to passthru mode

2020-08-12 Thread César Belley
: César Belley --- docs/u2f.txt | 9 hw/usb/Makefile.objs | 1 + hw/usb/u2f-passthru.c | 113 +- 3 files changed, 110 insertions(+), 13 deletions(-) diff --git a/docs/u2f.txt b/docs/u2f.txt index f60052882e..8f44994818 100644 --- a/docs/u2f.txt

[PATCH 00/13] Introduce USB U2F key device

2020-08-12 Thread César Belley
have a U2F security key shared on several guests which is not possible with a simple host device assignment pass-through. The emulated mode consists of completely emulating the behavior of an U2F device through software part. Libu2f-emu is used for that. Regards, César Belley César Belley (13): hw/us

[Qemu-devel] [Bug 1843133] Re: Possibly incorrect branch in qemu-system-hppa

2019-09-17 Thread Paulo César Pereira de Andrade
I built qemu 4.1.0, and the problem no longer happens. It is good enough for me. ** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1843133

[Qemu-devel] [Bug 1843133] Re: Possibly incorrect branch in qemu-system-hppa

2019-09-07 Thread Paulo César Pereira de Andrade
As a side note, the branch is correct if testing 0xffe + 2 or other combinations to cause a signed overflow. The only special pattern that fails is '0x7ff + 1'. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.laun

[Qemu-devel] [Bug 1843133] [NEW] Possibly incorrect branch in qemu-system-hppa

2019-09-07 Thread Paulo César Pereira de Andrade
Public bug reported: I plan to release a new GNU Lightning soon. I no longer have access to any physical HPPA, but code that was tested some years ago did work on HPPA/HP-UX, and now it appears qemu-system-hppa incorrectly branches in code generated by GNU Lightning. Currently only 32 bit hppa jit

[Qemu-devel] [Bug 1311614] Re: qemu-arm segfaults with gcc 4.9.0

2014-05-27 Thread Paulo César Pereira de Andrade
I debugged it originally but did only suggest a temporary workaround... The crash, not really in qemu, looks like this: --%<-- Remote debugging using localhost:1235 Reading symbols from /home/fedya/openmandriva/home/fedya/root/lib/ld-linux-armhf.so.3...Reading symbols from /home2/fedya/openmandriv

[Qemu-devel] Monitor instruction execution

2012-04-03 Thread César
? César.

[Qemu-devel] Monitor Instruction Execution

2012-04-03 Thread César
? César.

[Qemu-devel] Monitor instruction execution

2012-04-02 Thread César
rking. Any ideas on this? César.

[Qemu-devel] (no subject)

2012-04-02 Thread César
rking. Any ideas on this? César.