qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] trace: only permit standard C types and fixed s


From: Daniel P . Berrangé
Subject: Re: [Qemu-devel] [PATCH] trace: only permit standard C types and fixed size integer types
Date: Tue, 6 Mar 2018 16:20:34 +0000
User-agent: Mutt/1.9.2 (2017-12-15)

On Tue, Mar 06, 2018 at 08:05:18AM -0800, address@hidden wrote:
> Hi,
> 
> This series failed address@hidden build test. Please find the testing 
> commands and
> their output below. If you have Docker installed, you can probably reproduce 
> it
> locally.
> 
> Type: series
> Message-id: address@hidden
> Subject: [Qemu-devel] [PATCH] trace: only permit standard C types and fixed 
> size integer types
> 
> Traceback (most recent call last):
>   File "/tmp/qemu-test/src/scripts/tracetool.py", line 154, in <module>
>     main(sys.argv)
>   File "/tmp/qemu-test/src/scripts/tracetool.py", line 145, in main
>     events.extend(tracetool.read_events(fh))
>   File "/tmp/qemu-test/src/scripts/tracetool/__init__.py", line 358, in 
> read_events
>     event = Event.build(line)
>   File "/tmp/qemu-test/src/scripts/tracetool/__init__.py", line 280, in build
>     args = Arguments.build(groups["args"])
>   File "/tmp/qemu-test/src/scripts/tracetool/__init__.py", line 134, in build
>     validate_type(arg_type)
>   File "/tmp/qemu-test/src/scripts/tracetool/__init__.py", line 87, in 
> validate_type
>     "declared as 'void *'" % name)
> ValueError: Error on line 95: Argument type 'hwaddr' is not in whitelist. 
> Only standard C types and fixed size integer types should be used. struct, 
> union, and other complex pointer types should be declared as 'void *'


This nicely illustrates this patch working as documented !

The fix for the "hwaddr" mistake was just merged in QEMU git master, so
if patchew can be re-run, applying to latest master it should pass.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]