diff options
author | Dorjoy Chowdhury <dorjoychy111@gmail.com> | 2024-10-09 03:17:25 +0600 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-31 18:28:33 +0100 |
commit | 1a9867498dddcdfc5021f6ef453d75c347455e32 (patch) | |
tree | 58654c9e5d80b22ae5dfd29f8497a9c4f318a8dd /backends | |
parent | 63d2a5c78791e5df1d3173e553a09838fb4f7c9c (diff) | |
download | qemu-1a9867498dddcdfc5021f6ef453d75c347455e32.zip qemu-1a9867498dddcdfc5021f6ef453d75c347455e32.tar.gz qemu-1a9867498dddcdfc5021f6ef453d75c347455e32.tar.bz2 |
core/machine: Make create_default_memdev machine a virtual method
This is in preparation for the next commit where the nitro-enclave
machine type will need to instead use a memfd backend, for the built-in
vhost-user-vsock device to work.
Signed-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>
Reviewed-by: Alexander Graf <graf@amazon.com>
Link: https://lore.kernel.org/r/20241008211727.49088-5-dorjoychy111@gmail.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'backends')
-rw-r--r-- | backends/hostmem-memfd.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/hostmem-memfd.c b/backends/hostmem-memfd.c index 6a3c89a..9f890a8 100644 --- a/backends/hostmem-memfd.c +++ b/backends/hostmem-memfd.c @@ -18,8 +18,6 @@ #include "qapi/error.h" #include "qom/object.h" -#define TYPE_MEMORY_BACKEND_MEMFD "memory-backend-memfd" - OBJECT_DECLARE_SIMPLE_TYPE(HostMemoryBackendMemfd, MEMORY_BACKEND_MEMFD) |