Displaying 5 results from an estimated 5 matches for "hostmem".
2017 Dec 11
1
Inter Shared Memory ( Ivshmem ) : Cannot Bind
...hmem from a topic "QEMU version 2.10.93 User Documentation",
Ivshmem: it can create a shared memory that guest device use, so we can use this memory to do something ourselves.
First, I create host memory backend:
-object memory-backend-file,size=1M,share,mem-path=/dev/shm/ivshmem,id=hostmem
Twice, Bind a shared memory device to my guest:
-device ivshmem-plain,memdev=hostmem
Then I boot ivshmem servi
ivshmem-server -p /var/run/ivshmem-server.pid -S /tmp/ivshmem_socket -M ivshmem -m /dev/shm -l 1M -n 2
Next time i get this error:
*** Example code, do not use in production...
2018 Feb 12
4
[PATCH v3 1/2] drm/virtio: Add window server support
Hi,
> > (a) software rendering: client allocates shared memory buffer, renders
> > into it, then passes a file handle for that shmem block together
> > with some meta data (size, format, ...) to the wayland server.
> >
> > (b) gpu rendering: client opens a render node, allocates a buffer,
> > asks the cpu to renders into it, exports
2018 Feb 12
4
[PATCH v3 1/2] drm/virtio: Add window server support
Hi,
> > (a) software rendering: client allocates shared memory buffer, renders
> > into it, then passes a file handle for that shmem block together
> > with some meta data (size, format, ...) to the wayland server.
> >
> > (b) gpu rendering: client opens a render node, allocates a buffer,
> > asks the cpu to renders into it, exports
2013 Apr 04
0
[PATCH v2 0/6] kvm: pci PORT IO MMIO and PV MMIO speed tests
....
Michael S. Tsirkin (6):
kvm: remove unused APIs
kvm: support any size for pio eventfd
kvm: support non datamatch ioeventfd
pci: add pci test device
kvm: add PV MMIO
pci-testdev: add pv mmio test
docs/specs/pci-testdev.txt | 26 ++++
hw/Makefile.objs | 1 +
hw/dataplane/hostmem.c | 1 +
hw/ivshmem.c | 2 +
hw/pci-testdev.c | 311 +++++++++++++++++++++++++++++++++++++++++++++
hw/pci/pci.h | 1 +
hw/vhost.c | 4 +-
hw/virtio-pci.c | 4 +-
include/exec/memory.h | 10 ++
include/sysemu/kvm.h...
2013 Apr 04
0
[PATCH v2 0/6] kvm: pci PORT IO MMIO and PV MMIO speed tests
....
Michael S. Tsirkin (6):
kvm: remove unused APIs
kvm: support any size for pio eventfd
kvm: support non datamatch ioeventfd
pci: add pci test device
kvm: add PV MMIO
pci-testdev: add pv mmio test
docs/specs/pci-testdev.txt | 26 ++++
hw/Makefile.objs | 1 +
hw/dataplane/hostmem.c | 1 +
hw/ivshmem.c | 2 +
hw/pci-testdev.c | 311 +++++++++++++++++++++++++++++++++++++++++++++
hw/pci/pci.h | 1 +
hw/vhost.c | 4 +-
hw/virtio-pci.c | 4 +-
include/exec/memory.h | 10 ++
include/sysemu/kvm.h...