On 24-02-22 10:29:06, Klaus Jensen wrote: > From: Klaus Jensen <k.jen...@samsung.com> > > numcntl is one byte and so is max_vfs. Using cpu_to_le16 on big endian > hosts results in numcntl being set to 0. > > Fix by dropping the endian conversion. > > Fixes: 746d42b13368 ("hw/nvme: Initialize capability structures for > primary/secondary controllers") > Reported-by: Kevin Wolf <kw...@redhat.com> > Signed-off-by: Klaus Jensen <k.jen...@samsung.com>
Reviewed-by: Minwoo Im <minwoo...@samsung.com> Thanks,