hw/block/nvme: refactor nvme_addr_read
Pull the controller memory buffer check to its own function. The check will be used on its own in later patches. Signed-off-by: NKlaus Jensen <k.jensen@samsung.com> Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: NMaxim Levitsky <mlevitsk@redhat.com> Reviewed-by: NKeith Busch <kbusch@kernel.org> Message-Id: <20200609190333.59390-7-its@irrelevant.dk> Signed-off-by: NKevin Wolf <kwolf@redhat.com>
Showing
想要评论请 注册 或 登录