From: chris@kneesaa.uk.xensource.com Date: Thu, 17 Aug 2006 10:34:39 +0000 (+0100) Subject: [qemu patches] Update patches for changeset 11158:a774cbd38187. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15710^2~69 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fb7807c1ecdfdffc79ffa775ac50c35b0bd2fc27;p=xen.git [qemu patches] Update patches for changeset 11158:a774cbd38187. Signed-off-by: Christian Limpach --- diff --git a/tools/ioemu/patches/qemu-daemonize b/tools/ioemu/patches/qemu-daemonize new file mode 100644 index 0000000000..0d19d435b4 --- /dev/null +++ b/tools/ioemu/patches/qemu-daemonize @@ -0,0 +1,20 @@ +Changes required because qemu-dm runs daemonized. + +Index: ioemu/vl.c +=================================================================== +--- ioemu.orig/vl.c 2006-08-16 15:11:32.575865776 +0100 ++++ ioemu/vl.c 2006-08-16 15:11:36.217465702 +0100 +@@ -6036,10 +6036,11 @@ + } + break; + case QEMU_OPTION_nographic: +- pstrcpy(monitor_device, sizeof(monitor_device), "stdio"); ++ if(!strcmp(monitor_device, "vc")) ++ pstrcpy(monitor_device, sizeof(monitor_device), "null"); + if(!strcmp(serial_devices[0], "vc")) + pstrcpy(serial_devices[0], sizeof(serial_devices[0]), +- "stdio"); ++ "null"); + nographic = 1; + break; + case QEMU_OPTION_kernel: diff --git a/tools/ioemu/patches/series b/tools/ioemu/patches/series index 21dd2e065e..ff27dda9e6 100644 --- a/tools/ioemu/patches/series +++ b/tools/ioemu/patches/series @@ -41,3 +41,4 @@ qemu-allow-disable-sdl qemu-fix-memset-args qemu-fix-write-to-disk-synchronous xen-support-buffered-ioreqs +qemu-daemonize