[libvirt] [PATCH] test_driver: implement virDomainSendKey

2019-06-01 Thread Ilias Stamatis
Validate @keycodes and sleep for @holdtime before successfully returning. Signed-off-by: Ilias Stamatis --- src/test/test_driver.c | 40 1 file changed, 40 insertions(+) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index

[libvirt] [PATCH] virDomainSendKey: validate codeset argument

2019-06-01 Thread Ilias Stamatis
This argument wasn't validated anywhere, neither in the generic implementation nor in the individual drivers. As a result a call to this function with a large enough codeset value prior to this change causes libvirtd to crash. This happens because all drivers call virKeycodeValueTranslate which

Re: [libvirt] [PATCH] qemu: fix pr-helper0 remain

2019-06-01 Thread wangjie (P)
Thanks,Michal     I understand what you mean, and I have sent the second patch “PATCH v2”,please review it.   :) Jie On 2019/5/31 16:55, Michal Privoznik wrote: On 5/31/19 10:06 AM, wangjie (P) wrote: Hi, Michal: Sorry, I don't think out which case make us to do that, what are the