qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 6/8] char: move qemu_openpty_raw from util/ to char/


From: Paolo Bonzini
Subject: Re: [PATCH 6/8] char: move qemu_openpty_raw from util/ to char/
Date: Sat, 26 Feb 2022 08:38:15 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 2/24/22 18:04, Marc-André Lureau wrote:
Paolo,

This patch is ok, but in some (new?) circumstances it fails with freebsd and reveals that -lutil was missing for kinfo_getproc() in util/oslib-posix.c. Please add:

-util_ss.add(when: 'CONFIG_POSIX', if_true: files('oslib-posix.c'))
+util_ss.add(when: 'CONFIG_POSIX', if_true: [files('oslib-posix.c'), util])

(even better if we made this specific to freebsd I guess, but not strictly necessary)

Looking again at the patch (because indeed it broke CI :)), I'm not sure it's a good idea. The code seems to be partly taken from other projects and doesn't follow the QEMU coding standards.

Paolo



reply via email to

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