qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 0/2 for-2.1] vhost-user fixes


From: Nikolay Nikolaev
Subject: [Qemu-devel] [PATCH v2 0/2 for-2.1] vhost-user fixes
Date: Sat, 12 Jul 2014 04:42:02 +0300
User-agent: StGit/0.17.1-dirty

The latest vhost-user changes changed the VHOST_SET_MEM_TABLE handling.
Now the memory regions are mapped from dev->mem. There is an error when calling
qemu_get_ram_fd with reg->guest_phys_addr. The right approach is to find the 
ram_addr_t 
corresponding to the userspace_addr using qemu_ram_addr_from_host first.

Thanks to Paolo Bonzini for poinitng the real problem.

The related vhost-user qtest is also updated to reflect the changes in
vhost-user message structures.


Changes since v1:
 - dropped the patches 1 and 2 and just fixed the "real issue"

---

Nikolay Nikolaev (2):
      vhost-user: Fix VHOST_SET_MEM_TABLE processing
      qtest: Adapt vhost-user-test to latehs vhost-user changes


 hw/virtio/vhost-user.c  |    4 +++-
 tests/vhost-user-test.c |   11 +++++++++--
 2 files changed, 12 insertions(+), 3 deletions(-)

--
Signature



reply via email to

[Prev in Thread] Current Thread [Next in Thread]