[PATCH 0/2] Add support for preallocated memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This change introduces support for preallocated shared file descriptor based memory backing. 
It allows vhost-user to be used without hugepages. This is achieved by introducing 3
new sub elements to the memoryBacking element: source, access & allocation
which will configure qemu commandline during VM startup accordingly

Jaroslav Safka (2):
  Add new elements source,access and allocation
  Add xml to argv for memorybacking access,source,..

 docs/schemas/domaincommon.rng                      | 45 +++++++++++++++++
 src/conf/domain_conf.c                             | 59 +++++++++++++++++++++-
 src/conf/domain_conf.h                             | 31 ++++++++++++
 src/qemu/qemu_command.c                            | 56 ++++++++++++++++++++
 src/qemu/qemu_command.h                            |  4 ++
 .../qemuxml2argv-memorybacking-set.args            | 26 ++++++++++
 .../qemuxml2argv-memorybacking-set.xml             | 32 ++++++++++++
 .../qemuxml2argv-memorybacking-unset.args          | 22 ++++++++
 .../qemuxml2argv-memorybacking-unset.xml           | 32 ++++++++++++
 tests/qemuxml2argvtest.c                           |  3 ++
 .../qemuxml2xmlout-memorybacking-set.xml           | 40 +++++++++++++++
 .../qemuxml2xmlout-memorybacking-unset.xml         | 40 +++++++++++++++
 tests/qemuxml2xmltest.c                            |  3 ++
 13 files changed, 392 insertions(+), 1 deletion(-)
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-memorybacking-set.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-memorybacking-set.xml
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-memorybacking-unset.args
 create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-memorybacking-unset.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-memorybacking-set.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-memorybacking-unset.xml

-- 
2.1.0

--------------------------------------------------------------
Intel Research and Development Ireland Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263


This e-mail and any attachments may contain confidential material for the sole
use of the intended recipient(s). Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact the
sender and delete all copies.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]