summaryrefslogtreecommitdiffstats
path: root/hw/Makefile.objs
diff options
context:
space:
mode:
authorNikolay Nikolaev <n.nikolaev@virtualopensystems.com>2014-07-12 04:42:35 +0300
committerMichael S. Tsirkin <mst@redhat.com>2014-07-18 02:14:15 +0300
commitf69a28051f856e906bd9c2f9f27b3106a47e18f6 (patch)
treeb6818245d7e770ae59de26ff9e8537117df944f0 /hw/Makefile.objs
parent0e3cd8334aa800b947e2511720a8dcb792f68871 (diff)
downloadhqemu-f69a28051f856e906bd9c2f9f27b3106a47e18f6.zip
hqemu-f69a28051f856e906bd9c2f9f27b3106a47e18f6.tar.gz
vhost-user: Fix VHOST_SET_MEM_TABLE processing
qemu_get_ram_fd doesn't accept a guest physical address. ram_addr_t are opaque values that are assigned in qemu_ram_alloc. Find the ram_addr_t corresponding to the userspace_addr using qemu_ram_addr_from_host, and then call qemu_get_ram_fd on it. Thanks to Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/Makefile.objs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud