direct-io.hg

changeset 10930:cf00bca7c6e1

[qemu patches] Update patches for changeset 10929:4dd640c6ce57.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
author chris@kneesaa.uk.xensource.com
date Fri Aug 04 10:20:33 2006 +0100 (2006-08-04)
parents 4dd640c6ce57
children 3ea0a6847198
files tools/ioemu/patches/qemu-fix-memset-args tools/ioemu/patches/series
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/ioemu/patches/qemu-fix-memset-args	Fri Aug 04 10:20:33 2006 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +Index: ioemu/audio/audio.c
     1.5 +===================================================================
     1.6 +--- ioemu.orig/audio/audio.c	2006-07-14 13:43:45.000000000 +0100
     1.7 ++++ ioemu/audio/audio.c	2006-08-04 10:18:17.243240246 +0100
     1.8 +@@ -597,11 +597,11 @@
     1.9 +     }
    1.10 + 
    1.11 +     if (info->sign) {
    1.12 +-        memset (buf, len << info->shift, 0x00);
    1.13 ++        memset (buf, 0x00, len << info->shift);
    1.14 +     }
    1.15 +     else {
    1.16 +         if (info->bits == 8) {
    1.17 +-            memset (buf, len << info->shift, 0x80);
    1.18 ++            memset (buf, 0x80, len << info->shift);
    1.19 +         }
    1.20 +         else {
    1.21 +             int i;
     2.1 --- a/tools/ioemu/patches/series	Fri Aug 04 10:19:53 2006 +0100
     2.2 +++ b/tools/ioemu/patches/series	Fri Aug 04 10:20:33 2006 +0100
     2.3 @@ -38,3 +38,4 @@ vnc-access-monitor-vt
     2.4  xenstore-block-device-config
     2.5  xenstore-write-vnc-port
     2.6  qemu-allow-disable-sdl
     2.7 +qemu-fix-memset-args