Re: [Qemu-devel] [PATCH] backends/hostmem-file: Add file-name property

2015-10-27 Thread Igor Mammedov
On Tue, 27 Oct 2015 16:53:56 +0300 Pavel Fedin wrote: > This option allows to explicitly specify file name to use with the backend. > This is important when using it together with ivshmem in order to make it > backed by hugetlbfs. By default filename is autogenerated using

Re: [Qemu-devel] [PATCH] backends/hostmem-file: Add file-name property

2015-10-27 Thread Eric Blake
On 10/27/2015 07:53 AM, Pavel Fedin wrote: > This option allows to explicitly specify file name to use with the backend. > This is important when using it together with ivshmem in order to make it > backed by hugetlbfs. By default filename is autogenerated using mkstemp(), > and the file is

Re: [Qemu-devel] [PATCH] backends/hostmem-file: Add file-name property

2015-10-27 Thread Pavel Fedin
Hello! > Is there a missing qapi change, so that the new filename attribute can > also be specified by QMP command? Or do we not support hotplug of > ivshmem yet? To tell the truth, i don't know, and we currently do not test ivshmem with hotplug here, neither i heard that we would want it.

[Qemu-devel] [PATCH] backends/hostmem-file: Add file-name property

2015-10-27 Thread Pavel Fedin
This option allows to explicitly specify file name to use with the backend. This is important when using it together with ivshmem in order to make it backed by hugetlbfs. By default filename is autogenerated using mkstemp(), and the file is unlink()ed after creation, effectively making it