From: Jason Wang <jasowang@redhat.com>
To: Vladislav Yaroshchuk <yaroshchuk2000@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [PULL 00/13] Net patches
Date: Wed, 12 Jan 2022 13:39:28 +0800 [thread overview]
Message-ID: <0a747f8c-6839-9265-e0a4-dfa42cb05d03@redhat.com> (raw)
In-Reply-To: <CADO9X9Q745CTFWA+spCfzvaC03+xYR63mbSnARUEP6xYaAefJA@mail.gmail.com>
在 2022/1/12 上午6:02, Vladislav Yaroshchuk 写道:
>
>
> вт, 11 янв. 2022 г., 5:10 AM Jason Wang <jasowang@redhat.com>:
>
> On Tue, Jan 11, 2022 at 12:49 AM Peter Maydell
> <peter.maydell@linaro.org> wrote:
> >
> > On Mon, 10 Jan 2022 at 03:40, Jason Wang <jasowang@redhat.com>
> wrote:
> > >
> > > The following changes since commit
> df722e33d5da26ea8604500ca8f509245a0ea524:
> > >
> > > Merge tag 'bsd-user-arm-pull-request' of
> gitlab.com:bsdimp/qemu into staging (2022-01-08 09:37:59 -0800)
> > >
> > > are available in the git repository at:
> > >
> > > https://github.com/jasowang/qemu.git tags/net-pull-request
> > >
> > > for you to fetch changes up to
> 5136cc6d3b8b74f4fa572f0874656947a401330e:
> > >
> > > net/vmnet: update MAINTAINERS list (2022-01-10 11:30:55 +0800)
> > >
> > > ----------------------------------------------------------------
> > >
> > > ----------------------------------------------------------------
> >
> > Fails to build on OSX Catalina:
> >
> > ../../net/vmnet-common.m:165:10: error: use of undeclared identifier
> > 'VMNET_SHARING_SERVICE_BUSY'
> > case VMNET_SHARING_SERVICE_BUSY:
> > ^
> >
> > This constant only got added in macOS 11.0. I guess that technically
> > our supported-platforms policy only requires us to support 11
> (Big Sur)
> > and 12 (Monterey) at this point, but it would be nice to still
> be able
> > to build on Catalina (10.15).
>
> Yes, it was only supported by the vmnet framework starting from
> Catalyst according to
> https://developer.apple.com/documentation/vmnet?language=objc.
>
>
> Yes, there are some symbols from macOS >= 11.0 new backend
> uses, not only this one, ex. vmnet_enable_isolation_key:
> https://developer.apple.com/documentation/vmnet/vmnet_enable_isolation_key
>
> >
> > (Personally I would like Catalina still to work at least for a
> little
> > while, because my x86 Mac is old enough that it is not supported by
> > Big Sur. I'll have to dump it once Apple stops doing security
> support
> > for Catalina, but they haven't done that quite yet.)
>
>
> Sure, broken builds on old macOSes are bad. For this case I think
> it's enough to disable vmnet for macOS < 11.0 with a probe while
> configure build step. Especially given that Apple supports ~three
> latest macOS versions, support for Catalina is expected to end
> in 2022, when QEMU releases 7.0.
That should be fine.
>
> If this workaround is not suitable and it's required to support vmnet
> in Catalina 10.15 with a subset of available features, it can be done.
> But I'll be ready to handle this in approximately two-three weeks only.
>
> Sure, Vladislav please fix this and send a new version.
>
>
> Quick fix as described above is available in v10:
> https://patchew.org/QEMU/20220111211422.21789-1-yaroshchuk2000@gmail.com/
Have you got chance to test that for macOS < 11.0?
Thanks
> Thanks
>
> >
> > -- PMM
> >
>
>
>
>
> --
> Best Regards,
>
> Vladislav Yaroshchuk
next prev parent reply other threads:[~2022-01-12 5:42 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-10 3:39 [PULL 00/13] Net patches Jason Wang
2022-01-10 3:39 ` [PULL 01/13] hw/net/vmxnet3: Log guest-triggerable errors using LOG_GUEST_ERROR Jason Wang
2022-01-10 3:39 ` [PULL 02/13] net/tap: Set return code on failure Jason Wang
2022-01-10 3:39 ` [PULL 03/13] net: Fix uninitialized data usage Jason Wang
2022-01-10 3:39 ` [PULL 04/13] net/colo-compare.c: Optimize compare order for performance Jason Wang
2022-01-10 3:39 ` [PULL 05/13] net/colo-compare.c: Update the default value comments Jason Wang
2022-01-10 3:39 ` [PULL 06/13] net/filter: Optimize filter_send to coroutine Jason Wang
2022-01-10 3:39 ` [PULL 07/13] net/vmnet: add vmnet dependency and customizable option Jason Wang
2022-01-10 3:39 ` [PULL 08/13] net/vmnet: add vmnet backends to qapi/net Jason Wang
2022-01-10 3:39 ` [PULL 09/13] net/vmnet: implement shared mode (vmnet-shared) Jason Wang
2022-01-10 3:39 ` [PULL 10/13] net/vmnet: implement host mode (vmnet-host) Jason Wang
2022-01-10 3:39 ` [PULL 11/13] net/vmnet: implement bridged mode (vmnet-bridged) Jason Wang
2022-01-10 3:39 ` [PULL 12/13] net/vmnet: update qemu-options.hx Jason Wang
2022-01-10 3:40 ` [PULL 13/13] net/vmnet: update MAINTAINERS list Jason Wang
2022-01-10 16:49 ` [PULL 00/13] Net patches Peter Maydell
2022-01-11 2:09 ` Jason Wang
2022-01-11 22:02 ` Vladislav Yaroshchuk
2022-01-12 5:39 ` Jason Wang [this message]
2022-01-12 6:19 ` Vladislav Yaroshchuk
2022-01-12 7:49 ` Jason Wang
2022-01-12 7:10 ` Roman Bolshakov
2022-01-12 7:51 ` Jason Wang
2022-01-12 13:16 ` Vladislav Yaroshchuk
-- strict thread matches above, loose matches on Subject: below --
2025-07-14 5:34 Jason Wang
2025-07-15 4:13 ` Jason Wang
2025-07-15 19:50 ` Stefan Hajnoczi
2025-07-16 2:21 ` Jason Wang
2025-07-16 4:40 ` Philippe Mathieu-Daudé
2025-07-16 10:26 ` Stefan Hajnoczi
2025-07-16 10:30 ` Stefan Hajnoczi
2021-03-22 10:07 Jason Wang
2021-03-22 14:13 ` Peter Maydell
2020-03-27 11:13 Jason Wang
2020-03-27 11:36 ` Peter Maydell
2020-03-30 9:47 ` Jason Wang
2020-03-27 12:03 ` no-reply
2020-03-27 12:05 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0a747f8c-6839-9265-e0a4-dfa42cb05d03@redhat.com \
--to=jasowang@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=yaroshchuk2000@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).