[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xenpaging: Fix ioemu invalidation
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1269593145 0 # Node ID 17fa3cd04361ca7e4bc3e000b67fb4187e5d21b5 # Parent 71dddee38e651d2e140a0d4d0623d1e7293d7178 xenpaging: Fix ioemu invalidation xs_write takes the length of the string being written, not the path. Signed-off-by: Steven Hand <steven.hand@xxxxxxxxxxxx> Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- tools/xenpaging/xc.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -r 71dddee38e65 -r 17fa3cd04361 tools/xenpaging/xc.c --- a/tools/xenpaging/xc.c Fri Mar 26 08:43:36 2010 +0000 +++ b/tools/xenpaging/xc.c Fri Mar 26 08:45:45 2010 +0000 @@ -22,6 +22,7 @@ #include <errno.h> +#include <string.h> #include <sys/poll.h> #include <xc_private.h> #include <xg_save_restore.h> @@ -56,7 +57,7 @@ int xc_mem_paging_flush_ioemu_cache(domi if ( xsh == NULL ) return -EIO; - rc = xs_write(xsh, XBT_NULL, path, "flush-cache", strlen(path)); + rc = xs_write(xsh, XBT_NULL, path, "flush-cache", strlen("flush-cache")); xs_daemon_close(xsh); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |