summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-10-05 14:51:41 -0300
committerMarcelo Tosatti <mtosatti@redhat.com>2012-10-30 23:39:50 -0200
commit4086bde8c08746913d7ca6dcbc5e18a49a627cdc (patch)
tree6d5e05ebc09041f8d8f435f06aab8869ca19bff4 /vl.c
parente43d594ee55038442d59d301eb34fdf0c378d3a4 (diff)
downloadqemu-4086bde8c08746913d7ca6dcbc5e18a49a627cdc.tar.gz
qemu-4086bde8c08746913d7ca6dcbc5e18a49a627cdc.tar.bz2
qemu-4086bde8c08746913d7ca6dcbc5e18a49a627cdc.zip
Issue warning when deprecated -no-kvm-pit is used
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 -no-kvm-pit option. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 7d0708afcd..37717b4559 100644
--- a/vl.c
+++ b/vl.c
@@ -3171,6 +3171,11 @@ int main(int argc, char **argv, char **envp)
machine = machine_parse(optarg);
}
break;
+ case QEMU_OPTION_no_kvm_pit: {
+ fprintf(stderr, "Warning: KVM PIT can no longer be disabled "
+ "separately.\n");
+ break;
+ }
case QEMU_OPTION_usb:
machine_opts = qemu_opts_find(qemu_find_opts("machine"), 0);
if (machine_opts) {