summaryrefslogtreecommitdiffstats
path: root/cpus.c
diff options
context:
space:
mode:
authorPranith Kumar <bobby.prani@gmail.com>2016-02-26 10:16:51 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:12 -0600
commitc9d90786bbd396813f141b43ef04fd70c4ff1164 (patch)
treef2ba1d225962aa5b789b519814f9b197a0da2e86 /cpus.c
parentb527bb9200ccaaf0afcc83c13a34ee7bf2d28438 (diff)
downloadhqemu-c9d90786bbd396813f141b43ef04fd70c4ff1164.zip
hqemu-c9d90786bbd396813f141b43ef04fd70c4ff1164.tar.gz
icount: possible options for sleep are on or off
icount sleep takes on or off as options. A few places mention sleep=no which is not accepted. This patch corrects them. Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> Message-Id: <1456499811-16819-1-git-send-email-bobby.prani@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'cpus.c')
-rw-r--r--cpus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpus.c b/cpus.c
index 07adafa..fa14285 100644
--- a/cpus.c
+++ b/cpus.c
@@ -633,7 +633,7 @@ void configure_icount(QemuOpts *opts, Error **errp)
icount_align_option = qemu_opt_get_bool(opts, "align", false);
if (icount_align_option && !icount_sleep) {
- error_setg(errp, "align=on and sleep=no are incompatible");
+ error_setg(errp, "align=on and sleep=off are incompatible");
}
if (strcmp(option, "auto") != 0) {
errno = 0;
@@ -646,7 +646,7 @@ void configure_icount(QemuOpts *opts, Error **errp)
} else if (icount_align_option) {
error_setg(errp, "shift=auto and align=on are incompatible");
} else if (!icount_sleep) {
- error_setg(errp, "shift=auto and sleep=no are incompatible");
+ error_setg(errp, "shift=auto and sleep=off are incompatible");
}
use_icount = 2;
OpenPOWER on IntegriCloud