Re: [PATCH v2] target/i386/hvf: add vmware-cpuid-freq cpu feature

2021-01-22 Thread Vladislav Yaroshchuk
Hi Cameron, ср, 20 янв. 2021 г. в 01:37, Cameron Esfahani : > > > > On Jan 14, 2021, at 11:47 AM, yaroshchuk2...@gmail.com wrote: > > > > From: Vladislav Yaroshchuk > > > > For `-accel hvf` cpu_x86_cpuid() is wrapped with hvf_cpu_x86_cpuid() to > > ad

Re: [PATCH v2] target/i386/hvf: add vmware-cpuid-freq cpu feature

2021-01-22 Thread Vladislav Yaroshchuk
Hi Roman, вт, 19 янв. 2021 г. в 21:01, Roman Bolshakov : > On Thu, Jan 14, 2021 at 10:47:03PM +0300, yaroshchuk2...@gmail.com wrote: > > From: Vladislav Yaroshchuk > > > > For `-accel hvf` cpu_x86_cpuid() is wrapped with hvf_cpu_x86_cpuid() to > > add paravirtualiz

[PATCH 1/7] net/vmnet: dependencies setup, initial preparations

2021-06-17 Thread Vladislav Yaroshchuk
Add 'vmnet' customizable option and 'vmnet.framework' probe into configure; Create source files for network client driver, update meson.build; Add 'vmnet' into qapi::net::NetClientDriver options list. Signed-off-by: Vladislav Yaroshchuk --- configure | 31

[PATCH 6/7] net/vmnet: implement bridged mode (vmnet-bridged)

2021-06-17 Thread Vladislav Yaroshchuk
Signed-off-by: Vladislav Yaroshchuk --- net/meson.build | 2 +- net/vmnet-bridged.c | 25 - net/vmnet-bridged.m | 123 3 files changed, 124 insertions(+), 26 deletions(-) delete mode 100644 net/vmnet-bridged.c create mode 100644 net

[PATCH 3/7] net/vmnet: create common netdev state structure

2021-06-17 Thread Vladislav Yaroshchuk
Signed-off-by: Vladislav Yaroshchuk --- net/meson.build | 8 +++- net/vmnet-bridged.c | 25 + net/vmnet-common.c | 20 net/vmnet-host.c| 24 net/vmnet-shared.c | 25 + net/vmnet.c

[PATCH 7/7] net/vmnet: update qemu-options.hx

2021-06-17 Thread Vladislav Yaroshchuk
Signed-off-by: Vladislav Yaroshchuk --- qemu-options.hx | 17 + 1 file changed, 17 insertions(+) diff --git a/qemu-options.hx b/qemu-options.hx index 14258784b3..631572f2d4 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2582,6 +2582,17 @@ DEF("netdev"

[PATCH 5/7] net/vmnet: implement host mode (vmnet-host)

2021-06-17 Thread Vladislav Yaroshchuk
Still not implemented: - port forwarding Signed-off-by: Vladislav Yaroshchuk --- net/vmnet-host.c | 75 ++-- 1 file changed, 72 insertions(+), 3 deletions(-) diff --git a/net/vmnet-host.c b/net/vmnet-host.c index 1d3484b51e..77a2c20b48 100644

[PATCH 0/7] Add vmnet.framework based network backend

2021-06-17 Thread Vladislav Yaroshchuk
-system-x86-64 on macOS 10.15.7 host, with nic models: - e1000-82545em - virtio-net-pci and having such guests: - macOS 10.15.7 - Ubuntu Bionic (server cloudimg) Vladislav Yaroshchuk (7): net/vmnet: dependencies setup, initial preparations net/vmnet: add new netdevs to qapi/net net/vmnet

[PATCH 2/7] net/vmnet: add new netdevs to qapi/net

2021-06-17 Thread Vladislav Yaroshchuk
Created separate netdev per each vmnet operating mode because they use quite different settings. Especially since macOS 11.0 (vmnet.framework API gets lots of updates) Three new netdevs are added: - vmnet-host - vmnet-shared - vmnet-bridged Signed-off-by: Vladislav Yaroshchuk --- net/clients.h

[PATCH 4/7] net/vmnet: implement shared mode (vmnet-shared)

2021-06-17 Thread Vladislav Yaroshchuk
Still not implemented: - port forwarding - ipv6 prefix setting Signed-off-by: Vladislav Yaroshchuk --- net/meson.build| 2 +- net/vmnet-common.c | 20 --- net/vmnet-common.m | 294 + net/vmnet-shared.c | 73 ++- net/vmnet_int.h

[Bug 1922102] [NEW] Broken tap networking on macOS host

2021-03-31 Thread Vladislav Yaroshchuk
Public bug reported: Building QEMU with GLib newer than 2.58.3 corrupts tap networking on macOS hosts. Tap device was provided by Tun/Tap kernel extension installed from brew:   brew install tuntap Checked revisions:   553032d (v5.2.0)   6d40ce0 (v6.0.0-rc1) Host:  MacBook Pro (Retina,

[Bug 1922102] Re: Broken tap networking on macOS host

2021-04-17 Thread Vladislav Yaroshchuk
** Description changed: Building QEMU with GLib newer than 2.58.3 corrupts tap networking on macOS hosts. Tap device was provided by Tun/Tap kernel extension installed from brew:   brew install tuntap Checked revisions:   553032d (v5.2.0)   6d40ce0 (v6.0.0-rc1) Host:  

Re: [PATCH 0/7] Add vmnet.framework based network backend

2021-08-17 Thread Vladislav Yaroshchuk
say that I'm ready to update/improve my patches asap, make them ready to be merged. Can't say anything about Phillip, is he ready too or not. Regards, Vladislav чт, 12 авг. 2021 г. в 09:01, Roman Bolshakov : > On Thu, Jun 17, 2021 at 05:32:39PM +0300, Vladislav Yaroshchuk wrote: > > macOS

Re: [PATCH 2/7] net/vmnet: add new netdevs to qapi/net

2021-08-17 Thread Vladislav Yaroshchuk
Hi Eric, Thank you for your review. сб, 7 авг. 2021 г. в 00:19, Eric Blake : > On Thu, Jun 17, 2021 at 05:32:41PM +0300, Vladislav Yaroshchuk wrote: > > Created separate netdev per each vmnet operating mode > > because they use quite different settings. Especially since

[PATCH v2 5/6] net/vmnet: implement bridged mode (vmnet-bridged)

2021-08-31 Thread Vladislav Yaroshchuk
Signed-off-by: Vladislav Yaroshchuk --- net/meson.build | 2 +- net/vmnet-bridged.c | 25 - net/vmnet-bridged.m | 123 3 files changed, 124 insertions(+), 26 deletions(-) delete mode 100644 net/vmnet-bridged.c create mode 100644 net

[PATCH v2 2/6] net/vmnet: create common netdev state structure

2021-08-31 Thread Vladislav Yaroshchuk
Signed-off-by: Vladislav Yaroshchuk --- net/meson.build | 8 +++- net/vmnet-bridged.c | 25 + net/vmnet-common.c | 20 net/vmnet-host.c| 24 net/vmnet-shared.c | 25 + net/vmnet.c

[PATCH v2 0/6] Add vmnet.framework based network backend

2021-08-31 Thread Vladislav Yaroshchuk
) Vladislav Yaroshchuk (6): net/vmnet: dependencies setup, initial preparations net/vmnet: create common netdev state structure net/vmnet: implement shared mode (vmnet-shared) net/vmnet: implement host mode (vmnet-host) net/vmnet: implement bridged mode (vmnet-bridged) net/vmnet: update qemu

[PATCH v2 1/6] net/vmnet: dependencies setup, initial preparations

2021-08-31 Thread Vladislav Yaroshchuk
meson.build; Three new netdevs are added: - vmnet-host - vmnet-shared - vmnet-bridged Signed-off-by: Vladislav Yaroshchuk --- configure | 31 meson.build | 5 +++ net/clients.h | 11 ++ net/meson.build | 1 + net/net.c | 10 + net/vmnet.c | 34

[PATCH v2 6/6] net/vmnet: update qemu-options.hx

2021-08-31 Thread Vladislav Yaroshchuk
Signed-off-by: Vladislav Yaroshchuk --- qemu-options.hx | 17 + 1 file changed, 17 insertions(+) diff --git a/qemu-options.hx b/qemu-options.hx index 83aa59a920..b5d1cbd49a 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2655,6 +2655,17 @@ DEF("netdev"

[PATCH v2 3/6] net/vmnet: implement shared mode (vmnet-shared)

2021-08-31 Thread Vladislav Yaroshchuk
Still not implemented: - port forwarding - ipv6 prefix setting Signed-off-by: Vladislav Yaroshchuk --- net/meson.build| 2 +- net/vmnet-common.c | 20 --- net/vmnet-common.m | 294 + net/vmnet-shared.c | 73 ++- net/vmnet_int.h

[PATCH v2 4/6] net/vmnet: implement host mode (vmnet-host)

2021-08-31 Thread Vladislav Yaroshchuk
Still not implemented: - port forwarding Signed-off-by: Vladislav Yaroshchuk --- net/vmnet-host.c | 75 ++-- 1 file changed, 72 insertions(+), 3 deletions(-) diff --git a/net/vmnet-host.c b/net/vmnet-host.c index 1d3484b51e..77a2c20b48 100644

Re: [PATCH 0/7] Add vmnet.framework based network backend

2021-08-06 Thread Vladislav Yaroshchuk
ping https://patchew.org/QEMU/20210617143246.55336-1-yaroshchuk2...@gmail.com/ чт, 17 июн. 2021 г. в 17:33, 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

[PATCH v3 3/6] net/vmnet: implement shared mode (vmnet-shared)

2021-10-12 Thread Vladislav Yaroshchuk
Still not implemented: - port forwarding - ipv6 prefix setting Signed-off-by: Vladislav Yaroshchuk --- net/vmnet-common.m | 275 + net/vmnet-shared.c | 73 +++- net/vmnet_int.h| 23 3 files changed, 369 insertions(+), 2 deletions

[PATCH v3 2/6] net/vmnet: create common netdev state structure

2021-10-12 Thread Vladislav Yaroshchuk
Signed-off-by: Vladislav Yaroshchuk --- net/meson.build | 8 +++- net/vmnet-bridged.m | 25 + net/vmnet-common.m | 20 net/vmnet-host.c| 24 net/vmnet-shared.c | 25 + net/vmnet.c

[PATCH v3 0/6] Add vmnet.framework based network backend

2021-10-12 Thread Vladislav Yaroshchuk
v2 -> v3: - QAPI style fixes - Typos fixes in comments - `#include`'s updated to be in sync with recent master Vladislav Yaroshchuk (6): net/vmnet: dependencies setup, initial preparations net/vmnet: create common netdev state structure net/vmnet: implement shared mode (vmnet-shared)

Re: [PATCH v2 1/6] net/vmnet: dependencies setup, initial preparations

2021-10-12 Thread Vladislav Yaroshchuk
Thank you, Eric! Now fixing all the QAPI issues. пн, 11 окт. 2021 г. в 21:45, Eric Blake : > On Tue, Aug 31, 2021 at 10:27:15PM +0300, Vladislav Yaroshchuk wrote: > > Add 'vmnet' customizable option and 'vmnet.framework' probe into > > configure; > > > > Create sep

[PATCH v3 6/6] net/vmnet: update qemu-options.hx

2021-10-12 Thread Vladislav Yaroshchuk
Signed-off-by: Vladislav Yaroshchuk --- qemu-options.hx | 17 + 1 file changed, 17 insertions(+) diff --git a/qemu-options.hx b/qemu-options.hx index 5f375bbfa6..2aaa7a0782 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2677,6 +2677,17 @@ DEF("netdev"

[PATCH v3 1/6] net/vmnet: dependencies setup, initial preparations

2021-10-12 Thread Vladislav Yaroshchuk
meson.build; Three new netdevs are added: - vmnet-host - vmnet-shared - vmnet-bridged Signed-off-by: Vladislav Yaroshchuk --- configure | 31 meson.build | 5 +++ net/clients.h | 11 ++ net/meson.build | 1 + net/net.c | 10 + net/vmnet.c | 34

[PATCH v3 5/6] net/vmnet: implement bridged mode (vmnet-bridged)

2021-10-12 Thread Vladislav Yaroshchuk
Signed-off-by: Vladislav Yaroshchuk --- net/vmnet-bridged.m | 102 +++- 1 file changed, 100 insertions(+), 2 deletions(-) diff --git a/net/vmnet-bridged.m b/net/vmnet-bridged.m index 4e42a90391..9097181841 100644 --- a/net/vmnet-bridged.m +++ b/net/vmnet

[PATCH v3 4/6] net/vmnet: implement host mode (vmnet-host)

2021-10-12 Thread Vladislav Yaroshchuk
Still not implemented: - port forwarding Signed-off-by: Vladislav Yaroshchuk --- net/vmnet-host.c | 75 ++-- 1 file changed, 72 insertions(+), 3 deletions(-) diff --git a/net/vmnet-host.c b/net/vmnet-host.c index 4a5ef99dc7..fe7211d61b 100644

[PATCH] isa-applesmc: provide OSK forwarding on Apple hosts

2021-10-21 Thread Vladislav Yaroshchuk
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

Re: [PATCH v2 0/6] Add vmnet.framework based network backend

2021-09-28 Thread Vladislav Yaroshchuk
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

[PATCH v2] isa-applesmc: provide OSK forwarding on Apple hosts

2021-10-22 Thread Vladislav Yaroshchuk
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/misc

[PATCH v3] isa-applesmc: provide OSK forwarding on Apple hosts

2021-10-22 Thread Vladislav Yaroshchuk
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(+), 1

Re: [PATCH v3] isa-applesmc: provide OSK forwarding on Apple hosts

2021-10-22 Thread Vladislav Yaroshchuk
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. > > > &

[PATCH v4] isa-applesmc: provide OSK forwarding on Apple hosts

2021-10-22 Thread Vladislav Yaroshchuk
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(+), 1

[PATCH v6 6/6] net/vmnet: update qemu-options.hx

2021-12-06 Thread Vladislav Yaroshchuk
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 ae2c6dbbfc..1ffa5eedd5 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2677,6 +2677,25 @@ DEF("netdev"

[PATCH v6 1/6] net/vmnet: add vmnet dependency and customizable option

2021-12-06 Thread Vladislav Yaroshchuk
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 96de1a6ef9..ce8acf6ada 100644 --- a/meson.build +++ b

[PATCH v6 0/6] Add vmnet.framework based network backend

2021-12-06 Thread Vladislav Yaroshchuk
dhcpend to @start-address and @end-address - improve qapi documentation about isolation features (@isolated, @net-uuid) 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-sh

[PATCH v6 3/6] net/vmnet: implement shared mode (vmnet-shared)

2021-12-06 Thread Vladislav Yaroshchuk
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/vmnet-shared.c

[PATCH v6 2/6] net/vmnet: add vmnet backends to qapi/net

2021-12-06 Thread 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

[PATCH v6 4/6] net/vmnet: implement host mode (vmnet-host)

2021-12-06 Thread Vladislav Yaroshchuk
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

[PATCH v6 5/6] net/vmnet: implement bridged mode (vmnet-bridged)

2021-12-06 Thread Vladislav Yaroshchuk
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

Re: [PATCH v8 0/7] Add vmnet.framework based network backend

2021-12-30 Thread Vladislav Yaroshchuk
ping https://patchew.org/QEMU/20211211104413.50524-1-yaroshchuk2...@gmail.com/ сб, 11 дек. 2021 г. в 13:44, Vladislav Yaroshchuk : > macOS provides networking API for VMs called 'vmnet.framework': > https://developer.apple.com/documentation/vmnet > > We can provide its support as

Re: [PATCH v7] isa-applesmc: provide OSK forwarding on Apple hosts

2021-12-24 Thread Vladislav Yaroshchuk
ping: https://patchew.org/QEMU/20211216104621.85108-1-yaroshchuk2...@gmail.com/

Re: [PATCH v5 0/6] Add vmnet.framework based network backend

2021-11-18 Thread Vladislav Yaroshchuk
ср, 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

Re: [PATCH v5 3/6] net/vmnet: implement shared mode (vmnet-shared)

2021-11-18 Thread Vladislav Yaroshchuk
пн, 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 understan

Re: [PATCH v5 3/6] net/vmnet: implement shared mode (vmnet-shared)

2021-11-19 Thread Vladislav Yaroshchuk
пт, 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 > >

Re: [PATCH v4 2/6] net/vmnet: add vmnet backends to qapi/net

2021-11-19 Thread Vladislav Yaroshchuk
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-Encoding: q

Re: [PATCH v4 2/6] net/vmnet: add vmnet backends to qapi/net

2021-11-11 Thread Vladislav Yaroshchuk
вт, 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

[PATCH v5 1/6] net/vmnet: add vmnet dependency and customizable option

2021-11-12 Thread Vladislav Yaroshchuk
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

[PATCH v5 0/6] Add vmnet.framework based network backend

2021-11-12 Thread Vladislav Yaroshchuk
rces 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 Vladislav Yaroshchuk (6): net/vm

[PATCH v5 2/6] net/vmnet: add vmnet backends to qapi/net

2021-11-12 Thread 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

[PATCH v5 4/6] net/vmnet: implement host mode (vmnet-host)

2021-11-12 Thread Vladislav Yaroshchuk
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

[PATCH v5 3/6] net/vmnet: implement shared mode (vmnet-shared)

2021-11-12 Thread Vladislav Yaroshchuk
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

[PATCH v5 5/6] net/vmnet: implement bridged mode (vmnet-bridged)

2021-11-12 Thread Vladislav Yaroshchuk
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

[PATCH v5 6/6] net/vmnet: update qemu-options.hx

2021-11-12 Thread Vladislav Yaroshchuk
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"

Re: [PATCH v4 2/6] net/vmnet: add vmnet backends to qapi/net

2021-11-12 Thread Vladislav Yaroshchuk
чт, 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. > > > &

Re: [PATCH v5 0/6] Add vmnet.framework based network backend

2021-11-16 Thread Vladislav Yaroshchuk
вт, 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

Re: [PATCH v5 0/6] Add vmnet.framework based network backend

2021-11-15 Thread Vladislav Yaroshchuk
пн, 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 can provide

Re: [PATCH v4] isa-applesmc: provide OSK forwarding on Apple hosts

2021-10-25 Thread Vladislav Yaroshchuk
пн, 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,hostosk=

[PATCH v5] isa-applesmc: provide OSK forwarding on Apple hosts

2021-10-25 Thread Vladislav Yaroshchuk
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 | 121

Re: [PATCH v5] isa-applesmc: provide OSK forwarding on Apple hosts

2021-10-25 Thread Vladislav Yaroshchuk
пн, 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,osk=ho

[PATCH v6] isa-applesmc: provide OSK forwarding on Apple hosts

2021-11-05 Thread Vladislav Yaroshchuk
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: Vladislav Yaroshchuk ---

[PATCH v4 2/6] net/vmnet: add vmnet backends to qapi/net

2021-11-08 Thread 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

[PATCH v4 4/6] net/vmnet: implement host mode (vmnet-host)

2021-11-08 Thread Vladislav Yaroshchuk
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

[PATCH v4 6/6] net/vmnet: update qemu-options.hx

2021-11-08 Thread Vladislav Yaroshchuk
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"

[PATCH v4 1/6] net/vmnet: add vmnet dependency and customizable option

2021-11-08 Thread Vladislav Yaroshchuk
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

[PATCH v4 0/6] Add vmnet.framework based network backend

2021-11-08 Thread Vladislav Yaroshchuk
s 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/vmnet: implement host mode (vmnet-host) n

[PATCH v4 5/6] net/vmnet: implement bridged mode (vmnet-bridged)

2021-11-08 Thread Vladislav Yaroshchuk
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

[PATCH v4 3/6] net/vmnet: implement shared mode (vmnet-shared)

2021-11-08 Thread Vladislav Yaroshchuk
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

Re: [PATCH v7 1/7] net/vmnet: add vmnet dependency and customizable option

2021-12-07 Thread Vladislav Yaroshchuk
If you meant patch series cover letter, it exists, see https://patchew.org/QEMU/20211207101828.22033-1-yaroshchuk2...@gmail.com/ вт, 7 дек. 2021 г. в 17:12, Markus Armbruster : > No cover letter? > > -- Best Regards, Vladislav Yaroshchuk

[PATCH v7] isa-applesmc: provide OSK forwarding on Apple hosts

2021-12-16 Thread Vladislav Yaroshchuk
ial 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: Vladislav Yaroshc

[PATCH v8 4/7] net/vmnet: implement host mode (vmnet-host)

2021-12-11 Thread Vladislav Yaroshchuk
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

[PATCH v8 2/7] net/vmnet: add vmnet backends to qapi/net

2021-12-11 Thread 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

[PATCH v8 3/7] net/vmnet: implement shared mode (vmnet-shared)

2021-12-11 Thread Vladislav Yaroshchuk
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/vmnet-shared.c

[PATCH v8 1/7] net/vmnet: add vmnet dependency and customizable option

2021-12-11 Thread Vladislav Yaroshchuk
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 96de1a6ef9..ce8acf6ada 100644 --- a/meson.build +++ b

[PATCH v8 5/7] net/vmnet: implement bridged mode (vmnet-bridged)

2021-12-11 Thread Vladislav Yaroshchuk
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

[PATCH v8 7/7] net/vmnet: update MAINTAINERS list

2021-12-11 Thread Vladislav Yaroshchuk
Signed-off-by: Vladislav Yaroshchuk --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7543eb4d59..5c696e38da 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2631,6 +2631,11 @@ W: http://info.iet.unipi.it/~luigi/netmap/ S: Maintained F: net

[PATCH v8 0/7] Add vmnet.framework based network backend

2021-12-11 Thread Vladislav Yaroshchuk
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 Vladislav Yaroshchuk (7): net/vmnet: add vmnet dependency and customizable option net/vmn

[PATCH v8 6/7] net/vmnet: update qemu-options.hx

2021-12-11 Thread Vladislav Yaroshchuk
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 ae2c6dbbfc..1ffa5eedd5 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2677,6 +2677,25 @@ DEF("netdev"

[PATCH v7 1/7] net/vmnet: add vmnet dependency and customizable option

2021-12-07 Thread Vladislav Yaroshchuk
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 96de1a6ef9..ce8acf6ada 100644 --- a/meson.build +++ b

[PATCH v7 4/7] net/vmnet: implement host mode (vmnet-host)

2021-12-07 Thread Vladislav Yaroshchuk
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

[PATCH v7 5/7] net/vmnet: implement bridged mode (vmnet-bridged)

2021-12-07 Thread Vladislav Yaroshchuk
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

[PATCH v7 2/7] net/vmnet: add vmnet backends to qapi/net

2021-12-07 Thread 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

[PATCH v7 0/7] Add vmnet.framework based network backend

2021-12-07 Thread Vladislav Yaroshchuk
dhcpend to @start-address and @end-address - improve qapi documentation about isolation features (@isolated, @net-uuid) v6 -> v7: - update MAINTAINERS list Vladislav Yaroshchuk (7): net/vmnet: add vmnet dependency and customizable option net/vmnet: add vmnet backends to qapi/net n

[PATCH v7 6/7] net/vmnet: update qemu-options.hx

2021-12-07 Thread Vladislav Yaroshchuk
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 ae2c6dbbfc..1ffa5eedd5 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2677,6 +2677,25 @@ DEF("netdev"

[PATCH v7 3/7] net/vmnet: implement shared mode (vmnet-shared)

2021-12-07 Thread Vladislav Yaroshchuk
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/vmnet-shared.c

[PATCH v7 7/7] net/vmnet: update MAINTAINERS list

2021-12-07 Thread Vladislav Yaroshchuk
Signed-off-by: Vladislav Yaroshchuk --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7543eb4d59..5c696e38da 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2631,6 +2631,11 @@ W: http://info.iet.unipi.it/~luigi/netmap/ S: Maintained F: net

[PATCH v9 7/7] net/vmnet: update MAINTAINERS list

2022-01-07 Thread Vladislav Yaroshchuk
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

[PATCH v9 2/7] net/vmnet: add vmnet backends to qapi/net

2022-01-07 Thread 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

[PATCH v9 5/7] net/vmnet: implement bridged mode (vmnet-bridged)

2022-01-07 Thread Vladislav Yaroshchuk
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

[PATCH v9 3/7] net/vmnet: implement shared mode (vmnet-shared)

2022-01-07 Thread Vladislav Yaroshchuk
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/vmnet-shared.c

[PATCH v9 1/7] net/vmnet: add vmnet dependency and customizable option

2022-01-07 Thread Vladislav Yaroshchuk
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

[PATCH v9 6/7] net/vmnet: update qemu-options.hx

2022-01-07 Thread Vladislav Yaroshchuk
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"

[PATCH v9 4/7] net/vmnet: implement host mode (vmnet-host)

2022-01-07 Thread Vladislav Yaroshchuk
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

[PATCH v9 0/7] Add vmnet.framework based network backend

2022-01-07 Thread Vladislav Yaroshchuk
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 `'if': 'CONFIG_VMNET'` statement to

Re: [PATCH v8 0/7] Add vmnet.framework based network backend

2022-01-07 Thread Vladislav Yaroshchuk
пт, 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/vmnet

Re: [PULL 00/13] Net patches

2022-01-11 Thread 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: > > > > >

[PATCH v11 4/7] net/vmnet: implement host mode (vmnet-host)

2022-01-12 Thread Vladislav Yaroshchuk
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

  1   2   3   >