OSDN Git Service

hw/block: Let the NVMe emulated device be target-agnostic
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 8 May 2020 06:24:55 +0000 (08:24 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 5 Jun 2020 08:54:48 +0000 (09:54 +0100)
commitbc2a2364b8050632a3b3de07f30d88b7f0734845
tree3cdded3839113c4aa1e424c0dacbf5784615b78e
parent9ecc996a3d39bdbf64a488936f97a9496b74ebd8
hw/block: Let the NVMe emulated device be target-agnostic

Now than the non-target specific memory_region_msync() function
is available, use it to make this device target-agnostic.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20200508062456.23344-4-philmd@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/block/Makefile.objs
hw/block/nvme.c