lkml.org 
[lkml]   [2015]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5/6] tools: hv: fcopy_daemon: support >2GB files for x86_32 guest
    Date
    From: Dexuan Cui <decui@microsoft.com>

    Without this patch, hv_fcopy_daemon's hv_copy_data() -> pwrite()
    will fail for >2GB file offset.

    The current Linux 4.0 RC3 tree is broken and this patch fixes the problem.

    Signed-off-by: Alex Ng <alexng@microsoft.com>
    Signed-off-by: Dexuan Cui <decui@microsoft.com>
    Cc: K. Y. Srinivasan <kys@microsoft.com>
    Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
    ---
    tools/hv/Makefile | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/tools/hv/Makefile b/tools/hv/Makefile
    index 99ffe61..a8ab795 100644
    --- a/tools/hv/Makefile
    +++ b/tools/hv/Makefile
    @@ -3,7 +3,7 @@
    CC = $(CROSS_COMPILE)gcc
    PTHREAD_LIBS = -lpthread
    WARNINGS = -Wall -Wextra
    -CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS)
    +CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) $(shell getconf LFS_CFLAGS)

    all: hv_kvp_daemon hv_vss_daemon hv_fcopy_daemon
    %: %.c
    --
    1.7.4.1


    \
     
     \ /
      Last update: 2015-03-12 02:01    [W:5.285 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site