qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 5/6] Switch migrate_set_speed() to take an 'o' a


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH 5/6] Switch migrate_set_speed() to take an 'o' argument rather than a float.
Date: Thu, 07 Oct 2010 18:03:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.3

On 10/07/2010 05:01 PM, address@hidden wrote:
From: Jes Sorensen<address@hidden>

Signed-off-by: Jes Sorensen<address@hidden>
---
  hmp-commands.hx |    2 +-
  migration.c     |    4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hmp-commands.hx b/hmp-commands.hx
index 81999aa..95bdb91 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -754,7 +754,7 @@ ETEXI

      {
          .name       = "migrate_set_speed",
-        .args_type  = "value:f",
+        .args_type  = "value:o",
          .params     = "value",
          .help       = "set maximum speed (in bytes) for migrations",
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Is this still accurate?

Alternatively, you said it's a mess to distinguish the defaults on the command line and the monitor, but is it harder than the attached patch?

Paolo

Attachment: strtosz.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]