qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 18/29] hostmem: add file-based HostMemoryBack


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v4 18/29] hostmem: add file-based HostMemoryBackend
Date: Tue, 10 Jun 2014 01:09:32 -0400 (EDT)

> > > +#define TYPE_MEMORY_BACKEND_FILE "memory-backend-file"
> > how about naming it after what it really is? "memory-backend-hugepage"
> > Later we could split it into generic superclass mmap-ed
> > "memory-backend-file" and have TPH specific code moved into this backend.
> 
> OK.

Actually I don't think there's anything hugepage-specific in this backend
(except perhaps passing a path instead of a filename).  It could be used
with a tmpfs backing storage like /dev/shm.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]