search for: 2b65d9b

Displaying 4 results from an estimated 4 matches for "2b65d9b".

Did you mean: 2b5569b
2009 Dec 20
0
[PATCH 3/3] vhost: make default mapping empty by default
...lly matches their address space. Make the default mapping empty. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/vhost/vhost.c | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 33e06bf..2b65d9b 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -170,21 +170,14 @@ long vhost_dev_reset_owner(struct vhost_dev *dev) { struct vhost_memory *memory; - /* Restore memory to default 1:1 mapping. */ - memory = kmalloc(offsetof(struct vhost_memory, regions) + - 2 * sizeof *memo...
2009 Dec 20
0
[PATCH 3/3] vhost: make default mapping empty by default
...lly matches their address space. Make the default mapping empty. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- drivers/vhost/vhost.c | 13 +++---------- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 33e06bf..2b65d9b 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -170,21 +170,14 @@ long vhost_dev_reset_owner(struct vhost_dev *dev) { struct vhost_memory *memory; - /* Restore memory to default 1:1 mapping. */ - memory = kmalloc(offsetof(struct vhost_memory, regions) + - 2 * sizeof *memo...
2009 Dec 24
1
[PATCH] vhost: access check thinko fixes
...n top of the access_ok patch. If you want me to rool it in with that one and esend, let me know please. Thanks! drivers/vhost/vhost.c | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 2b65d9b..c8c25db 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -230,7 +230,7 @@ static int log_access_ok(void __user *log_base, u64 addr, unsigned long sz) } /* Caller should have vq mutex and device mutex. */ -static int vq_memory_access_ok(struct vhost_virtqueue *vq, struct vhost_...
2009 Dec 24
1
[PATCH] vhost: access check thinko fixes
...n top of the access_ok patch. If you want me to rool it in with that one and esend, let me know please. Thanks! drivers/vhost/vhost.c | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c index 2b65d9b..c8c25db 100644 --- a/drivers/vhost/vhost.c +++ b/drivers/vhost/vhost.c @@ -230,7 +230,7 @@ static int log_access_ok(void __user *log_base, u64 addr, unsigned long sz) } /* Caller should have vq mutex and device mutex. */ -static int vq_memory_access_ok(struct vhost_virtqueue *vq, struct vhost_...