<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/hw/virtio/Kconfig, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/hw/virtio/Kconfig?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/hw/virtio/Kconfig?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-10-07T13:41:51+00:00</updated>
<entry>
<title>hw/virtio: add boilerplate for vhost-user-gpio device</title>
<updated>2022-10-07T13:41:51+00:00</updated>
<author>
<name>Viresh Kumar</name>
</author>
<published>2022-08-02T09:50:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=27ba7b027f0f06479091bcfbcd308a6b272563a4'/>
<id>urn:sha1:27ba7b027f0f06479091bcfbcd308a6b272563a4</id>
<content type='text'>
This creates the QEMU side of the vhost-user-gpio device which connects
to the remote daemon. It is based of vhost-user-i2c code.

Signed-off-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Message-Id: &lt;5390324a748194a21bc99b1538e19761a8c64092.1641987128.git.viresh.kumar@linaro.org&gt;
[AJB: fixes for qtest, tweaks to feature bits]
Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Cc: Vincent Whitchurch &lt;vincent.whitchurch@axis.com&gt;

Message-Id: &lt;20220802095010.3330793-13-alex.bennee@linaro.org&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>meson: use have_vhost_* variables to pick sources</title>
<updated>2022-05-07T05:46:58+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-04-20T15:34:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=43b6d7ee1fbc5b5fb7c85d8131fdac1863214ad6'/>
<id>urn:sha1:43b6d7ee1fbc5b5fb7c85d8131fdac1863214ad6</id>
<content type='text'>
Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>build: move vhost-user-fs configuration to Kconfig</title>
<updated>2022-05-07T05:46:58+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-04-20T15:34:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=5166dabf4fe4c33e9595b0aaf2c03ccf411199e2'/>
<id>urn:sha1:5166dabf4fe4c33e9595b0aaf2c03ccf411199e2</id>
<content type='text'>
vhost-user-fs is a device and it should be possible to enable/disable
it with --without-default-devices, not --without-default-features.
Compute its default value in Kconfig to obtain the more intuitive
behavior.

In this case the configure options were undocumented, too.

Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>build: move vhost-vsock configuration to Kconfig</title>
<updated>2022-05-07T05:46:58+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2022-04-20T15:34:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9972ae314fc38b7e47ee7ccdbc8556b7cad8a930'/>
<id>urn:sha1:9972ae314fc38b7e47ee7ccdbc8556b7cad8a930</id>
<content type='text'>
vhost-vsock and vhost-user-vsock are two devices of their own; it should
be possible to enable/disable them with --without-default-devices, not
--without-default-features.  Compute their default value in Kconfig to
obtain the more intuitive behavior.

Reviewed-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>vhost-user-rng: Add vhost-user-rng implementation</title>
<updated>2021-10-20T08:37:55+00:00</updated>
<author>
<name>Mathieu Poirier</name>
</author>
<published>2021-10-12T20:59:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=821d28b88f850e5fbc66ee62bdd155eb2d474a29'/>
<id>urn:sha1:821d28b88f850e5fbc66ee62bdd155eb2d474a29</id>
<content type='text'>
Introduce a random number generator (RNG) backend that communicates
with a vhost-user server to retrieve entropy.  That way other VMM
that comply with the vhost user protocl can use the same vhost-user
daemon without having to write yet another RNG driver.

Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Signed-off-by: Mathieu Poirier &lt;mathieu.poirier@linaro.org&gt;
Message-Id: &lt;20211012205904.4106769-2-mathieu.poirier@linaro.org&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>hw/virtio: add boilerplate for vhost-user-i2c device</title>
<updated>2021-07-16T15:10:40+00:00</updated>
<author>
<name>Viresh Kumar</name>
</author>
<published>2021-07-09T05:00:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7221d3b634d1995a63a91de9b5035abf643c7ebc'/>
<id>urn:sha1:7221d3b634d1995a63a91de9b5035abf643c7ebc</id>
<content type='text'>
This creates the QEMU side of the vhost-user-i2c device which connects
to the remote daemon. It is based of vhost-user-fs code.

Signed-off-by: Viresh Kumar &lt;viresh.kumar@linaro.org&gt;
Message-Id: &lt;e80591b52fea4b51631818bb92a798a3daf90399.1625806763.git.viresh.kumar@linaro.org&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>virtio-mem: Paravirtualized memory hot(un)plug</title>
<updated>2020-07-03T11:57:04+00:00</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2020-06-26T07:22:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=910b25766b336a94d69f5f6e1b55c10b3aeb4326'/>
<id>urn:sha1:910b25766b336a94d69f5f6e1b55c10b3aeb4326</id>
<content type='text'>
This is the very basic/initial version of virtio-mem. An introduction to
virtio-mem can be found in the Linux kernel driver [1]. While it can be
used in the current state for hotplug of a smaller amount of memory, it
will heavily benefit from resizeable memory regions in the future.

Each virtio-mem device manages a memory region (provided via a memory
backend). After requested by the hypervisor ("requested-size"), the
guest can try to plug/unplug blocks of memory within that region, in order
to reach the requested size. Initially, and after a reboot, all memory is
unplugged (except in special cases - reboot during postcopy).

The guest may only try to plug/unplug blocks of memory within the usable
region size. The usable region size is a little bigger than the
requested size, to give the device driver some flexibility. The usable
region size will only grow, except on reboots or when all memory is
requested to get unplugged. The guest can never plug more memory than
requested. Unplugged memory will get zapped/discarded, similar to in a
balloon device.

The block size is variable, however, it is always chosen in a way such that
THP splits are avoided (e.g., 2MB). The state of each block
(plugged/unplugged) is tracked in a bitmap.

As virtio-mem devices (e.g., virtio-mem-pci) will be memory devices, we now
expose "VirtioMEMDeviceInfo" via "query-memory-devices".

--------------------------------------------------------------------------

There are two important follow-up items that are in the works:
1. Resizeable memory regions: Use resizeable allocations/RAM blocks to
   grow/shrink along with the usable region size. This avoids creating
   initially very big VMAs, RAM blocks, and KVM slots.
2. Protection of unplugged memory: Make sure the gust cannot actually
   make use of unplugged memory.

Other follow-up items that are in the works:
1. Exclude unplugged memory during migration (via precopy notifier).
2. Handle remapping of memory.
3. Support for other architectures.

--------------------------------------------------------------------------

Example usage (virtio-mem-pci is introduced in follow-up patches):

Start QEMU with two virtio-mem devices (one per NUMA node):
 $ qemu-system-x86_64 -m 4G,maxmem=20G \
  -smp sockets=2,cores=2 \
  -numa node,nodeid=0,cpus=0-1 -numa node,nodeid=1,cpus=2-3 \
  [...]
  -object memory-backend-ram,id=mem0,size=8G \
  -device virtio-mem-pci,id=vm0,memdev=mem0,node=0,requested-size=0M \
  -object memory-backend-ram,id=mem1,size=8G \
  -device virtio-mem-pci,id=vm1,memdev=mem1,node=1,requested-size=1G

Query the configuration:
 (qemu) info memory-devices
 Memory device [virtio-mem]: "vm0"
   memaddr: 0x140000000
   node: 0
   requested-size: 0
   size: 0
   max-size: 8589934592
   block-size: 2097152
   memdev: /objects/mem0
 Memory device [virtio-mem]: "vm1"
   memaddr: 0x340000000
   node: 1
   requested-size: 1073741824
   size: 1073741824
   max-size: 8589934592
   block-size: 2097152
   memdev: /objects/mem1

Add some memory to node 0:
 (qemu) qom-set vm0 requested-size 500M

Remove some memory from node 1:
 (qemu) qom-set vm1 requested-size 200M

Query the configuration again:
 (qemu) info memory-devices
 Memory device [virtio-mem]: "vm0"
   memaddr: 0x140000000
   node: 0
   requested-size: 524288000
   size: 524288000
   max-size: 8589934592
   block-size: 2097152
   memdev: /objects/mem0
 Memory device [virtio-mem]: "vm1"
   memaddr: 0x340000000
   node: 1
   requested-size: 209715200
   size: 209715200
   max-size: 8589934592
   block-size: 2097152
   memdev: /objects/mem1

[1] https://lkml.kernel.org/r/20200311171422.10484-1-david@redhat.com

Cc: "Michael S. Tsirkin" &lt;mst@redhat.com&gt;
Cc: Eric Blake &lt;eblake@redhat.com&gt;
Cc: Markus Armbruster &lt;armbru@redhat.com&gt;
Cc: "Dr. David Alan Gilbert" &lt;dgilbert@redhat.com&gt;
Cc: Igor Mammedov &lt;imammedo@redhat.com&gt;
Signed-off-by: David Hildenbrand &lt;david@redhat.com&gt;
Message-Id: &lt;20200626072248.78761-11-david@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>virtio-iommu: depend on PCI</title>
<updated>2020-04-01T17:00:16+00:00</updated>
<author>
<name>Paolo Bonzini</name>
</author>
<published>2020-03-20T10:41:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3b703feaf8a27451d756b5db6aeaa8276928b595'/>
<id>urn:sha1:3b703feaf8a27451d756b5db6aeaa8276928b595</id>
<content type='text'>
The virtio-iommu device attaches itself to a PCI bus, so it makes
no sense to include it unless PCI is supported---and in fact
compilation fails without this change.

Reported-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
<entry>
<title>virtio-iommu: Add skeleton</title>
<updated>2020-02-27T08:46:10+00:00</updated>
<author>
<name>Eric Auger</name>
</author>
<published>2020-02-14T13:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=22c37a10f3e1de1b19aa8281bc368d8cea960f4c'/>
<id>urn:sha1:22c37a10f3e1de1b19aa8281bc368d8cea960f4c</id>
<content type='text'>
This patchs adds the skeleton for the virtio-iommu device.

Signed-off-by: Eric Auger &lt;eric.auger@redhat.com&gt;
Reviewed-by: Peter Xu &lt;peterx@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;

Message-Id: &lt;20200214132745.23392-2-eric.auger@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>configure: simplify vhost condition with Kconfig</title>
<updated>2019-12-17T18:32:48+00:00</updated>
<author>
<name>Marc-André Lureau</name>
</author>
<published>2019-08-15T13:13:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=21c6b0c87e85d952d3d0e569388526f03ad48576'/>
<id>urn:sha1:21c6b0c87e85d952d3d0e569388526f03ad48576</id>
<content type='text'>
Signed-off-by: Marc-André Lureau &lt;marcandre.lureau@redhat.com&gt;
Signed-off-by: Paolo Bonzini &lt;pbonzini@redhat.com&gt;
</content>
</entry>
</feed>
