All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] Add uvirtio for testing
@ 2020-04-28 20:47 Lepton Wu
  2020-04-28 20:47 ` [PATCH 1/1] virtio: Add uvirtio driver Lepton Wu
  2020-04-29  9:56 ` [PATCH 0/1] Add uvirtio for testing Jason Wang
  0 siblings, 2 replies; 11+ messages in thread
From: Lepton Wu @ 2020-04-28 20:47 UTC (permalink / raw)
  To: virtualization; +Cc: Lepton Wu, mst

This is a way to create virtio based devices from user space. This is the
background for this patch:

We have some images works fine under qemu, we'd like to also run the same image
on Google Cloud. Currently Google Cloud doesn't support virtio-vga. I had a 
patch to create a virtio-vga from kernel directly:
https://www.spinics.net/lists/dri-devel/msg248573.html

Then I got feedback from Gerd that maybe it's better to change that to something
like uvirtio. Since I really don't have other use cases for now, I just implemented the minimal stuff which work for my use case.

Lepton Wu (1):
  virtio: Add uvirtio driver

 drivers/virtio/Kconfig        |   8 +
 drivers/virtio/Makefile       |   1 +
 drivers/virtio/uvirtio.c      | 405 ++++++++++++++++++++++++++++++++++
 include/linux/uvirtio.h       |   8 +
 include/uapi/linux/uvirtio.h  |  69 ++++++
 samples/uvirtio/Makefile      |   9 +
 samples/uvirtio/uvirtio-vga.c |  63 ++++++
 7 files changed, 563 insertions(+)
 create mode 100644 drivers/virtio/uvirtio.c
 create mode 100644 include/linux/uvirtio.h
 create mode 100644 include/uapi/linux/uvirtio.h
 create mode 100644 samples/uvirtio/Makefile
 create mode 100644 samples/uvirtio/uvirtio-vga.c

-- 
2.26.2.303.gf8c07b1a785-goog

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

end of thread, other threads:[~2020-05-06  3:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 20:47 [PATCH 0/1] Add uvirtio for testing Lepton Wu
2020-04-28 20:47 ` [PATCH 1/1] virtio: Add uvirtio driver Lepton Wu
2020-04-29  9:56 ` [PATCH 0/1] Add uvirtio for testing Jason Wang
2020-04-29 11:58   ` Gerd Hoffmann
2020-04-30  3:59     ` lepton
2020-04-30  7:51       ` Gerd Hoffmann
2020-05-01  0:57         ` [PATCH v3] virtio: Add uvirtio driver Lepton Wu
2020-05-01  0:59         ` [PATCH 0/1] Add uvirtio for testing lepton
2020-04-30  3:55   ` [PATCH v2] virtio: Add uvirtio driver Lepton Wu
2020-04-30  3:56   ` [PATCH 0/1] Add uvirtio for testing lepton
2020-05-06  3:14     ` Jason Wang

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.