<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/stubs/qmp_pc_dimm.c, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/stubs/qmp_pc_dimm.c?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/stubs/qmp_pc_dimm.c?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2018-05-07T13:00:02+00:00</updated>
<entry>
<title>pc-dimm: factor out MemoryDevice interface</title>
<updated>2018-05-07T13:00:02+00:00</updated>
<author>
<name>David Hildenbrand</name>
</author>
<published>2018-04-23T16:51:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2cc0e2e8140f43ccc6aced6e47c9c2db15ce2330'/>
<id>urn:sha1:2cc0e2e8140f43ccc6aced6e47c9c2db15ce2330</id>
<content type='text'>
On the qmp level, we already have the concept of memory devices:
    "query-memory-devices"
Right now, we only support NVDIMM and PCDIMM.

We want to map other devices later into the address space of the guest.
Such device could e.g. be virtio devices. These devices will have a
guest memory range assigned but won't be exposed via e.g. ACPI. We want
to make them look like memory device, but not glued to pc-dimm.

Especially, it will not always be possible to have TYPE_PC_DIMM as a parent
class (e.g. virtio devices). Let's use an interface instead. As a first
part, convert handling of
- qmp_pc_dimm_device_list
- get_plugged_memory_size
to our new model. plug/unplug stuff etc. will follow later.

A memory device will have to provide the following functions:
- get_addr(): Necessary, as the property "addr" can e.g. not be used for
              virtio devices (already defined).
- get_plugged_size(): The amount this device offers to the guest as of
                      now.
- get_region_size(): Because this can later on be bigger than the
                     plugged size.
- fill_device_info(): Fill MemoryDeviceInfo, e.g. for qmp.

Reviewed-by: David Gibson &lt;david@gibson.dropbear.id.au&gt;
Signed-off-by: David Hildenbrand &lt;david@redhat.com&gt;
Message-Id: &lt;20180423165126.15441-2-david@redhat.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Eduardo Habkost &lt;ehabkost@redhat.com&gt;
</content>
</entry>
<entry>
<title>pc-dimm: make qmp_pc_dimm_device_list() sort devices by address</title>
<updated>2018-03-20T01:34:52+00:00</updated>
<author>
<name>Haozhong Zhang</name>
</author>
<published>2018-03-11T03:02:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=52c95cae4e1299e0a2a9709093581a3a96473aa5'/>
<id>urn:sha1:52c95cae4e1299e0a2a9709093581a3a96473aa5</id>
<content type='text'>
Make qmp_pc_dimm_device_list() return sorted by start address
list of devices so that it could be reused in places that
would need sorted list*. Reuse existing pc_dimm_built_list()
to get sorted list.

While at it hide recursive callbacks from callers, so that:

  qmp_pc_dimm_device_list(qdev_get_machine(), &amp;list);

could be replaced with simpler:

  list = qmp_pc_dimm_device_list();

* follow up patch will use it in build_srat()

Signed-off-by: Haozhong Zhang &lt;haozhong.zhang@intel.com&gt;
Reviewed-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Acked-by: David Gibson &lt;david@gibson.dropbear.id.au&gt; for ppc part
Reviewed-by: Bharata B Rao &lt;bharata@linux.vnet.ibm.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>qmp: introduce query-memory-size-summary command</title>
<updated>2017-09-14T14:52:10+00:00</updated>
<author>
<name>Vadim Galitsyn</name>
</author>
<published>2017-08-29T15:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=9aa3397f1999e569eae266cab844391e5ab65d81'/>
<id>urn:sha1:9aa3397f1999e569eae266cab844391e5ab65d81</id>
<content type='text'>
Add a new query-memory-size-summary command which provides the
following memory information in bytes:

  * base-memory - size of "base" memory specified with command line option -m.

  * plugged-memory - amount of memory that was hot-plugged.
    If target does not have CONFIG_MEM_HOTPLUG enabled, no
    value is reported.

Signed-off-by: Vasilis Liaskovitis &lt;vasilis.liaskovitis@profitbricks.com&gt;
Signed-off-by: Mohammed Gamal &lt;mohammed.gamal@profitbricks.com&gt;
Signed-off-by: Eduardo Otubo &lt;eduardo.otubo@profitbricks.com&gt;
Signed-off-by: Vadim Galitsyn &lt;vadim.galitsyn@profitbricks.com&gt;
Reviewed-by: Eugene Crosser &lt;evgenii.cherkashin@profitbricks.com&gt;
Cc: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
Cc: Markus Armbruster &lt;armbru@redhat.com&gt;
Cc: Igor Mammedov &lt;imammedo@redhat.com&gt;
Cc: Eric Blake &lt;eblake@redhat.com&gt;
Cc: qemu-devel@nongnu.org
Message-Id: &lt;20170829153022.27004-3-vadim.galitsyn@profitbricks.com&gt;
Reviewed-by: Igor Mammedov &lt;imammedo@redhat.com&gt;
Signed-off-by: Dr. David Alan Gilbert &lt;dgilbert@redhat.com&gt;
  Fixup comments as per Igor's review
  Added 'of' from Vadim's reply
</content>
</entry>
</feed>
