From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKBV3-0005DR-AR for qemu-devel@nongnu.org; Fri, 05 Oct 2012 13:15:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKBUy-0001DI-UZ for qemu-devel@nongnu.org; Fri, 05 Oct 2012 13:15:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKBUy-0001CW-LQ for qemu-devel@nongnu.org; Fri, 05 Oct 2012 13:15:40 -0400 Message-Id: <20121005171442.535463859@amt.cnet> Date: Fri, 05 Oct 2012 14:13:44 -0300 From: Marcelo Tosatti References: <20121005171338.092840368@amt.cnet> Content-Disposition: inline; filename=06_qemukvm-commandline-opt-tdf Subject: [Qemu-devel] [patch 6/7] Emulate qemu-kvms -tdf option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Marcelo Tosatti , Jan Kiszka , Gerd Hoffmann From: Jan Kiszka Releases of qemu-kvm will be interrupted at qemu 1.3.0. Users should switch to plain qemu releases. To avoid breaking scenarios which are setup with command line options specific to qemu-kvm, port these switches from qemu-kvm to qemu.git. Port -tdf option. Signed-off-by: Marcelo Tosatti Index: qemu-compat-kvm/vl.c =================================================================== --- qemu-compat-kvm.orig/vl.c +++ qemu-compat-kvm/vl.c @@ -3169,6 +3169,10 @@ int main(int argc, char **argv, char **e case QEMU_OPTION_semihosting: semihosting_enabled = 1; break; + case QEMU_OPTION_tdf: + fprintf(stderr, "Warning: user space PIT time drift fix " + "is no longer supported.\n"); + break; case QEMU_OPTION_name: qemu_name = g_strdup(optarg); { Index: qemu-compat-kvm/qemu-options.hx =================================================================== --- qemu-compat-kvm.orig/qemu-options.hx +++ qemu-compat-kvm/qemu-options.hx @@ -2848,6 +2848,9 @@ DEF("no-kvm-pit", HAS_ARG, QEMU_OPTION_n HXCOMM Deprecated by -machine kernel_irqchip=on|off property DEF("no-kvm-irqchip", HAS_ARG, QEMU_OPTION_no_kvm_irqchip, "", QEMU_ARCH_I386) +HXCOMM Deprecated (ignored) +DEF("tdf", 0, QEMU_OPTION_tdf,"", QEMU_ARCH_ALL) + HXCOMM This is the last statement. Insert new options before this line! STEXI @end table