From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: [patch 6/6] Emulate qemu-kvms -tdf option Date: Wed, 03 Oct 2012 07:53:01 -0300 Message-ID: <20121003105509.683789100@amt.cnet> References: <20121003105255.972669952@amt.cnet> Cc: Anthony Liguori , Marcelo Tosatti , kvm@vger.kernel.org To: qemu-devel@nongnu.org, Gerd Hoffmann Return-path: Content-Disposition: inline; filename=qemukvm-commandline-opt-tdf List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org Commit d527b774878defc27f317cdde19b5c54fd0d5666 from qemu-kvm.git. From: Jan Kiszka Add a warning that there is no effect anymore. 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 @@ -2849,6 +2849,10 @@ DEF("no-kvm-pit-reinjection", 0, QEMU_OP " disable KVM kernel mode PIT interrupt reinjection\n", QEMU_ARCH_I386) +DEF("tdf", 0, QEMU_OPTION_tdf, + "-tdf time drift fix (deprecated)\n", + QEMU_ARCH_ALL) + HXCOMM This is the last statement. Insert new options before this line! STEXI @end table