Re: [PATCH] hostmem: Don't report pmem attribute if unsupported

2021-01-20 Thread Igor Mammedov
On Tue, 19 Jan 2021 13:35:35 +0100 Michal Privoznik wrote: > When management applications (like Libvirt) want to check whether > memory-backend-file.pmem is supported they can list object > properties using 'qom-list-properties'. However, 'pmem' is > declared always (and thus reported always) and

Re: [PATCH] hostmem: Don't report pmem attribute if unsupported

2021-01-19 Thread Daniel Henrique Barboza
On 1/19/21 9:35 AM, Michal Privoznik wrote: When management applications (like Libvirt) want to check whether memory-backend-file.pmem is supported they can list object properties using 'qom-list-properties'. However, 'pmem' is declared always (and thus reported always) and only at runtime QEM

[PATCH] hostmem: Don't report pmem attribute if unsupported

2021-01-19 Thread Michal Privoznik
When management applications (like Libvirt) want to check whether memory-backend-file.pmem is supported they can list object properties using 'qom-list-properties'. However, 'pmem' is declared always (and thus reported always) and only at runtime QEMU errors out if it was built without libpmem (and