[PATCH 0/4] qemu: Fix regression wrt virtio-pmem

Michal Privoznik posted 4 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1677497565.git.mprivozn@redhat.com
src/libvirt_private.syms     |   1 +
src/qemu/qemu_monitor_json.c | 124 +++++++++++++++++++----------------
2 files changed, 67 insertions(+), 58 deletions(-)
[PATCH 0/4] qemu: Fix regression wrt virtio-pmem
Posted by Michal Privoznik 1 year, 1 month ago
The first one fixes a regression in which we're unable to start a domain
with a virtio-pmem device. It should go into the release. The rest is
just a cleanup because the function in question started looking
disarranged.

Michal Prívozník (4):
  qemu: Don't error out on 'unknown' memory model in
    qemuMonitorJSONGetMemoryDeviceInfo()
  libvirt_private.syms: Export virDomainMemoryModelTypeFromString()
  qemu_monitor: Switch to virDomainMemoryModel enum in
    qemuMonitorJSONGetMemoryDeviceInfo()
  qemu_monitor: Decouple switch()-es in
    qemuMonitorJSONGetMemoryDeviceInfo()

 src/libvirt_private.syms     |   1 +
 src/qemu/qemu_monitor_json.c | 124 +++++++++++++++++++----------------
 2 files changed, 67 insertions(+), 58 deletions(-)

-- 
2.39.2

Re: [PATCH 0/4] qemu: Fix regression wrt virtio-pmem
Posted by Kristina Hanicova 1 year, 1 month ago
On Mon, Feb 27, 2023 at 12:35 PM Michal Privoznik <mprivozn@redhat.com>
wrote:

> The first one fixes a regression in which we're unable to start a domain
> with a virtio-pmem device. It should go into the release. The rest is
> just a cleanup because the function in question started looking
> disarranged.
>
> Michal Prívozník (4):
>   qemu: Don't error out on 'unknown' memory model in
>     qemuMonitorJSONGetMemoryDeviceInfo()
>   libvirt_private.syms: Export virDomainMemoryModelTypeFromString()
>   qemu_monitor: Switch to virDomainMemoryModel enum in
>     qemuMonitorJSONGetMemoryDeviceInfo()
>   qemu_monitor: Decouple switch()-es in
>     qemuMonitorJSONGetMemoryDeviceInfo()
>
>  src/libvirt_private.syms     |   1 +
>  src/qemu/qemu_monitor_json.c | 124 +++++++++++++++++++----------------
>  2 files changed, 67 insertions(+), 58 deletions(-)
>
> --
> 2.39.2
>
>

Reviewed-by: Kristina Hanicova <khanicov@redhat.com>

Kristina