From: Dietmar Maurer Date: Tue, 13 Mar 2012 06:26:20 +0000 (+0100) Subject: refresh quilt patches X-Git-Url: https://git.proxmox.com/?p=pve-qemu-kvm.git;a=commitdiff_plain;h=b481886736f915b1699fec9360816f4bfb8a7e88 refresh quilt patches --- diff --git a/debian/patches/adjust-path.diff b/debian/patches/adjust-path.diff index e4bddf6..c093d14 100644 --- a/debian/patches/adjust-path.diff +++ b/debian/patches/adjust-path.diff @@ -1,7 +1,7 @@ Index: new/net.h =================================================================== ---- new.orig/net.h 2012-02-15 11:17:27.000000000 +0100 -+++ new/net.h 2012-02-15 11:29:29.000000000 +0100 +--- new.orig/net.h 2012-03-12 06:44:55.000000000 +0100 ++++ new/net.h 2012-03-13 07:25:07.000000000 +0100 @@ -173,8 +173,9 @@ int do_netdev_add(Monitor *mon, const QDict *qdict, QObject **ret_data); int do_netdev_del(Monitor *mon, const QDict *qdict, QObject **ret_data); @@ -16,9 +16,9 @@ Index: new/net.h Index: new/configure =================================================================== ---- new.orig/configure 2012-02-15 11:17:27.000000000 +0100 -+++ new/configure 2012-02-15 11:21:15.000000000 +0100 -@@ -167,7 +167,7 @@ +--- new.orig/configure 2012-03-12 06:44:55.000000000 +0100 ++++ new/configure 2012-03-13 07:25:07.000000000 +0100 +@@ -169,7 +169,7 @@ libdir="\${prefix}/lib" includedir="\${prefix}/include" sysconfdir="\${prefix}/etc" @@ -29,8 +29,8 @@ Index: new/configure fmod_inc="" Index: new/net/tap.h =================================================================== ---- new.orig/net/tap.h 2012-02-15 11:17:27.000000000 +0100 -+++ new/net/tap.h 2012-02-15 11:21:15.000000000 +0100 +--- new.orig/net/tap.h 2012-03-12 06:44:55.000000000 +0100 ++++ new/net/tap.h 2012-03-13 07:25:07.000000000 +0100 @@ -29,8 +29,6 @@ #include "qemu-common.h" #include "qemu-option.h" diff --git a/debian/patches/fairsched.diff b/debian/patches/fairsched.diff index dd1069b..796696d 100644 --- a/debian/patches/fairsched.diff +++ b/debian/patches/fairsched.diff @@ -1,8 +1,8 @@ Index: new/qemu-options.hx =================================================================== ---- new.orig/qemu-options.hx 2012-02-09 13:15:26.000000000 +0100 -+++ new/qemu-options.hx 2012-02-09 13:22:39.000000000 +0100 -@@ -92,6 +92,12 @@ +--- new.orig/qemu-options.hx 2012-03-12 06:44:56.000000000 +0100 ++++ new/qemu-options.hx 2012-03-13 07:25:22.000000000 +0100 +@@ -95,6 +95,12 @@ are split equally. ETEXI @@ -17,8 +17,8 @@ Index: new/qemu-options.hx DEF("fdb", HAS_ARG, QEMU_OPTION_fdb, "", QEMU_ARCH_ALL) Index: new/vl.c =================================================================== ---- new.orig/vl.c 2012-02-09 13:15:26.000000000 +0100 -+++ new/vl.c 2012-02-09 13:22:39.000000000 +0100 +--- new.orig/vl.c 2012-03-12 06:44:56.000000000 +0100 ++++ new/vl.c 2012-03-13 07:25:22.000000000 +0100 @@ -153,6 +153,8 @@ #include "fsdev/qemu-fsdev.h" #endif @@ -28,15 +28,15 @@ Index: new/vl.c #include "disas.h" #include "qemu_socket.h" -@@ -204,6 +206,7 @@ - int rtc_td_hack = 0; +@@ -203,6 +205,7 @@ + int win2k_install_hack = 0; int usb_enabled = 0; int singlestep = 0; +int fairsched_id = 0; int smp_cpus = 1; int max_cpus = 0; int smp_cores = 1; -@@ -1959,7 +1962,7 @@ +@@ -2045,7 +2048,7 @@ } static int debugcon_parse(const char *devname) @@ -45,15 +45,15 @@ Index: new/vl.c QemuOpts *opts; if (!qemu_chr_new("debugcon", devname, NULL)) { -@@ -2175,6 +2178,7 @@ +@@ -2258,6 +2261,7 @@ + int main(int argc, char **argv, char **envp) { - const char *gdbstub_dev = NULL; int i; + int cpuunits = 0; int snapshot, linux_boot; const char *icount_option = NULL; const char *initrd_filename; -@@ -2923,6 +2927,20 @@ +@@ -3022,6 +3026,20 @@ exit(1); } break; @@ -74,7 +74,7 @@ Index: new/vl.c case QEMU_OPTION_vnc: #ifdef CONFIG_VNC display_remote++; -@@ -2997,8 +3015,8 @@ +@@ -3093,8 +3111,8 @@ } p += 8; os_set_proc_name(p); @@ -85,7 +85,7 @@ Index: new/vl.c break; case QEMU_OPTION_prom_env: if (nb_prom_envs >= MAX_PROM_ENVS) { -@@ -3309,6 +3327,39 @@ +@@ -3411,6 +3429,39 @@ } } @@ -128,7 +128,7 @@ Index: new/vl.c Index: new/vzsyscalls.h =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ new/vzsyscalls.h 2012-02-09 13:22:39.000000000 +0100 ++++ new/vzsyscalls.h 2012-03-13 07:25:22.000000000 +0100 @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2000-2008, Parallels, Inc. All rights reserved. diff --git a/debian/patches/keymap.diff b/debian/patches/keymap.diff index 73de5a6..0d1690f 100644 --- a/debian/patches/keymap.diff +++ b/debian/patches/keymap.diff @@ -1,8 +1,8 @@ Index: new/ui/vnc.c =================================================================== ---- new.orig/ui/vnc.c 2011-12-07 10:05:50.000000000 +0100 -+++ new/ui/vnc.c 2011-12-07 10:12:06.000000000 +0100 -@@ -1475,6 +1475,10 @@ +--- new.orig/ui/vnc.c 2012-03-12 06:44:56.000000000 +0100 ++++ new/ui/vnc.c 2012-03-13 07:25:34.000000000 +0100 +@@ -1501,6 +1501,10 @@ static void do_key_event(VncState *vs, int down, int keycode, int sym) { @@ -13,7 +13,7 @@ Index: new/ui/vnc.c /* QEMU console switch */ switch(keycode) { case 0x2a: /* Left Shift */ -@@ -1545,12 +1549,42 @@ +@@ -1571,12 +1575,42 @@ } if (is_graphic_console()) { @@ -54,9 +54,9 @@ Index: new/ui/vnc.c + } + } else { - /* QEMU console emulation */ - if (down) { -@@ -1658,7 +1692,8 @@ + bool numlock = vs->modifiers_state[0x45]; + bool control = (vs->modifiers_state[0x1d] || +@@ -1713,7 +1747,8 @@ lsym = lsym - 'A' + 'a'; } diff --git a/debian/patches/pve-auth.patch b/debian/patches/pve-auth.patch index f737bd1..c00a8be 100644 --- a/debian/patches/pve-auth.patch +++ b/debian/patches/pve-auth.patch @@ -1,7 +1,7 @@ Index: new/ui/vnc.c =================================================================== ---- new.orig/ui/vnc.c 2012-02-09 13:22:48.000000000 +0100 -+++ new/ui/vnc.c 2012-02-09 13:23:09.000000000 +0100 +--- new.orig/ui/vnc.c 2012-03-13 07:25:34.000000000 +0100 ++++ new/ui/vnc.c 2012-03-13 07:25:44.000000000 +0100 @@ -42,6 +42,125 @@ #include "vnc_keysym.h" #include "d3des.h" @@ -128,7 +128,7 @@ Index: new/ui/vnc.c static VncDisplay *vnc_display; /* needed for info vnc */ static DisplayChangeListener *dcl; -@@ -1841,7 +1960,7 @@ +@@ -1896,7 +2015,7 @@ static void set_pixel_conversion(VncState *vs) { if ((vs->clientds.flags & QEMU_BIG_ENDIAN_FLAG) == @@ -137,7 +137,7 @@ Index: new/ui/vnc.c !memcmp(&(vs->clientds.pf), &(vs->ds->surface->pf), sizeof(PixelFormat))) { vs->write_pixels = vnc_write_pixels_copy; vnc_hextile_set_pixel_conversion(vs, 0); -@@ -1927,7 +2046,7 @@ +@@ -1982,7 +2101,7 @@ vnc_write_u8(vs, VNC_MSG_SERVER_FRAMEBUFFER_UPDATE); vnc_write_u8(vs, 0); vnc_write_u16(vs, 1); /* number of rects */ @@ -146,7 +146,7 @@ Index: new/ui/vnc.c ds_get_height(vs->ds), VNC_ENCODING_WMVi); pixel_format_message(vs); vnc_unlock_output(vs); -@@ -2754,7 +2873,7 @@ +@@ -2873,7 +2992,7 @@ char *vnc_display_local_addr(DisplayState *ds) { VncDisplay *vs = ds ? (VncDisplay *)ds->opaque : vnc_display; @@ -155,7 +155,7 @@ Index: new/ui/vnc.c return vnc_socket_local_addr("%s:%s", vs->lsock); } -@@ -2803,6 +2922,7 @@ +@@ -2923,6 +3042,7 @@ tls = 1; /* Require TLS */ } else if (strncmp(options, "x509", 4) == 0) { char *start, *end; @@ -163,7 +163,7 @@ Index: new/ui/vnc.c x509 = 1; /* Require x509 certificates */ if (strncmp(options, "x509verify", 10) == 0) vs->tls.x509verify = 1; /* ...and verify client certs */ -@@ -2825,10 +2945,12 @@ +@@ -2945,10 +3065,12 @@ } g_free(path); } else { @@ -180,7 +180,7 @@ Index: new/ui/vnc.c } #endif #if defined(CONFIG_VNC_TLS) || defined(CONFIG_VNC_SASL) -@@ -2881,10 +3003,10 @@ +@@ -3014,10 +3136,10 @@ vs->auth = VNC_AUTH_VENCRYPT; if (x509) { VNC_DEBUG("Initializing VNC server with x509 password auth\n"); @@ -195,8 +195,8 @@ Index: new/ui/vnc.c #endif /* CONFIG_VNC_TLS */ Index: new/ui/vnc-auth-vencrypt.c =================================================================== ---- new.orig/ui/vnc-auth-vencrypt.c 2012-02-09 13:15:26.000000000 +0100 -+++ new/ui/vnc-auth-vencrypt.c 2012-02-09 13:23:09.000000000 +0100 +--- new.orig/ui/vnc-auth-vencrypt.c 2012-03-12 06:44:56.000000000 +0100 ++++ new/ui/vnc-auth-vencrypt.c 2012-03-13 07:25:44.000000000 +0100 @@ -25,7 +25,107 @@ */ @@ -320,9 +320,9 @@ Index: new/ui/vnc-auth-vencrypt.c VNC_DEBUG("Start TLS auth VNC\n"); Index: new/ui/vnc.h =================================================================== ---- new.orig/ui/vnc.h 2012-02-09 13:15:26.000000000 +0100 -+++ new/ui/vnc.h 2012-02-09 13:23:09.000000000 +0100 -@@ -260,6 +260,8 @@ +--- new.orig/ui/vnc.h 2012-03-12 06:44:56.000000000 +0100 ++++ new/ui/vnc.h 2012-03-13 07:25:44.000000000 +0100 +@@ -276,6 +276,8 @@ char challenge[VNC_AUTH_CHALLENGE_SIZE]; #ifdef CONFIG_VNC_TLS int subauth; /* Used by VeNCrypt */ @@ -331,7 +331,7 @@ Index: new/ui/vnc.h VncStateTLS tls; #endif #ifdef CONFIG_VNC_SASL -@@ -553,4 +555,6 @@ +@@ -569,4 +571,6 @@ int vnc_zywrle_send_framebuffer_update(VncState *vs, int x, int y, int w, int h); void vnc_zrle_clear(VncState *vs); @@ -340,8 +340,8 @@ Index: new/ui/vnc.h #endif /* __QEMU_VNC_H */ Index: new/ui/vnc-tls.c =================================================================== ---- new.orig/ui/vnc-tls.c 2012-02-09 13:15:26.000000000 +0100 -+++ new/ui/vnc-tls.c 2012-02-09 13:23:09.000000000 +0100 +--- new.orig/ui/vnc-tls.c 2012-03-12 06:44:56.000000000 +0100 ++++ new/ui/vnc-tls.c 2012-03-13 07:25:44.000000000 +0100 @@ -302,6 +302,14 @@ static int vnc_set_gnutls_priority(gnutls_session_t s, int x509) @@ -396,8 +396,8 @@ Index: new/ui/vnc-tls.c const char *certdir) Index: new/ui/vnc-tls.h =================================================================== ---- new.orig/ui/vnc-tls.h 2012-02-09 13:15:26.000000000 +0100 -+++ new/ui/vnc-tls.h 2012-02-09 13:23:09.000000000 +0100 +--- new.orig/ui/vnc-tls.h 2012-03-12 06:44:56.000000000 +0100 ++++ new/ui/vnc-tls.h 2012-03-13 07:25:44.000000000 +0100 @@ -68,6 +68,8 @@ int vnc_tls_validate_certificate(VncState *vs); @@ -409,9 +409,9 @@ Index: new/ui/vnc-tls.h Index: new/vl.c =================================================================== ---- new.orig/vl.c 2012-02-09 13:22:39.000000000 +0100 -+++ new/vl.c 2012-02-09 13:23:09.000000000 +0100 -@@ -2929,6 +2929,7 @@ +--- new.orig/vl.c 2012-03-13 07:25:22.000000000 +0100 ++++ new/vl.c 2012-03-13 07:25:44.000000000 +0100 +@@ -3028,6 +3028,7 @@ break; case QEMU_OPTION_id: fairsched_id = atoi(optarg); @@ -421,8 +421,8 @@ Index: new/vl.c exit(1); Index: new/console.h =================================================================== ---- new.orig/console.h 2012-02-09 13:30:11.000000000 +0100 -+++ new/console.h 2012-02-09 13:30:20.000000000 +0100 +--- new.orig/console.h 2012-03-12 06:44:55.000000000 +0100 ++++ new/console.h 2012-03-13 07:25:44.000000000 +0100 @@ -371,6 +371,7 @@ void cocoa_display_init(DisplayState *ds, int full_screen); diff --git a/debian/patches/set-max-nics.patch b/debian/patches/set-max-nics.patch index f6352bc..c31541d 100644 --- a/debian/patches/set-max-nics.patch +++ b/debian/patches/set-max-nics.patch @@ -1,8 +1,8 @@ Index: new/net.h =================================================================== ---- new.orig/net.h 2012-02-09 13:22:30.000000000 +0100 -+++ new/net.h 2012-02-09 13:23:03.000000000 +0100 -@@ -126,7 +126,7 @@ +--- new.orig/net.h 2012-03-13 07:25:07.000000000 +0100 ++++ new/net.h 2012-03-13 07:25:40.000000000 +0100 +@@ -127,7 +127,7 @@ /* NIC info */