[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] migration/postcopy: Update the bandwidth during
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH] migration/postcopy: Update the bandwidth during postcopy |
Date: |
Mon, 11 Mar 2019 11:11:44 +0800 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Fri, Mar 08, 2019 at 10:12:10AM +0000, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
>
> The recently added max-postcopy-bandwidth parameter is only read
> at the transition from precopy->postcopy where as the older
> max-bandwidth parameter updates the migration bandwidth when changed
> even if the migration is already running.
>
> Fix this discrepency so that:
> a) You can change the bandwidth during postcopy by setting
> max-postcopy-bandwidth
>
> b) Changing max-bandwidth during postcopy has no effect
> (it currently changes the postcopy bandwidth which isn't
> expected).
>
> Fixes: 7e555c6c
> bz: https://bugzilla.redhat.com/show_bug.cgi?id=1686321
> Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Peter Xu <address@hidden>
Now in qapi/migration.json it's not mentioning precopy in the
max-bandwidth entry which seems to work even for postcopy but it'll
not:
# @max-bandwidth: to set maximum speed for migration. maximum speed in
# bytes per second. (Since 2.8)
Should we consider to touch that up too to match everything?
--
Peter Xu