aboutsummaryrefslogtreecommitdiff
path: root/hw/vhost.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-04-06 22:25:38 +0300
committerMichael S. Tsirkin <mst@redhat.com>2011-04-06 22:28:40 +0300
commit0fd542fb7d13ddf12f897bb27c5950f31638b1df (patch)
tree3a5ea98b312b60c63440b4c3b0d039481746188d /hw/vhost.c
parentafe3ef1d01dd767b6824c0580ecb92f6a27b75cc (diff)
cpu: add set_memory flag to request dirty logging
Pass the flag to all cpu notifiers, doing nothing at this point. Will be used by follow-up patches. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/vhost.c')
-rw-r--r--hw/vhost.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/vhost.c b/hw/vhost.c
index 14b571d07c..dc3d0e2834 100644
--- a/hw/vhost.c
+++ b/hw/vhost.c
@@ -300,7 +300,8 @@ static int vhost_verify_ring_mappings(struct vhost_dev *dev,
static void vhost_client_set_memory(CPUPhysMemoryClient *client,
target_phys_addr_t start_addr,
ram_addr_t size,
- ram_addr_t phys_offset)
+ ram_addr_t phys_offset,
+ bool log_dirty)
{
struct vhost_dev *dev = container_of(client, struct vhost_dev, client);
ram_addr_t flags = phys_offset & ~TARGET_PAGE_MASK;