вт, 9 нояб. 2021 г. в 08:41, Markus Armbruster :
> Vladislav Yaroshchuk writes:
>
> > Create separate netdevs for each vmnet operating mode:
> > - vmnet-host
> > - vmnet-shared
> > - vmnet-bridged
> >
> > Signed-off-by: Vladislav Yaroshchuk
>
&g
чт, 11 нояб. 2021 г., 11:49 PM Eric Blake :
> On Thu, Nov 11, 2021 at 06:21:28PM +0300, Vladislav Yaroshchuk wrote:
> >
> > > +#
> > > > +# Since: 6.2
> > >
> > > Missed 6.2, please adjust. More of the same below.
> > >
> > >
&
Signed-off-by: Vladislav Yaroshchuk
---
meson.build | 4
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
3 files changed, 9 insertions(+)
diff --git a/meson.build b/meson.build
index 2ece4fe088..202e04af31 100644
--- a/meson.build
+++ b
k uuid setting feature
- Refactored sources a bit
v4 -> v5:
- Missed 6.2 boat, now 7.0 candidate
- Fix qapi netdev descriptions and styles
(@subnetmask -> @subnet-mask)
- Support vmnet-shared IPv6 prefix setting feature
Signed-off-by: Phillip Tennen
Signed-off-by: Vladislav Yaroshchuk
Create separate netdevs for each vmnet operating mode:
- vmnet-host
- vmnet-shared
- vmnet-bridged
Signed-off-by: Vladislav Yaroshchuk
---
net/clients.h | 11
net/meson.build | 7 +++
net/net.c | 10
net/vmnet-bridged.m | 25 +
net/vmnet-common.m
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-host.c | 99 +---
1 file changed, 93 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-host.c b/net/vmnet-host.c
index 4a5ef99dc7..f7dbd3f9bf 100644
--- a/net/vmnet-host.c
+++ b/net/vmnet-host.c
Signed-off-by: Phillip Tennen
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-common.m | 305 +
net/vmnet-shared.c | 75 ++-
net/vmnet_int.h| 23
3 files changed, 399 insertions(+), 4 deletions(-)
diff --git a/net/vmnet-common.m
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-bridged.m | 98 ++---
1 file changed, 92 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-bridged.m b/net/vmnet-bridged.m
index 4e42a90391..3c9da9dc8b 100644
--- a/net/vmnet-bridged.m
+++ b/net/vmnet
Signed-off-by: Vladislav Yaroshchuk
---
qemu-options.hx | 25 +
1 file changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index 7749f59300..350d43bbc0 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2677,6 +2677,25 @@ DEF("netdev"
пн, 15 нояб. 2021 г. в 07:53, Jason Wang :
> On Fri, Nov 12, 2021 at 5:14 PM Vladislav Yaroshchuk
> wrote:
> >
> > macOS provides networking API for VMs called 'vmnet.framework':
> > https://developer.apple.com/documentation/vmnet
> >
> > We c
вт, 16 нояб. 2021 г. в 10:23, Jason Wang :
> On Mon, Nov 15, 2021 at 6:45 PM Vladislav Yaroshchuk
> wrote:
> >
> >
> >
> > пн, 15 нояб. 2021 г. в 07:53, Jason Wang :
> >>
> >> On Fri, Nov 12, 2021 at 5:14 PM Vladislav Yaroshchuk
> >> w
пн, 15 нояб. 2021 г. в 07:47, Jason Wang :
> On Fri, Nov 12, 2021 at 5:14 PM Vladislav Yaroshchuk
> wrote:
> >
> > Signed-off-by: Phillip Tennen
> > Signed-off-by: Vladislav Yaroshchuk
> > ---
>
> Commit log please.
>
>
>
Sorry, I don't unde
ср, 17 нояб. 2021 г. в 09:10, Jason Wang :
> On Tue, Nov 16, 2021 at 11:30 PM Vladislav Yaroshchuk
> wrote:
> >
> >
> >
> > вт, 16 нояб. 2021 г. в 10:23, Jason Wang :
> >>
> >> On Mon, Nov 15, 2021 at 6:45 PM Vladislav Yaroshchuk
> >> wro
пт, 19 нояб. 2021 г. в 05:57, Jason Wang :
> On Fri, Nov 19, 2021 at 1:12 AM Vladislav Yaroshchuk
> wrote:
> >
> >
> >
> > пн, 15 нояб. 2021 г. в 07:47, Jason Wang :
> >>
> >> On Fri, Nov 12, 2021 at 5:14 PM Vladislav Yaroshchuk
> >
t so much difference to v4.
I think we can discuss qapi here, after I'll submit v6
and then you can review it skipping v5.
> Vladislav Yaroshchuk writes:
>
> > --325dde05d084e6e4
> > Content-Type: text/plain; charset="UTF-8"
> > Content-Transfer-E
Create separate netdevs for each vmnet operating mode:
- vmnet-host
- vmnet-shared
- vmnet-bridged
Signed-off-by: Vladislav Yaroshchuk
---
net/clients.h | 11
net/meson.build | 7 +++
net/net.c | 10
net/vmnet-bridged.m | 25 +
net/vmnet-common.m
noring and
not processing them when related flag is set. Here we do
using the second way.
Signed-off-by: Phillip Tennen
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-common.m | 302 +
net/vmnet-shared.c | 94 +-
net/vmnet_int.h| 3
vmnet.framework dependency is added with 'vmnet' option
to enable or disable it. Default value is 'auto'.
vmnet features to be used are available since macOS 11.0,
corresponding probe is created into meson.build.
Signed-off-by: Vladislav Yaroshchuk
---
meson.build
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-host.c | 115 ---
1 file changed, 109 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-host.c b/net/vmnet-host.c
index 32dc437037..2a711400e7 100644
--- a/net/vmnet-host.c
+++ b/net/vmnet-host.c
nstead (it can be a thing to discuss, maybe exists a
better way to perform the packets transfer)
- update hmp commands
- a bit refactor everything
- change the email from which patches are being
submitted, same to email in MAINTAINERS list
- P.S. sorry for so late reply
Vladislav Yaroshchu
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-bridged.m | 129 ++--
1 file changed, 124 insertions(+), 5 deletions(-)
diff --git a/net/vmnet-bridged.m b/net/vmnet-bridged.m
index c735901666..a19b10909e 100644
--- a/net/vmnet-bridged.m
+++ b/net/vmnet
Create separate netdevs for each vmnet operating mode:
- vmnet-host
- vmnet-shared
- vmnet-bridged
Signed-off-by: Vladislav Yaroshchuk
---
net/clients.h | 11
net/meson.build | 7 +++
net/net.c | 10
net/vmnet-bridged.m | 25 +
net/vmnet-common.m
Signed-off-by: Vladislav Yaroshchuk
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index fa8adc2618..8e0fa7a2bf 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2730,6 +2730,11 @@ W: http://info.iet.unipi.it/~luigi/netmap/
S: Maintained
F: net
noring and
not processing them when related flag is set. Here we do
using the second way.
Signed-off-by: Phillip Tennen
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-common.m | 302 +
net/vmnet-shared.c | 94 +-
net/vmnet_int.h| 3
Signed-off-by: Vladislav Yaroshchuk
---
qemu-options.hx | 25 +
1 file changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index 094a6c1d7c..d2deab95d0 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2742,6 +2742,25 @@ DEF("netdev"
Signed-off-by: Vladislav Yaroshchuk
---
qemu-options.hx | 25 +
1 file changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index 094a6c1d7c..d2deab95d0 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2742,6 +2742,25 @@ DEF("netdev"
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-bridged.m | 129 ++--
1 file changed, 124 insertions(+), 5 deletions(-)
diff --git a/net/vmnet-bridged.m b/net/vmnet-bridged.m
index c735901666..a19b10909e 100644
--- a/net/vmnet-bridged.m
+++ b/net/vmnet
nstead (it can be a thing to discuss, maybe exists a
better way to perform the packets transfer)
- update hmp commands
- a bit refactor everything
- change the email from which patches are being
submitted, same to email in MAINTAINERS list
- P.S. sorry for so late reply
v14 -> v15
- restor
Signed-off-by: Vladislav Yaroshchuk
---
hmp-commands.hx | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 70a9136ac2..406ac4bba8 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1265,7 +1265,11 @@ ERST
{
.name
Signed-off-by: Vladislav Yaroshchuk
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index fa8adc2618..8e0fa7a2bf 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2730,6 +2730,11 @@ W: http://info.iet.unipi.it/~luigi/netmap/
S: Maintained
F: net
Signed-off-by: Vladislav Yaroshchuk
---
hmp-commands.hx | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 70a9136ac2..406ac4bba8 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1265,7 +1265,11 @@ ERST
{
.name
vmnet.framework dependency is added with 'vmnet' option
to enable or disable it. Default value is 'auto'.
vmnet features to be used are available since macOS 11.0,
corresponding probe is created into meson.build.
Signed-off-by: Vladislav Yaroshchuk
---
meson.build
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-host.c | 115 ---
1 file changed, 109 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-host.c b/net/vmnet-host.c
index 32dc437037..2a711400e7 100644
--- a/net/vmnet-host.c
+++ b/net/vmnet-host.c
Hi Akihiko,
On Fri, Feb 25, 2022 at 8:46 PM Akihiko Odaki
wrote:
> On 2022/02/26 2:13, Vladislav Yaroshchuk wrote:
> > Interaction with vmnet.framework in different modes
> > differs only on configuration stage, so we can create
> > common `send`, `receive`, etc. proc
On Sat, Feb 26, 2022 at 12:16 PM Akihiko Odaki
wrote:
> On 2022/02/26 17:37, Vladislav Yaroshchuk wrote:
> >
> > Hi Akihiko,
> >
> > On Fri, Feb 25, 2022 at 8:46 PM Akihiko Odaki > <mailto:akihiko.od...@gmail.com>> wrote:
> >
> >
On Mon, Feb 28, 2022 at 1:07 PM Markus Armbruster wrote:
> Vladislav Yaroshchuk writes:
>
> > Create separate netdevs for each vmnet operating mode:
> > - vmnet-host
> > - vmnet-shared
> > - vmnet-bridged
> >
> > Signed-off-by: Vladislav Yaroshchuk
On Sat, Feb 26, 2022 at 3:27 PM Akihiko Odaki
wrote:
> On Sat, Feb 26, 2022 at 8:33 PM Vladislav Yaroshchuk
> wrote:
> >
> >
> >
> > On Sat, Feb 26, 2022 at 12:16 PM Akihiko Odaki
> wrote:
> >>
> >> On 2022/02/26 17:37, Vladislav Yaroshchuk wr
On Tue, Mar 1, 2022 at 8:52 AM Akihiko Odaki
wrote:
> On 2022/02/28 20:59, Vladislav Yaroshchuk wrote:
> >
> >
> > On Sat, Feb 26, 2022 at 3:27 PM Akihiko Odaki > <mailto:akihiko.od...@gmail.com>> wrote:
> >
> > On Sat,
On Tue, Mar 1, 2022 at 11:21 AM Akihiko Odaki
wrote:
> On 2022/03/01 17:09, Vladislav Yaroshchuk wrote:
> > > Not sure that only one field is enough, cause
> > > we may have two states on bh execution start:
> > > 1. There are packets
ping
https://patchew.org/QEMU/20210831192720.33406-1-yaroshchuk2...@gmail.com/
вт, 31 авг. 2021 г. в 22:27, Vladislav Yaroshchuk :
> macOS provides networking API for VMs called vmnet.framework.
> I tried to add it as a network backend. All three modes are supported:
>
> -shared:
&g
пт, 21 янв. 2022 г. в 16:03, Akihiko Odaki :
> On Fri, Jan 21, 2022 at 9:19 PM Vladislav Yaroshchuk
> wrote:
> >
> >
> > чт, 20 янв. 2022 г. в 11:32, Roman Bolshakov :
> >>
> >> On Thu, Jan 13, 2022 at 08:22:14PM +0300, Vladislav Yaroshchuk wrote:
>
e corresponding
QEMU documentation section:
https://wiki.qemu.org/Documentation/Networking#Network_Backends
Currently you have:
`-netdev vmnet-bridged,id=vmnet,ifname=en0`
You need add a device:
`-netdev vmnet-bridged,id=vmnet,ifname=en0 -device pcnet,netdev=vmnet`
Supported devices can be listed with -device help:
`qemu-system-xxx -device help`
--
Best Regards,
Vladislav Yaroshchuk
Hi Akihiko,
Thank you for the review! I will fix the problems and resubmit as v14.
---
Best regards,
Vladislav Yaroshchuk
пт, 14 янв. 2022 г. в 11:43, Akihiko Odaki :
> Hi,
>
> Thank you for fixing the feature availability check.
>
> I decided to just check the series thoroughl
вт, 18 янв. 2022 г. в 18:01, Markus Armbruster :
> Vladislav Yaroshchuk writes:
>
> > Create separate netdevs for each vmnet operating mode:
> > - vmnet-host
> > - vmnet-shared
> > - vmnet-bridged
> >
> > Signed-off-by: Vladislav Yaroshchuk
>
>
вт, 18 янв. 2022 г. в 19:35, Markus Armbruster :
> Vladislav Yaroshchuk writes:
>
> > вт, 18 янв. 2022 г. в 18:01, Markus Armbruster :
> >
> >> Vladislav Yaroshchuk writes:
> >>
> >> > Create separate netdevs for each vmnet operating
Hi Roman,
чт, 20 янв. 2022 г. в 10:14, Roman Bolshakov :
> On Thu, Jan 13, 2022 at 08:22:13PM +0300, Vladislav Yaroshchuk wrote:
> > vmnet.framework dependency is added with 'vmnet' option
> > to enable or disable it. Default value is 'auto'.
> >
> >
чт, 20 янв. 2022 г. в 11:32, Roman Bolshakov :
> On Thu, Jan 13, 2022 at 08:22:14PM +0300, Vladislav Yaroshchuk wrote:
> > Create separate netdevs for each vmnet operating mode:
> > - vmnet-host
> > - vmnet-shared
> > - vmnet-bridged
> >
>
> Sure I'm l
personal, non-commercial use
Guest macOS requires AppleSMC with correct OSK. The most legal
way to pass it to the Guest is to forward the key from host SMC
without any value exposion.
Based on
https://web.archive.org/web/20200103161737/osxbook.com/book/bonus/chapter7/tpmdrmmyth/
Signed-off-by: V
Create separate netdevs for each vmnet operating mode:
- vmnet-host
- vmnet-shared
- vmnet-bridged
Signed-off-by: Vladislav Yaroshchuk
---
net/clients.h | 11
net/meson.build | 7 +++
net/net.c | 10
net/vmnet-bridged.m | 25 +
net/vmnet-common.m
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-host.c | 99 +---
1 file changed, 93 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-host.c b/net/vmnet-host.c
index 4a5ef99dc7..725675d0eb 100644
--- a/net/vmnet-host.c
+++ b/net/vmnet-host.c
Signed-off-by: Vladislav Yaroshchuk
---
qemu-options.hx | 23 +++
1 file changed, 23 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index f051536b63..443cb9a64b 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2677,6 +2677,23 @@ DEF("netdev"
Signed-off-by: Vladislav Yaroshchuk
---
meson.build | 4
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
3 files changed, 9 insertions(+)
diff --git a/meson.build b/meson.build
index 47df10afc2..5e163946d3 100644
--- a/meson.build
+++ b
setting feature
- Refactored sources a bit
Signed-off-by: Phillip Tennen
Signed-off-by: Vladislav Yaroshchuk
Vladislav Yaroshchuk (6):
net/vmnet: add vmnet dependency and customizable option
net/vmnet: add vmnet backends to qapi/net
net/vmnet: implement shared mode (vmnet-shared)
net/vmn
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-bridged.m | 98 ++---
1 file changed, 92 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-bridged.m b/net/vmnet-bridged.m
index 4e42a90391..3c9da9dc8b 100644
--- a/net/vmnet-bridged.m
+++ b/net/vmnet
Signed-off-by: Phillip Tennen
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-common.m | 305 +
net/vmnet-shared.c | 69 +-
net/vmnet_int.h| 23
3 files changed, 393 insertions(+), 4 deletions(-)
diff --git a/net/vmnet-common.m b
On Apple hosts we can read AppleSMC OSK directly from SMC
and forward this value to QEMU
Signed-off-by: Vladislav Yaroshchuk
---
hw/misc/applesmc.c | 129 +
1 file changed, 129 insertions(+)
diff --git a/hw/misc/applesmc.c b/hw/misc/applesmc.c
index
rward the key from host SMC
without any value exposion.
Based on http://osxbook.com/book/bonus/chapter7/tpmdrmmyth/
Signed-off-by: Vladislav Yaroshchuk
---
hw/misc/applesmc.c | 144 -
1 file changed, 143 insertions(+), 1 deletion(-)
diff --git a/hw
rward the key from host SMC
without any value exposion.
Based on
https://web.archive.org/web/20200103161737/osxbook.com/book/bonus/chapter7/tpmdrmmyth/
Signed-off-by: Vladislav Yaroshchuk
---
hw/misc/applesmc.c | 147 -
1 file changed, 146 insertions(
Hi, Laurent!
Thank you for your review!
пт, 22 окт. 2021 г. в 14:36, Laurent Vivier :
> Le 22/10/2021 à 13:10, Vladislav Yaroshchuk a écrit :
> > On Apple hosts we can read AppleSMC OSK key directly from host's
> > SMC and forward this value to QEMU Guest.
> >
&
rward the key from host SMC
without any value exposion.
Based on
https://web.archive.org/web/20200103161737/osxbook.com/book/bonus/chapter7/tpmdrmmyth/
Signed-off-by: Vladislav Yaroshchuk
---
hw/misc/applesmc.c | 155 -
1 file changed, 154 insertions(
пн, 25 окт. 2021 г. в 13:13, Alexander Graf :
>
> On 22.10.21 18:14, Vladislav Yaroshchuk wrote:
> > On Apple hosts we can read AppleSMC OSK key directly from host's
> > SMC and forward this value to QEMU Guest.
> >
> > Usage:
> > `-device isa-applesmc,hos
rward the key from host SMC
without any value exposion.
Enable this feature by default on Apple devices
Based on
https://web.archive.org/web/20200103161737/osxbook.com/book/bonus/chapter7/tpmdrmmyth/
Signed-off-by: Vladislav Yaroshchuk
---
hw/misc/applesmc.c
пн, 25 окт. 2021 г. в 17:56, Alexander Graf :
>
> On 25.10.21 16:21, Vladislav Yaroshchuk wrote:
> > On Apple hosts we can read AppleSMC OSK key directly from host's
> > SMC and forward this value to QEMU Guest.
> >
> > Usage:
> > `-device isa-applesmc,o
Signed-off-by: Vladislav Yaroshchuk
---
meson.build | 4
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh | 3 +++
3 files changed, 9 insertions(+)
diff --git a/meson.build b/meson.build
index 53065e96ec..d2d396037a 100644
--- a/meson.build
+++ b
d unregistering event
callback or simply drop packages just ignoring and
not processing them when related flag is set. Here we do
using the second way.
Signed-off-by: Phillip Tennen
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-common.m | 310 +
net
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-bridged.m | 98 ++---
1 file changed, 92 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-bridged.m b/net/vmnet-bridged.m
index 4e42a90391..3c9da9dc8b 100644
--- a/net/vmnet-bridged.m
+++ b/net/vmnet
es
- rename properties @dhcpstart and @dhcpend to
@start-address and @end-address
- improve qapi documentation about isolation
features (@isolated, @net-uuid)
v6 -> v7:
- update MAINTAINERS list
v7 -> v8
- QAPI code style fixes
v8 -> v9
- Fix building on Linux: add missing qapi
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-host.c | 93
1 file changed, 87 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-host.c b/net/vmnet-host.c
index 4a5ef99dc7..9c2e760ed1 100644
--- a/net/vmnet-host.c
+++ b/net/vmnet-host.c
Create separate netdevs for each vmnet operating mode:
- vmnet-host
- vmnet-shared
- vmnet-bridged
Signed-off-by: Vladislav Yaroshchuk
---
net/clients.h | 11
net/meson.build | 7 +++
net/net.c | 10
net/vmnet-bridged.m | 25 +
net/vmnet-common.m
Signed-off-by: Vladislav Yaroshchuk
---
qemu-options.hx | 25 +
1 file changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index ec90505d84..81dd34f550 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2732,6 +2732,25 @@ DEF("netdev"
Signed-off-by: Vladislav Yaroshchuk
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index f871d759fd..7184e41b8b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2633,6 +2633,11 @@ W: http://info.iet.unipi.it/~luigi/netmap/
S: Maintained
F: net
пт, 7 янв. 2022 г. в 08:03, Jason Wang :
>
> 在 2022/1/6 下午12:18, Jason Wang 写道:
> >
> > 在 2021/12/11 下午6:44, Vladislav Yaroshchuk 写道:
> >> macOS provides networking API for VMs called 'vmnet.framework':
> >> https://developer.apple.com/documentation
`'if': 'CONFIG_VMNET'` statement to Netdev union
v9 -> v10
- Disable vmnet feature for macOS < 11.0: add
vmnet.framework API probe into meson.build.
This fixes QEMU building on macOS < 11.0:
https://patchew.org/QEMU/20220110034000.20221-1-jasow...@redhat.
vmnet.framework dependency is added with 'vmnet' option
to enable or disable it. Default value is 'auto'.
vmnet features to be used are available since macOS 11.0,
corresponding probe is created into meson.build.
Signed-off-by: Vladislav Yaroshchuk
---
meson.build
Create separate netdevs for each vmnet operating mode:
- vmnet-host
- vmnet-shared
- vmnet-bridged
Signed-off-by: Vladislav Yaroshchuk
---
net/clients.h | 11
net/meson.build | 7 +++
net/net.c | 10
net/vmnet-bridged.m | 25 +
net/vmnet-common.m
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-host.c | 93
1 file changed, 87 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-host.c b/net/vmnet-host.c
index 4a5ef99dc7..9c2e760ed1 100644
--- a/net/vmnet-host.c
+++ b/net/vmnet-host.c
d unregistering event
callback or simply drop packages just ignoring and
not processing them when related flag is set. Here we do
using the second way.
Signed-off-by: Phillip Tennen
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-common.m | 310 +
net
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-bridged.m | 98 ++---
1 file changed, 92 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-bridged.m b/net/vmnet-bridged.m
index 4e42a90391..3c9da9dc8b 100644
--- a/net/vmnet-bridged.m
+++ b/net/vmnet
Signed-off-by: Vladislav Yaroshchuk
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index c98a61caee..638d129305 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2641,6 +2641,11 @@ W: http://info.iet.unipi.it/~luigi/netmap/
S: Maintained
F: net
Signed-off-by: Vladislav Yaroshchuk
---
qemu-options.hx | 25 +
1 file changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index ec90505d84..81dd34f550 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2732,6 +2732,25 @@ DEF("netdev"
re 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.
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-yaroshchuk2...@gmail.com/
> Thanks
>
> >
> > -- PMM
> >
>
>
>
--
Best Regards,
Vladislav Yaroshchuk
ср, 12 янв. 2022 г., 8:39 AM Jason Wang :
>
> 在 2022/1/12 上午6:02, Vladislav Yaroshchuk 写道:
> >
> >
> > вт, 11 янв. 2022 г., 5:10 AM Jason Wang :
> >
> > On Tue, Jan 11, 2022 at 12:49 AM Peter Maydell
> > wrote:
> > >
> >
d unregistering event
callback or simply drop packages just ignoring and
not processing them when related flag is set. Here we do
using the second way.
Signed-off-by: Phillip Tennen
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-common.m | 312 +
net
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-bridged.m | 100 +---
1 file changed, 94 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-bridged.m b/net/vmnet-bridged.m
index 4e42a90391..19a68a6a1c 100644
--- a/net/vmnet-bridged.m
+++ b/net/vmnet
/
v10 -> v11
- Enable vmnet for macOS 10.15 with subset of available
features. Disable vmnet for macOS < 10.15.
- Fix typos
Vladislav Yaroshchuk (7):
net/vmnet: add vmnet dependency and customizable option
net/vmnet: add vmnet backends to qapi/net
net/vmnet: implement shared mode
Signed-off-by: Vladislav Yaroshchuk
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index c98a61caee..638d129305 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2641,6 +2641,11 @@ W: http://info.iet.unipi.it/~luigi/netmap/
S: Maintained
F: net
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-host.c | 96 +---
1 file changed, 90 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-host.c b/net/vmnet-host.c
index 4a5ef99dc7..eee4daf74b 100644
--- a/net/vmnet-host.c
+++ b/net/vmnet-host.c
Create separate netdevs for each vmnet operating mode:
- vmnet-host
- vmnet-shared
- vmnet-bridged
Signed-off-by: Vladislav Yaroshchuk
---
net/clients.h | 11
net/meson.build | 7 +++
net/net.c | 10
net/vmnet-bridged.m | 25
net/vmnet-common.m | 20
ср, 12 янв. 2022 г. в 10:51, Jason Wang :
> On Wed, Jan 12, 2022 at 3:10 PM Roman Bolshakov wrote:
> >
> > On Wed, Jan 12, 2022 at 01:39:28PM +0800, Jason Wang wrote:
> > >
> > > 在 2022/1/12 上午6:02, Vladislav Yaroshchuk 写道:
> > > >
> >
vmnet.framework dependency is added with 'vmnet' option
to enable or disable it. Default value is 'auto'.
vmnet features to be used are available since macOS 11.0,
corresponding probe is created into meson.build.
Signed-off-by: Vladislav Yaroshchuk
---
meson.build
Signed-off-by: Vladislav Yaroshchuk
---
qemu-options.hx | 25 +
1 file changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index ec90505d84..81dd34f550 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2732,6 +2732,25 @@ DEF("netdev"
ср, 12 янв. 2022 г. в 11:22, Roman Bolshakov :
> On Wed, Jan 12, 2022 at 10:50:04AM +0300, Roman Bolshakov wrote:
> > On Wed, Jan 12, 2022 at 12:14:15AM +0300, Vladislav Yaroshchuk wrote:
> > > macOS provides networking API for VMs called 'vmnet.framework':
>
Create separate netdevs for each vmnet operating mode:
- vmnet-host
- vmnet-shared
- vmnet-bridged
Signed-off-by: Vladislav Yaroshchuk
---
net/clients.h | 11
net/meson.build | 7 +++
net/net.c | 10
net/vmnet-bridged.m | 25 +
net/vmnet-common.m
/
v10 -> v11
- Enable vmnet for macOS 10.15 with subset of available
features. Disable vmnet for macOS < 10.15.
- Fix typos
v11 -> v12
- use more general macOS version check with
MAC_OS_VERSION_11_0 instead of manual
definition creating.
Vladislav Yaroshchuk (7):
net/vmnet: add
vmnet.framework dependency is added with 'vmnet' option
to enable or disable it. Default value is 'auto'.
vmnet features to be used are available since macOS 11.0,
corresponding probe is created into meson.build.
Signed-off-by: Vladislav Yaroshchuk
---
meson.build
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-bridged.m | 105 +---
1 file changed, 100 insertions(+), 5 deletions(-)
diff --git a/net/vmnet-bridged.m b/net/vmnet-bridged.m
index 4e42a90391..f528af036c 100644
--- a/net/vmnet-bridged.m
+++ b/net/vmnet
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-host.c | 110 ---
1 file changed, 104 insertions(+), 6 deletions(-)
diff --git a/net/vmnet-host.c b/net/vmnet-host.c
index 4a5ef99dc7..90430dcb1a 100644
--- a/net/vmnet-host.c
+++ b/net/vmnet-host.c
d unregistering event
callback or simply drop packages just ignoring and
not processing them when related flag is set. Here we do
using the second way.
Signed-off-by: Phillip Tennen
Signed-off-by: Vladislav Yaroshchuk
---
net/vmnet-common.m | 313 +
net
Signed-off-by: Vladislav Yaroshchuk
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index c98a61caee..638d129305 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2641,6 +2641,11 @@ W: http://info.iet.unipi.it/~luigi/netmap/
S: Maintained
F: net
Signed-off-by: Vladislav Yaroshchuk
---
qemu-options.hx | 25 +
1 file changed, 25 insertions(+)
diff --git a/qemu-options.hx b/qemu-options.hx
index ec90505d84..81dd34f550 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2732,6 +2732,25 @@ DEF("netdev"
1 - 100 of 239 matches
Mail list logo