Ilya Maximets 4a66c7a999 hostmem-memfd: disable for systems without sealing support
If seals are not supported, memfd_create() will fail.
Furthermore, there is no way to disable it in this case because
'.seal' property is not registered.

This issue leads to vhost-user-test failures on RHEL 7.2:

  qemu-system-x86_64: -object memory-backend-memfd,id=mem,size=2M,: \
                      failed to create memfd: Invalid argument

and actually breaks the feature on such systems.

Let's restrict memfd backend to systems with sealing support.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Message-Id: <20190311135850.6537-2-i.maximets@samsung.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2019-03-11 17:16:56 -03:00
..
2018-02-22 15:44:07 -08:00
2017-09-22 10:46:25 +08:00
2019-03-07 17:28:46 +01:00
2019-03-09 20:55:44 +00:00
2019-02-22 14:07:01 -05:00
2019-03-07 17:28:46 +01:00
2019-03-07 17:28:47 +01:00
2019-03-07 17:28:26 +01:00
2019-03-07 17:28:47 +01:00
2019-03-07 17:28:46 +01:00
2019-03-07 17:28:41 +01:00
2019-03-09 14:43:39 +00:00
2019-03-07 17:28:47 +01:00
2019-03-07 17:28:46 +01:00
2019-03-07 17:28:46 +01:00
2019-03-07 17:28:46 +01:00
2019-03-08 16:31:34 +00:00
2019-03-07 17:28:25 +01:00
2019-03-07 17:28:46 +01:00
2019-02-26 19:04:47 +00:00
2019-03-05 11:27:41 +08:00
2017-09-05 22:34:40 +02:00
2018-08-31 09:53:10 +02:00
2018-08-23 18:46:25 +02:00
2017-12-20 22:01:24 +08:00
2018-12-20 10:29:08 +01:00
2018-12-20 10:29:08 +01:00
2019-03-07 17:28:27 +01:00
2019-03-07 17:28:46 +01:00