diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-11-02 20:00:28 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-11-03 18:32:48 +0200 |
commit | d3f16ec887bb58b19eac94fcae139a39a7933e15 (patch) | |
tree | 04cbb3af6b7f84e228cf27c4b63ab0b31da4e2b9 /hw/i386/pc.c | |
parent | ac369a77967d5dd984a5430505eaf24a380af1c0 (diff) |
vhost-user: fix mmap offset calculation
qemu_get_ram_block_host_ptr should get ram_addr_t,
vhost-user passes in GPA.
That's very wrong.
Reported-by: Linhaifeng <haifeng.lin@huawei.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/pc.c')
0 files changed, 0 insertions, 0 deletions