[libvirt] [PATCH 0/4] ivshmem support

Osier Yang jyang at redhat.com
Wed Nov 7 09:40:40 UTC 2012


Shawn Furrow proposed a patch more than a month ago:
https://www.redhat.com/archives/libvir-list/2012-September/msg01612.html

But this is a complete different implementation. Considering
there could be other memory related devices in futuer, this
introduces a new device model, called "memory device", instead
of a specific device like "ivshmem", though only "ivshmem"
is supported currently. Please refer to PATCH 1/4 for more
details.

CC'ed to Cam and Shawn, to see if there is advise on the documents.

Osier Yang (4):
  docs: Add documents for memory device
  conf: Parse and format memory device XML
  qemu: Add cap flag QEMU_CAPS_IVSHMEM
  qemu: Build command line for ivshmem device

 docs/formatdomain.html.in                        |   39 +++++
 docs/schemas/domaincommon.rng                    |   38 +++++
 src/conf/domain_conf.c                           |  184 +++++++++++++++++++++-
 src/conf/domain_conf.h                           |   27 +++
 src/libvirt_private.syms                         |    3 +
 src/qemu/qemu_capabilities.c                     |    2 +
 src/qemu/qemu_capabilities.h                     |    1 +
 src/qemu/qemu_command.c                          |   85 ++++++++++
 src/util/util.c                                  |    5 +
 src/util/util.h                                  |    2 +
 tests/qemuhelptest.c                             |   12 +-
 tests/qemuxml2argvdata/qemuxml2argv-ivshmem.args |    7 +
 tests/qemuxml2argvdata/qemuxml2argv-ivshmem.xml  |   33 ++++
 tests/qemuxml2argvtest.c                         |    2 +
 14 files changed, 435 insertions(+), 5 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-ivshmem.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-ivshmem.xml

-- 
1.7.7.6

Regards,
Osier




More information about the libvir-list mailing list