[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <PU1P153MB01697642B92D138D5FA52193BF0A0@PU1P153MB0169.APCP153.PROD.OUTLOOK.COM>
Date: Thu, 16 May 2019 21:48:11 +0000
From: Dexuan Cui <decui@...rosoft.com>
To: Stefano Garzarella <sgarzare@...hat.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Stefan Hajnoczi <stefanha@...hat.com>,
Jorgen Hansen <jhansen@...are.com>
CC: "David S. Miller" <davem@...emloft.net>,
Vishnu Dasa <vdasa@...are.com>,
KY Srinivasan <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Sasha Levin <sashal@...nel.org>
Subject: RE: [RFC] vsock: proposal to support multiple transports at runtime
> From: Stefano Garzarella <sgarzare@...hat.com>
> Sent: Tuesday, May 14, 2019 1:16 AM
> To: netdev@...r.kernel.org; Stefan Hajnoczi <stefanha@...hat.com>; Dexuan
>
> Hi guys,
> I'm currently interested on implement a multi-transport support for VSOCK in
> order to handle nested VMs.
Hi Stefano,
Thanks for reviving the discussion! :-)
I don't know a lot about the details of kvm/vmware sockets, but please let me
share my understanding about them, and let me also share some details about
hyper-v sockets, which I think should be the simplest:
1) For hyper-v sockets, the "host" can only be Windows. We can do nothing on the
Windows host, and I guess we need to do nothing there.
2) For hyper-v sockets, I think we only care about Linux guest, and the guest can
only talk to the host; a guest can not talk to another guest running on the same host.
3) On a hyper-v host, if the guest is running kvm/vmware (i.e. nested virtualization),
I think in the "KVM guest" the Linux hyper-v transport driver needs to load so that
the guest can talk to the host (I'm not sure about "vmware guest" in this case);
the "KVM guest" also needs to load the kvm transport drivers so that it can talk
to its child VMs (I'm not sure abut "vmware guest" in this case).
4) On kvm/vmware, if the guest is a Windows guest, I think we can do nothing in
the guest; if the guest is Linux guest, I think the kvm/vmware transport drivers
should load; if the Linux guest is running kvm/vmware (nested virtualization), I
think the proper "to child VMs" versions of the kvm/vmware transport drivers
need to load.
Thanks,
-- Dexuan
Powered by blists - more mailing lists