[virt-tools-list] [PATCH] cli: add memory backing access_mode & source_type
Cole Robinson
crobinso at redhat.com
Tue Oct 2 15:12:05 UTC 2018
On 10/01/2018 02:53 PM, Marc-André Lureau wrote:
> Hi
>
> On Mon, Oct 1, 2018 at 9:20 PM Cole Robinson <crobinso at redhat.com> wrote:
>>
>> On 09/17/2018 06:59 AM, marcandre.lureau at redhat.com wrote:
>>> From: Marc-André Lureau <marcandre.lureau at redhat.com>
>>>
>>> Allow to set some memory backing options, ex:
>>> --memorybacking access_mode=shared,source_type=anonymous
>>>
>>> Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
>>> ---
>>> .../cli-test-xml/compare/virt-install-singleton-config-2.xml | 4 ++++
>>> tests/clitest.py | 2 +-
>>> virtinst/cli.py | 2 ++
>>> virtinst/domain/memorybacking.py | 2 ++
>>> 4 files changed, 9 insertions(+), 1 deletion(-)
>>
>> Patch looks good, thanks. I'll push after libvirt patches land
>
> The attributes/properties set here are long supported by libvirt.
>
> Only the value "memfd" for source_type I use in the test isn't yet supported.
>
> thanks
>
Oh I must have screwed up grepping, I thought source type= was new. I'll
push it but with memfd switched to anonymous... doesn't seem to cause an
issue that 'memfd' is passed but libvirt doesn't support it yet, which
is a bit strange, usually it chokes on unknown enum values
- Cole
More information about the virt-tools-list
mailing list