Re: [Qemu-devel] [PATCH v2 10/12] nvdimm: convert "label-size" into a static property

2018-06-15 Thread David Hildenbrand
On 15.06.2018 15:30, David Hildenbrand wrote: > On 15.06.2018 14:53, Igor Mammedov wrote: >> On Fri, 15 Jun 2018 13:24:58 +0200 >> David Hildenbrand wrote: >> >>> We don't allow to modify it after realization. So we can simply turn >>> it into a static property. The value is now validated during r

Re: [Qemu-devel] [PATCH v2 10/12] nvdimm: convert "label-size" into a static property

2018-06-15 Thread David Hildenbrand
On 15.06.2018 14:53, Igor Mammedov wrote: > On Fri, 15 Jun 2018 13:24:58 +0200 > David Hildenbrand wrote: > >> We don't allow to modify it after realization. So we can simply turn >> it into a static property. The value is now validated during realize(). >> >> Signed-off-by: David Hildenbrand >>

Re: [Qemu-devel] [PATCH v2 10/12] nvdimm: convert "label-size" into a static property

2018-06-15 Thread Igor Mammedov
On Fri, 15 Jun 2018 13:24:58 +0200 David Hildenbrand wrote: > We don't allow to modify it after realization. So we can simply turn > it into a static property. The value is now validated during realize(). > > Signed-off-by: David Hildenbrand > --- > hw/mem/nvdimm.c | 53 ---

[Qemu-devel] [PATCH v2 10/12] nvdimm: convert "label-size" into a static property

2018-06-15 Thread David Hildenbrand
We don't allow to modify it after realization. So we can simply turn it into a static property. The value is now validated during realize(). Signed-off-by: David Hildenbrand --- hw/mem/nvdimm.c | 53 - 1 file changed, 8 insertions(+), 45 deletions(