diff options
author | Avi Kivity <avi@redhat.com> | 2011-12-19 13:18:13 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-01-03 19:19:28 +0200 |
commit | 2817b260e3ca57ee091fc56403bfafdcc18b6a96 (patch) | |
tree | 448abff3b0cf9d2d152312b99dae054eb61d3f91 /hw/vhost.h | |
parent | ffcde12f6ca9fd9701e238ce9909314a0123f553 (diff) | |
download | qemu-2817b260e3ca57ee091fc56403bfafdcc18b6a96.zip |
vhost: avoid cpu_get_physical_page_desc()
This reaches into the innards of the memory core, which are being
changed. Switch to a memory API version.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/vhost.h')
-rw-r--r-- | hw/vhost.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/vhost.h b/hw/vhost.h index d1824ec9d9..80e64df860 100644 --- a/hw/vhost.h +++ b/hw/vhost.h @@ -30,6 +30,8 @@ struct vhost_dev { MemoryListener memory_listener; int control; struct vhost_memory *mem; + int n_mem_sections; + MemoryRegionSection *mem_sections; struct vhost_virtqueue *vqs; int nvqs; unsigned long long features; |