* [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
@ 2020-07-04 9:23 Peter Maydell
2020-07-04 10:34 ` Philippe Mathieu-Daudé
2020-07-04 17:11 ` Thomas Huth
0 siblings, 2 replies; 16+ messages in thread
From: Peter Maydell @ 2020-07-04 9:23 UTC (permalink / raw)
To: qemu-devel; +Cc: Jason Wang, Philippe Mathieu-Daudé, Michele Denber
In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
so that it was always included from .c files and never from other .h files.
We missed adding it to net/tap-solaris.c (which previously was pulling it
in via tap-int.h), which broke building on Solaris hosts.
Fixes: a8d2532645cf5ce4
Reported-by: Michele Denber <denber@mindspring.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
Untested: Michele, could you give this a try?
---
net/tap-solaris.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/tap-solaris.c b/net/tap-solaris.c
index 4725d2314ee..d03165c57c9 100644
--- a/net/tap-solaris.c
+++ b/net/tap-solaris.c
@@ -27,6 +27,7 @@
#include "tap_int.h"
#include "qemu/ctype.h"
#include "qemu/cutils.h"
+#include "qemu-common.h"
#include <sys/ethernet.h>
#include <sys/sockio.h>
--
2.20.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
2020-07-04 9:23 [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro Peter Maydell
@ 2020-07-04 10:34 ` Philippe Mathieu-Daudé
2020-07-04 17:11 ` Thomas Huth
1 sibling, 0 replies; 16+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-07-04 10:34 UTC (permalink / raw)
To: Peter Maydell, qemu-devel; +Cc: Jason Wang, Michele Denber
On 7/4/20 11:23 AM, Peter Maydell wrote:
> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
> so that it was always included from .c files and never from other .h files.
> We missed adding it to net/tap-solaris.c (which previously was pulling it
> in via tap-int.h), which broke building on Solaris hosts.
>
> Fixes: a8d2532645cf5ce4
> Reported-by: Michele Denber <denber@mindspring.com>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> Untested: Michele, could you give this a try?
> ---
> net/tap-solaris.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
> index 4725d2314ee..d03165c57c9 100644
> --- a/net/tap-solaris.c
> +++ b/net/tap-solaris.c
> @@ -27,6 +27,7 @@
> #include "tap_int.h"
> #include "qemu/ctype.h"
> #include "qemu/cutils.h"
> +#include "qemu-common.h"
>
> #include <sys/ethernet.h>
> #include <sys/sockio.h>
>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
2020-07-04 9:23 [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro Peter Maydell
@ 2020-07-04 17:11 ` Thomas Huth
2020-07-04 17:11 ` Thomas Huth
1 sibling, 0 replies; 16+ messages in thread
From: Thomas Huth @ 2020-07-04 17:11 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
Cc: Jason Wang, Philippe Mathieu-Daudé, Michele Denber,
QEMU Trivial
On 04/07/2020 11.23, Peter Maydell wrote:
> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
> so that it was always included from .c files and never from other .h files.
> We missed adding it to net/tap-solaris.c (which previously was pulling it
> in via tap-int.h), which broke building on Solaris hosts.
>
> Fixes: a8d2532645cf5ce4
> Reported-by: Michele Denber <denber@mindspring.com>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> Untested: Michele, could you give this a try?
> ---
> net/tap-solaris.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
> index 4725d2314ee..d03165c57c9 100644
> --- a/net/tap-solaris.c
> +++ b/net/tap-solaris.c
> @@ -27,6 +27,7 @@
> #include "tap_int.h"
> #include "qemu/ctype.h"
> #include "qemu/cutils.h"
> +#include "qemu-common.h"
>
> #include <sys/ethernet.h>
> #include <sys/sockio.h>
>
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
@ 2020-07-04 17:11 ` Thomas Huth
0 siblings, 0 replies; 16+ messages in thread
From: Thomas Huth @ 2020-07-04 17:11 UTC (permalink / raw)
To: Peter Maydell, qemu-devel
Cc: QEMU Trivial, Jason Wang, Philippe Mathieu-Daudé,
Michele Denber
On 04/07/2020 11.23, Peter Maydell wrote:
> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
> so that it was always included from .c files and never from other .h files.
> We missed adding it to net/tap-solaris.c (which previously was pulling it
> in via tap-int.h), which broke building on Solaris hosts.
>
> Fixes: a8d2532645cf5ce4
> Reported-by: Michele Denber <denber@mindspring.com>
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
> Untested: Michele, could you give this a try?
> ---
> net/tap-solaris.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
> index 4725d2314ee..d03165c57c9 100644
> --- a/net/tap-solaris.c
> +++ b/net/tap-solaris.c
> @@ -27,6 +27,7 @@
> #include "tap_int.h"
> #include "qemu/ctype.h"
> #include "qemu/cutils.h"
> +#include "qemu-common.h"
>
> #include <sys/ethernet.h>
> #include <sys/sockio.h>
>
Reviewed-by: Thomas Huth <thuth@redhat.com>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
2020-07-04 17:11 ` Thomas Huth
@ 2020-07-04 18:13 ` Michele Denber
-1 siblings, 0 replies; 16+ messages in thread
From: Michele Denber @ 2020-07-04 18:13 UTC (permalink / raw)
To: Thomas Huth
Cc: Peter Maydell, qemu-devel, Jason Wang,
Philippe Mathieu-Daudé, QEMU Trivial
[-- Attachment #1: Type: text/plain, Size: 1194 bytes --]
On 07/04/20 13:11, Thomas Huth wrote:
> On 04/07/2020 11.23, Peter Maydell wrote:
>> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
>> so that it was always included from .c files and never from other .h files.
>> We missed adding it to net/tap-solaris.c (which previously was pulling it
>> in via tap-int.h), which broke building on Solaris hosts.
>>
>> Fixes: a8d2532645cf5ce4
>> Reported-by: Michele Denber<denber@mindspring.com>
>> Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
>> ---
>> Untested: Michele, could you give this a try?
>> ---
>> net/tap-solaris.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
>> index 4725d2314ee..d03165c57c9 100644
>> --- a/net/tap-solaris.c
>> +++ b/net/tap-solaris.c
>> @@ -27,6 +27,7 @@
>> #include "tap_int.h"
>> #include "qemu/ctype.h"
>> #include "qemu/cutils.h"
>> +#include "qemu-common.h"
>>
>> #include<sys/ethernet.h>
>> #include<sys/sockio.h>
>>
I can confirm that this works in Solaris 11.4:
root@hemlock:~/qemu-5.0.0# gpatch -p1 < tap-solaris.patch.diff
patching file net/tap-solaris.c
root@hemlock:~/qemu-5.0.0#
- Michele
[-- Attachment #2: Type: text/html, Size: 2000 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
@ 2020-07-04 18:13 ` Michele Denber
0 siblings, 0 replies; 16+ messages in thread
From: Michele Denber @ 2020-07-04 18:13 UTC (permalink / raw)
To: Thomas Huth
Cc: QEMU Trivial, Peter Maydell, Jason Wang, qemu-devel,
Philippe Mathieu-Daudé
[-- Attachment #1: Type: text/plain, Size: 1194 bytes --]
On 07/04/20 13:11, Thomas Huth wrote:
> On 04/07/2020 11.23, Peter Maydell wrote:
>> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
>> so that it was always included from .c files and never from other .h files.
>> We missed adding it to net/tap-solaris.c (which previously was pulling it
>> in via tap-int.h), which broke building on Solaris hosts.
>>
>> Fixes: a8d2532645cf5ce4
>> Reported-by: Michele Denber<denber@mindspring.com>
>> Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
>> ---
>> Untested: Michele, could you give this a try?
>> ---
>> net/tap-solaris.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
>> index 4725d2314ee..d03165c57c9 100644
>> --- a/net/tap-solaris.c
>> +++ b/net/tap-solaris.c
>> @@ -27,6 +27,7 @@
>> #include "tap_int.h"
>> #include "qemu/ctype.h"
>> #include "qemu/cutils.h"
>> +#include "qemu-common.h"
>>
>> #include<sys/ethernet.h>
>> #include<sys/sockio.h>
>>
I can confirm that this works in Solaris 11.4:
root@hemlock:~/qemu-5.0.0# gpatch -p1 < tap-solaris.patch.diff
patching file net/tap-solaris.c
root@hemlock:~/qemu-5.0.0#
- Michele
[-- Attachment #2: Type: text/html, Size: 2000 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
2020-07-04 18:13 ` Michele Denber
(?)
@ 2020-07-06 17:04 ` Laurent Vivier
2020-07-06 17:56 ` Philippe Mathieu-Daudé
2020-07-07 15:23 ` Michele Denber
-1 siblings, 2 replies; 16+ messages in thread
From: Laurent Vivier @ 2020-07-06 17:04 UTC (permalink / raw)
To: Michele Denber, Thomas Huth
Cc: QEMU Trivial, Peter Maydell, Jason Wang, qemu-devel,
Philippe Mathieu-Daudé
Le 04/07/2020 à 20:13, Michele Denber a écrit :
> On 07/04/20 13:11, Thomas Huth wrote:
>> On 04/07/2020 11.23, Peter Maydell wrote:
>>> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
>>> so that it was always included from .c files and never from other .h files.
>>> We missed adding it to net/tap-solaris.c (which previously was pulling it
>>> in via tap-int.h), which broke building on Solaris hosts.
>>>
>>> Fixes: a8d2532645cf5ce4
>>> Reported-by: Michele Denber <denber@mindspring.com>
>>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
>>> ---
>>> Untested: Michele, could you give this a try?
>>> ---
>>> net/tap-solaris.c | 1 +
>>> 1 file changed, 1 insertion(+)
>>>
>>> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
>>> index 4725d2314ee..d03165c57c9 100644
>>> --- a/net/tap-solaris.c
>>> +++ b/net/tap-solaris.c
>>> @@ -27,6 +27,7 @@
>>> #include "tap_int.h"
>>> #include "qemu/ctype.h"
>>> #include "qemu/cutils.h"
>>> +#include "qemu-common.h"
>>>
>>> #include <sys/ethernet.h>
>>> #include <sys/sockio.h>
>>>
> I can confirm that this works in Solaris 11.4:
>
> root@hemlock:~/qemu-5.0.0# gpatch -p1 < tap-solaris.patch.diff
> patching file net/tap-solaris.c
> root@hemlock:~/qemu-5.0.0#
Do you mean building on Solaris hosts works well now?
In this case, you can add a "Tested-by:" tag.
Thanks,
Laurent
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
2020-07-06 17:04 ` Laurent Vivier
@ 2020-07-06 17:56 ` Philippe Mathieu-Daudé
2020-07-07 15:23 ` Michele Denber
1 sibling, 0 replies; 16+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-07-06 17:56 UTC (permalink / raw)
To: Laurent Vivier
Cc: Michele Denber, Thomas Huth, QEMU Trivial, Peter Maydell,
Jason Wang, QEMU Developers, Philippe Mathieu-Daudé
On Mon, Jul 6, 2020 at 7:30 PM Laurent Vivier <laurent@vivier.eu> wrote:
> Le 04/07/2020 à 20:13, Michele Denber a écrit :
> > On 07/04/20 13:11, Thomas Huth wrote:
> >> On 04/07/2020 11.23, Peter Maydell wrote:
> >>> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
> >>> so that it was always included from .c files and never from other .h files.
> >>> We missed adding it to net/tap-solaris.c (which previously was pulling it
> >>> in via tap-int.h), which broke building on Solaris hosts.
> >>>
> >>> Fixes: a8d2532645cf5ce4
> >>> Reported-by: Michele Denber <denber@mindspring.com>
> >>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> >>> ---
> >>> Untested: Michele, could you give this a try?
> >>> ---
> >>> net/tap-solaris.c | 1 +
> >>> 1 file changed, 1 insertion(+)
> >>>
> >>> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
> >>> index 4725d2314ee..d03165c57c9 100644
> >>> --- a/net/tap-solaris.c
> >>> +++ b/net/tap-solaris.c
> >>> @@ -27,6 +27,7 @@
> >>> #include "tap_int.h"
> >>> #include "qemu/ctype.h"
> >>> #include "qemu/cutils.h"
> >>> +#include "qemu-common.h"
> >>>
> >>> #include <sys/ethernet.h>
> >>> #include <sys/sockio.h>
> >>>
> > I can confirm that this works in Solaris 11.4:
> >
> > root@hemlock:~/qemu-5.0.0# gpatch -p1 < tap-solaris.patch.diff
> > patching file net/tap-solaris.c
> > root@hemlock:~/qemu-5.0.0#
>
> Do you mean building on Solaris hosts works well now?
This only shows the patch applies properly, but ...
>
> In this case, you can add a "Tested-by:" tag.
Here after you have the confirmation the patch worked:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg720033.html
So IMO this is worth a:
Tested-by: Michele Denber <denber@mindspring.com>
>
> Thanks,
> Laurent
>
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
@ 2020-07-06 17:56 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 16+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-07-06 17:56 UTC (permalink / raw)
To: Laurent Vivier
Cc: Peter Maydell, Thomas Huth, QEMU Trivial, Jason Wang,
QEMU Developers, Philippe Mathieu-Daudé, Michele Denber
On Mon, Jul 6, 2020 at 7:30 PM Laurent Vivier <laurent@vivier.eu> wrote:
> Le 04/07/2020 à 20:13, Michele Denber a écrit :
> > On 07/04/20 13:11, Thomas Huth wrote:
> >> On 04/07/2020 11.23, Peter Maydell wrote:
> >>> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
> >>> so that it was always included from .c files and never from other .h files.
> >>> We missed adding it to net/tap-solaris.c (which previously was pulling it
> >>> in via tap-int.h), which broke building on Solaris hosts.
> >>>
> >>> Fixes: a8d2532645cf5ce4
> >>> Reported-by: Michele Denber <denber@mindspring.com>
> >>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> >>> ---
> >>> Untested: Michele, could you give this a try?
> >>> ---
> >>> net/tap-solaris.c | 1 +
> >>> 1 file changed, 1 insertion(+)
> >>>
> >>> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
> >>> index 4725d2314ee..d03165c57c9 100644
> >>> --- a/net/tap-solaris.c
> >>> +++ b/net/tap-solaris.c
> >>> @@ -27,6 +27,7 @@
> >>> #include "tap_int.h"
> >>> #include "qemu/ctype.h"
> >>> #include "qemu/cutils.h"
> >>> +#include "qemu-common.h"
> >>>
> >>> #include <sys/ethernet.h>
> >>> #include <sys/sockio.h>
> >>>
> > I can confirm that this works in Solaris 11.4:
> >
> > root@hemlock:~/qemu-5.0.0# gpatch -p1 < tap-solaris.patch.diff
> > patching file net/tap-solaris.c
> > root@hemlock:~/qemu-5.0.0#
>
> Do you mean building on Solaris hosts works well now?
This only shows the patch applies properly, but ...
>
> In this case, you can add a "Tested-by:" tag.
Here after you have the confirmation the patch worked:
https://www.mail-archive.com/qemu-devel@nongnu.org/msg720033.html
So IMO this is worth a:
Tested-by: Michele Denber <denber@mindspring.com>
>
> Thanks,
> Laurent
>
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
2020-07-06 17:56 ` Philippe Mathieu-Daudé
@ 2020-07-06 19:30 ` Laurent Vivier
-1 siblings, 0 replies; 16+ messages in thread
From: Laurent Vivier @ 2020-07-06 19:30 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: Michele Denber, Thomas Huth, QEMU Trivial, Peter Maydell,
Jason Wang, QEMU Developers, Philippe Mathieu-Daudé
Le 06/07/2020 à 19:56, Philippe Mathieu-Daudé a écrit :
> On Mon, Jul 6, 2020 at 7:30 PM Laurent Vivier <laurent@vivier.eu> wrote:
>> Le 04/07/2020 à 20:13, Michele Denber a écrit :
>>> On 07/04/20 13:11, Thomas Huth wrote:
>>>> On 04/07/2020 11.23, Peter Maydell wrote:
>>>>> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
>>>>> so that it was always included from .c files and never from other .h files.
>>>>> We missed adding it to net/tap-solaris.c (which previously was pulling it
>>>>> in via tap-int.h), which broke building on Solaris hosts.
>>>>>
>>>>> Fixes: a8d2532645cf5ce4
>>>>> Reported-by: Michele Denber <denber@mindspring.com>
>>>>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
>>>>> ---
>>>>> Untested: Michele, could you give this a try?
>>>>> ---
>>>>> net/tap-solaris.c | 1 +
>>>>> 1 file changed, 1 insertion(+)
>>>>>
>>>>> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
>>>>> index 4725d2314ee..d03165c57c9 100644
>>>>> --- a/net/tap-solaris.c
>>>>> +++ b/net/tap-solaris.c
>>>>> @@ -27,6 +27,7 @@
>>>>> #include "tap_int.h"
>>>>> #include "qemu/ctype.h"
>>>>> #include "qemu/cutils.h"
>>>>> +#include "qemu-common.h"
>>>>>
>>>>> #include <sys/ethernet.h>
>>>>> #include <sys/sockio.h>
>>>>>
>>> I can confirm that this works in Solaris 11.4:
>>>
>>> root@hemlock:~/qemu-5.0.0# gpatch -p1 < tap-solaris.patch.diff
>>> patching file net/tap-solaris.c
>>> root@hemlock:~/qemu-5.0.0#
>>
>> Do you mean building on Solaris hosts works well now?
>
> This only shows the patch applies properly, but ...
>
>>
>> In this case, you can add a "Tested-by:" tag.
>
> Here after you have the confirmation the patch worked:
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg720033.html
> So IMO this is worth a:
> Tested-by: Michele Denber <denber@mindspring.com>
>
Thank you.
Applied to my trivial-patches-for-5.1 branch.
Thanks,
Laurent
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
@ 2020-07-06 19:30 ` Laurent Vivier
0 siblings, 0 replies; 16+ messages in thread
From: Laurent Vivier @ 2020-07-06 19:30 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: Peter Maydell, Thomas Huth, QEMU Trivial, Jason Wang,
QEMU Developers, Philippe Mathieu-Daudé, Michele Denber
Le 06/07/2020 à 19:56, Philippe Mathieu-Daudé a écrit :
> On Mon, Jul 6, 2020 at 7:30 PM Laurent Vivier <laurent@vivier.eu> wrote:
>> Le 04/07/2020 à 20:13, Michele Denber a écrit :
>>> On 07/04/20 13:11, Thomas Huth wrote:
>>>> On 04/07/2020 11.23, Peter Maydell wrote:
>>>>> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
>>>>> so that it was always included from .c files and never from other .h files.
>>>>> We missed adding it to net/tap-solaris.c (which previously was pulling it
>>>>> in via tap-int.h), which broke building on Solaris hosts.
>>>>>
>>>>> Fixes: a8d2532645cf5ce4
>>>>> Reported-by: Michele Denber <denber@mindspring.com>
>>>>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
>>>>> ---
>>>>> Untested: Michele, could you give this a try?
>>>>> ---
>>>>> net/tap-solaris.c | 1 +
>>>>> 1 file changed, 1 insertion(+)
>>>>>
>>>>> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
>>>>> index 4725d2314ee..d03165c57c9 100644
>>>>> --- a/net/tap-solaris.c
>>>>> +++ b/net/tap-solaris.c
>>>>> @@ -27,6 +27,7 @@
>>>>> #include "tap_int.h"
>>>>> #include "qemu/ctype.h"
>>>>> #include "qemu/cutils.h"
>>>>> +#include "qemu-common.h"
>>>>>
>>>>> #include <sys/ethernet.h>
>>>>> #include <sys/sockio.h>
>>>>>
>>> I can confirm that this works in Solaris 11.4:
>>>
>>> root@hemlock:~/qemu-5.0.0# gpatch -p1 < tap-solaris.patch.diff
>>> patching file net/tap-solaris.c
>>> root@hemlock:~/qemu-5.0.0#
>>
>> Do you mean building on Solaris hosts works well now?
>
> This only shows the patch applies properly, but ...
>
>>
>> In this case, you can add a "Tested-by:" tag.
>
> Here after you have the confirmation the patch worked:
> https://www.mail-archive.com/qemu-devel@nongnu.org/msg720033.html
> So IMO this is worth a:
> Tested-by: Michele Denber <denber@mindspring.com>
>
Thank you.
Applied to my trivial-patches-for-5.1 branch.
Thanks,
Laurent
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
2020-07-06 17:04 ` Laurent Vivier
@ 2020-07-07 15:23 ` Michele Denber
2020-07-07 15:23 ` Michele Denber
1 sibling, 0 replies; 16+ messages in thread
From: Michele Denber @ 2020-07-07 15:23 UTC (permalink / raw)
To: Laurent Vivier
Cc: Thomas Huth, QEMU Trivial, Peter Maydell, Jason Wang, qemu-devel,
Philippe Mathieu-Daudé
On 07/06/20 13:04, Laurent Vivier wrote:
> Le 04/07/2020 à 20:13, Michele Denber a écrit :
>> On 07/04/20 13:11, Thomas Huth wrote:
>>> On 04/07/2020 11.23, Peter Maydell wrote:
>>>> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
>>>> so that it was always included from .c files and never from other .h files.
>>>> We missed adding it to net/tap-solaris.c (which previously was pulling it
>>>> in via tap-int.h), which broke building on Solaris hosts.
>>>>
>>>> Fixes: a8d2532645cf5ce4
>>>> Reported-by: Michele Denber<denber@mindspring.com>
>>>> Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
>>>> ---
>>>> Untested: Michele, could you give this a try?
>>>> ---
>>>> net/tap-solaris.c | 1 +
>>>> 1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
>>>> index 4725d2314ee..d03165c57c9 100644
>>>> --- a/net/tap-solaris.c
>>>> +++ b/net/tap-solaris.c
>>>> @@ -27,6 +27,7 @@
>>>> #include "tap_int.h"
>>>> #include "qemu/ctype.h"
>>>> #include "qemu/cutils.h"
>>>> +#include "qemu-common.h"
>>>>
>>>> #include<sys/ethernet.h>
>>>> #include<sys/sockio.h>
>>>>
>> I can confirm that this works in Solaris 11.4:
>>
>> root@hemlock:~/qemu-5.0.0# gpatch -p1< tap-solaris.patch.diff
>> patching file net/tap-solaris.c
>> root@hemlock:~/qemu-5.0.0#
> Do you mean building on Solaris hosts works well now?
In that message I meant that the tap-solaris patch worked. However,
yes, I have now successfully built all of QEMU 5.0 on Solaris 11.4 SPARC.
>
> In this case, you can add a "Tested-by:" tag.
I'd be glad to but how do I do that?
- Michele
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
@ 2020-07-07 15:23 ` Michele Denber
0 siblings, 0 replies; 16+ messages in thread
From: Michele Denber @ 2020-07-07 15:23 UTC (permalink / raw)
To: Laurent Vivier
Cc: Peter Maydell, Thomas Huth, QEMU Trivial, Jason Wang,
Philippe Mathieu-Daudé, qemu-devel
On 07/06/20 13:04, Laurent Vivier wrote:
> Le 04/07/2020 à 20:13, Michele Denber a écrit :
>> On 07/04/20 13:11, Thomas Huth wrote:
>>> On 04/07/2020 11.23, Peter Maydell wrote:
>>>> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
>>>> so that it was always included from .c files and never from other .h files.
>>>> We missed adding it to net/tap-solaris.c (which previously was pulling it
>>>> in via tap-int.h), which broke building on Solaris hosts.
>>>>
>>>> Fixes: a8d2532645cf5ce4
>>>> Reported-by: Michele Denber<denber@mindspring.com>
>>>> Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
>>>> ---
>>>> Untested: Michele, could you give this a try?
>>>> ---
>>>> net/tap-solaris.c | 1 +
>>>> 1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
>>>> index 4725d2314ee..d03165c57c9 100644
>>>> --- a/net/tap-solaris.c
>>>> +++ b/net/tap-solaris.c
>>>> @@ -27,6 +27,7 @@
>>>> #include "tap_int.h"
>>>> #include "qemu/ctype.h"
>>>> #include "qemu/cutils.h"
>>>> +#include "qemu-common.h"
>>>>
>>>> #include<sys/ethernet.h>
>>>> #include<sys/sockio.h>
>>>>
>> I can confirm that this works in Solaris 11.4:
>>
>> root@hemlock:~/qemu-5.0.0# gpatch -p1< tap-solaris.patch.diff
>> patching file net/tap-solaris.c
>> root@hemlock:~/qemu-5.0.0#
> Do you mean building on Solaris hosts works well now?
In that message I meant that the tap-solaris patch worked. However,
yes, I have now successfully built all of QEMU 5.0 on Solaris 11.4 SPARC.
>
> In this case, you can add a "Tested-by:" tag.
I'd be glad to but how do I do that?
- Michele
^ permalink raw reply [flat|nested] 16+ messages in thread* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
2020-07-07 15:23 ` Michele Denber
@ 2020-07-07 16:18 ` Laurent Vivier
-1 siblings, 0 replies; 16+ messages in thread
From: Laurent Vivier @ 2020-07-07 16:18 UTC (permalink / raw)
To: Michele Denber
Cc: Thomas Huth, QEMU Trivial, Peter Maydell, Jason Wang, qemu-devel,
Philippe Mathieu-Daudé
Le 07/07/2020 à 17:23, Michele Denber a écrit :
>
>
> On 07/06/20 13:04, Laurent Vivier wrote:
>> Le 04/07/2020 à 20:13, Michele Denber a écrit :
>>> On 07/04/20 13:11, Thomas Huth wrote:
>>>> On 04/07/2020 11.23, Peter Maydell wrote:
>>>>> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h
>>>>> header
>>>>> so that it was always included from .c files and never from other
>>>>> .h files.
>>>>> We missed adding it to net/tap-solaris.c (which previously was
>>>>> pulling it
>>>>> in via tap-int.h), which broke building on Solaris hosts.
>>>>>
>>>>> Fixes: a8d2532645cf5ce4
>>>>> Reported-by: Michele Denber<denber@mindspring.com>
>>>>> Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
>>>>> ---
>>>>> Untested: Michele, could you give this a try?
>>>>> ---
>>>>> net/tap-solaris.c | 1 +
>>>>> 1 file changed, 1 insertion(+)
>>>>>
>>>>> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
>>>>> index 4725d2314ee..d03165c57c9 100644
>>>>> --- a/net/tap-solaris.c
>>>>> +++ b/net/tap-solaris.c
>>>>> @@ -27,6 +27,7 @@
>>>>> #include "tap_int.h"
>>>>> #include "qemu/ctype.h"
>>>>> #include "qemu/cutils.h"
>>>>> +#include "qemu-common.h"
>>>>>
>>>>> #include<sys/ethernet.h>
>>>>> #include<sys/sockio.h>
>>>>>
>>> I can confirm that this works in Solaris 11.4:
>>>
>>> root@hemlock:~/qemu-5.0.0# gpatch -p1< tap-solaris.patch.diff
>>> patching file net/tap-solaris.c
>>> root@hemlock:~/qemu-5.0.0#
>> Do you mean building on Solaris hosts works well now?
> In that message I meant that the tap-solaris patch worked. However,
> yes, I have now successfully built all of QEMU 5.0 on Solaris 11.4 SPARC.
>>
>> In this case, you can add a "Tested-by:" tag.
> I'd be glad to but how do I do that?
Philippe has already pointed out your message with all the details.
The "Tested-by:" tag has been added by Philippe when he replied to the
message with the tag and your name.
The patch is now merged in QEMU.
Thanks,
Laurent
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
@ 2020-07-07 16:18 ` Laurent Vivier
0 siblings, 0 replies; 16+ messages in thread
From: Laurent Vivier @ 2020-07-07 16:18 UTC (permalink / raw)
To: Michele Denber
Cc: Peter Maydell, Thomas Huth, QEMU Trivial, Jason Wang,
Philippe Mathieu-Daudé, qemu-devel
Le 07/07/2020 à 17:23, Michele Denber a écrit :
>
>
> On 07/06/20 13:04, Laurent Vivier wrote:
>> Le 04/07/2020 à 20:13, Michele Denber a écrit :
>>> On 07/04/20 13:11, Thomas Huth wrote:
>>>> On 04/07/2020 11.23, Peter Maydell wrote:
>>>>> In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h
>>>>> header
>>>>> so that it was always included from .c files and never from other
>>>>> .h files.
>>>>> We missed adding it to net/tap-solaris.c (which previously was
>>>>> pulling it
>>>>> in via tap-int.h), which broke building on Solaris hosts.
>>>>>
>>>>> Fixes: a8d2532645cf5ce4
>>>>> Reported-by: Michele Denber<denber@mindspring.com>
>>>>> Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
>>>>> ---
>>>>> Untested: Michele, could you give this a try?
>>>>> ---
>>>>> net/tap-solaris.c | 1 +
>>>>> 1 file changed, 1 insertion(+)
>>>>>
>>>>> diff --git a/net/tap-solaris.c b/net/tap-solaris.c
>>>>> index 4725d2314ee..d03165c57c9 100644
>>>>> --- a/net/tap-solaris.c
>>>>> +++ b/net/tap-solaris.c
>>>>> @@ -27,6 +27,7 @@
>>>>> #include "tap_int.h"
>>>>> #include "qemu/ctype.h"
>>>>> #include "qemu/cutils.h"
>>>>> +#include "qemu-common.h"
>>>>>
>>>>> #include<sys/ethernet.h>
>>>>> #include<sys/sockio.h>
>>>>>
>>> I can confirm that this works in Solaris 11.4:
>>>
>>> root@hemlock:~/qemu-5.0.0# gpatch -p1< tap-solaris.patch.diff
>>> patching file net/tap-solaris.c
>>> root@hemlock:~/qemu-5.0.0#
>> Do you mean building on Solaris hosts works well now?
> In that message I meant that the tap-solaris patch worked. However,
> yes, I have now successfully built all of QEMU 5.0 on Solaris 11.4 SPARC.
>>
>> In this case, you can add a "Tested-by:" tag.
> I'd be glad to but how do I do that?
Philippe has already pointed out your message with all the details.
The "Tested-by:" tag has been added by Philippe when he replied to the
message with the tag and your name.
The patch is now merged in QEMU.
Thanks,
Laurent
^ permalink raw reply [flat|nested] 16+ messages in thread
* [PATCH 00/10] target/arm: Various v8.1M minor features
@ 2020-10-12 15:33 Peter Maydell
2020-10-12 15:33 ` [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro Peter Maydell
0 siblings, 1 reply; 16+ messages in thread
From: Peter Maydell @ 2020-10-12 15:33 UTC (permalink / raw)
To: qemu-arm, qemu-devel; +Cc: Richard Henderson
This patchseries implements various minor v8.1M new features,
notably the branch-future and low-overhead-loop extensions.
(None of this will get enabled until we have enough to implement
a CPU model which has v8.1M, which will be the Cortex-M55, but
as usual we can get stuff into the tree gradually.)
Patch 1 is a decodetree fix suggested by Richard that is
necessary to avoid wrong-decode of the changes to t32.decode
by later patches.
thanks
-- PMM
Peter Maydell (10):
decodetree: Fix codegen for non-overlapping group inside overlapping
group
target/arm: Implement v8.1M NOCP handling
target/arm: Implement v8.1M conditional-select insns
target/arm: Make the t32 insn[25:23]=111 group non-overlapping
target/arm: Don't allow BLX imm for M-profile
target/arm: Implement v8.1M branch-future insns (as NOPs)
target/arm: Implement v8.1M low-overhead-loop instructions
target/arm: Fix has_vfp/has_neon ID reg squashing for M-profile
target/arm: Implement FPSCR.LTPSIZE for M-profile LOB extension
target/arm: Fix writing to FPSCR.FZ16 on M-profile
target/arm/cpu.h | 7 ++
target/arm/m-nocp.decode | 10 ++-
target/arm/t32.decode | 50 +++++++----
target/arm/cpu.c | 34 ++++---
target/arm/translate.c | 157 +++++++++++++++++++++++++++++++++
target/arm/vfp_helper.c | 30 +++++--
scripts/decodetree.py | 2 +-
target/arm/translate-vfp.c.inc | 17 +++-
8 files changed, 268 insertions(+), 39 deletions(-)
--
2.20.1
^ permalink raw reply [flat|nested] 16+ messages in thread* [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro
2020-10-12 15:33 [PATCH 00/10] target/arm: Various v8.1M minor features Peter Maydell
@ 2020-10-12 15:33 ` Peter Maydell
0 siblings, 0 replies; 16+ messages in thread
From: Peter Maydell @ 2020-10-12 15:33 UTC (permalink / raw)
To: qemu-arm, qemu-devel; +Cc: Richard Henderson
In commit a8d2532645cf5ce4 we cleaned up usage of the qemu-common.h header
so that it was always included from .c files and never from other .h files.
We missed adding it to net/tap-solaris.c (which previously was pulling it
in via tap-int.h), which broke building on Solaris hosts.
Fixes: a8d2532645cf5ce4
Reported-by: Michele Denber <denber@mindspring.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
Untested: Michele, could you give this a try?
---
net/tap-solaris.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/tap-solaris.c b/net/tap-solaris.c
index 4725d2314ee..d03165c57c9 100644
--- a/net/tap-solaris.c
+++ b/net/tap-solaris.c
@@ -27,6 +27,7 @@
#include "tap_int.h"
#include "qemu/ctype.h"
#include "qemu/cutils.h"
+#include "qemu-common.h"
#include <sys/ethernet.h>
#include <sys/sockio.h>
--
2.20.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
end of thread, other threads:[~2020-10-12 15:58 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-04 9:23 [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro Peter Maydell
2020-07-04 10:34 ` Philippe Mathieu-Daudé
2020-07-04 17:11 ` Thomas Huth
2020-07-04 17:11 ` Thomas Huth
2020-07-04 18:13 ` Michele Denber
2020-07-04 18:13 ` Michele Denber
2020-07-06 17:04 ` Laurent Vivier
2020-07-06 17:56 ` Philippe Mathieu-Daudé
2020-07-06 17:56 ` Philippe Mathieu-Daudé
2020-07-06 19:30 ` Laurent Vivier
2020-07-06 19:30 ` Laurent Vivier
2020-07-07 15:23 ` Michele Denber
2020-07-07 15:23 ` Michele Denber
2020-07-07 16:18 ` Laurent Vivier
2020-07-07 16:18 ` Laurent Vivier
-- strict thread matches above, loose matches on Subject: below --
2020-10-12 15:33 [PATCH 00/10] target/arm: Various v8.1M minor features Peter Maydell
2020-10-12 15:33 ` [PATCH] net/tap-solaris.c: Include qemu-common.h for TFR macro Peter Maydell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.