diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-09-06 20:14:15 +0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-02 18:47:55 +0200 |
commit | 3829640049cf516d229620e5919b0ab66fd6ac86 (patch) | |
tree | ef5eb722c0fe8fd4ece5bf28bf0065374f98cdde /cpus.c | |
parent | 7184de64a1cf23a72191484b9a6995c3bfc9fb0b (diff) |
hostmem-memfd: add checks before adding hostmem-memfd & properties
Run some memfd-related checks before registering hostmem-memfd &
various properties. This will help libvirt to figure out what the host
is supposed to be capable of.
qemu_memfd_check() is changed to a less optimized version, since it is
used with various flags, it no longer caches the result.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180906161415.8543-1-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'cpus.c')
0 files changed, 0 insertions, 0 deletions