All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] hypercall-vsock: add a new vsock transport
@ 2021-11-10  7:12 Wang, Wei W
  2021-11-10  9:34   ` Stefan Hajnoczi
                   ` (2 more replies)
  0 siblings, 3 replies; 24+ messages in thread
From: Wang, Wei W @ 2021-11-10  7:12 UTC (permalink / raw)
  To: sgarzare@redhat.com, davem@davemloft.net, kuba@kernel.org,
	Stefan Hajnoczi, mst@redhat.com, Paolo Bonzini, kys@microsoft.com,
	linux-kernel@vger.kernel.org,
	virtualization@lists.linux-foundation.org
  Cc: Yamahata, Isaku, Kleen, Andi


[-- Attachment #1.1: Type: text/plain, Size: 1095 bytes --]

Hi,

We plan to add a new vsock transport based on hypercall (e.g. vmcall on Intel CPUs).
It transports AF_VSOCK packets between the guest and host, which is similar to
virtio-vsock, vmci-vsock and hyperv-vsock.

Compared to the above listed vsock transports which are designed for high performance,
the main advantages of hypercall-vsock are:

1)       It is VMM agnostic. For example, one guest working on hypercall-vsock can run on

either KVM, Hyperv, or VMware.

2)       It is simpler. It doesn't rely on any complex bus enumeration

(e.g. virtio-pci based vsock device may need the whole implementation of PCI).

An example usage is the communication between MigTD and host (Page 8 at
https://static.sched.com/hosted_files/kvmforum2021/ef/TDX%20Live%20Migration_Wei%20Wang.pdf).
MigTD communicates to host to assist the migration of the target (user) TD.
MigTD is part of the TCB, so its implementation is expected to be as simple as possible
(e.g. bare mental implementation without OS, no PCI driver support).

Looking forward to your feedbacks.

Thanks,
Wei

[-- Attachment #1.2: Type: text/html, Size: 7547 bytes --]

[-- Attachment #2: Type: text/plain, Size: 183 bytes --]

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2021-11-25 12:06 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-10  7:12 [RFC] hypercall-vsock: add a new vsock transport Wang, Wei W
2021-11-10  9:34 ` Stefan Hajnoczi
2021-11-10  9:34   ` Stefan Hajnoczi
2021-11-11  8:02   ` Wang, Wei W
2021-11-11  8:02     ` Wang, Wei W
2021-11-10 10:50 ` Michael S. Tsirkin
2021-11-10 10:50   ` Michael S. Tsirkin
2021-11-11  7:58   ` Wang, Wei W
2021-11-11  7:58     ` Wang, Wei W
2021-11-11 15:19     ` Michael S. Tsirkin
2021-11-11 15:19       ` Michael S. Tsirkin
2021-11-25  6:37     ` Jason Wang
2021-11-25  6:37       ` Jason Wang
2021-11-25  8:43       ` Wang, Wei W
2021-11-25  8:43         ` Wang, Wei W
2021-11-25 12:04         ` Gerd Hoffmann
2021-11-25 12:04           ` Gerd Hoffmann
2021-11-10 11:17 ` Stefano Garzarella
2021-11-10 11:17   ` Stefano Garzarella
2021-11-10 21:45   ` Paraschiv, Andra-Irina
2021-11-11  8:14   ` Wang, Wei W
2021-11-11  8:14     ` Wang, Wei W
2021-11-11  8:24     ` Paolo Bonzini
2021-11-11  8:24       ` Paolo Bonzini

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.