[libvirt] [PATCH 0/7] qemu: Trivially add support for newer ivshmem

Martin Kletzander mkletzan at redhat.com
Thu Aug 11 08:23:52 UTC 2016


On Wed, Aug 10, 2016 at 01:50:04PM +0200, Martin Kletzander wrote:
>It's "trivially" because it's just about using different parameters.
>It is a series because I wanted to make some code paths saner and some
>output nicer, but I tried keeping every patch self-contained and as
>small as possible while keeping the readability.  Also I wanted to
>make the series to be looked upon by more people by just using the
>word "trivial".  Sorry for that =)
>
>Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1347049
>

I forgot the mention that some parts of the code were based upon this
commit message [1] in qemu that has more details than the spec and/or
documentation from libvirt's implementation POV.  I amended commit
messages for patches 2 and 7 to include the link.

[1] http://git.qemu.org/?p=qemu.git;a=commit;h=5400c02b90bb647a961f3210255178b68602bd5b

>
>Martin Kletzander (7):
>  qemu: Add capabilities for ivshmem-{plain,doorbell}
>  qemu: Save various defaults for shmem
>  qemu: Make qemuBuildShmemDevStr static
>  qemu: Rename qemuBuildShmemDevStr to qemuBuildShmemDevLegacyStr
>  qemu: Move common checks outside qemuBuildShmemDevLegacyStr
>  qemu: Reorder shmem params nicely
>  qemu: Support newer ivshmem and prefer that over the legacy one
>
> src/qemu/qemu_capabilities.c                       |   4 +
> src/qemu/qemu_capabilities.h                       |   2 +
> src/qemu/qemu_command.c                            | 144 +++++++++++++++------
> src/qemu/qemu_command.h                            |   4 -
> src/qemu/qemu_domain.c                             |  18 +++
> .../caps_2.6.0-gicv2.aarch64.xml                   |   2 +
> .../caps_2.6.0-gicv3.aarch64.xml                   |   2 +
> tests/qemucapabilitiesdata/caps_2.6.0.ppc64le.xml  |   2 +
> tests/qemucapabilitiesdata/caps_2.6.0.x86_64.xml   |   2 +
> tests/qemucapabilitiesdata/caps_2.7.0.x86_64.xml   |   2 +
> .../qemuxml2argv-shmem-plain-doorbell.args         |  42 ++++++
> .../qemuxml2argv-shmem-plain-doorbell.xml}         |  14 +-
> tests/qemuxml2argvdata/qemuxml2argv-shmem.args     |  16 +--
> tests/qemuxml2argvtest.c                           |   3 +
> tests/qemuxml2xmloutdata/qemuxml2xmlout-shmem.xml  |   1 +
> 15 files changed, 193 insertions(+), 65 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-shmem-plain-doorbell.args
> copy tests/{qemuxml2xmloutdata/qemuxml2xmlout-shmem.xml => qemuxml2argvdata/qemuxml2argv-shmem-plain-doorbell.xml} (66%)
>
>--
>2.9.2
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160811/c27536a6/attachment-0001.sig>


More information about the libvir-list mailing list