Re: [RFC] libvirt support multi-thread compression for live migration

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

 





On 2015年06月04日 20:01, Jiri Denemark wrote:
On Wed, Jun 03, 2015 at 15:13:17 +0000, Feng, Shaohe wrote:
Eric,
Thank you for reply.

Is it necessary to expose these two APIs to user application?
+ virdomainMigrateSetCapabilities
+ virdomainMigrateGetCapabilities

For qemu , the migration capabilities are "xbzrle", "rdma-pin-all",  "auto-converge",
  "zero-blocks" and "compress".
No, these capabilities are either turned on/off based on flags passed to
virDomainMigrate3 API.
I think we need to call qemuMonitorGetMigrationCapability when qemuMigrationSetCompression if the source/dest node doesn't support 'compress' capability, we need to stop migration if flags contain VIR_MIGRATE_COMPRESSED (currently it stands for xbzrle, and Eric's previous mail
suggest we share this flag with 'compress')

-Eli.
Jirka

--
BR, Eli(Li Yong)Qiao

begin:vcard
fn:Eli Qiao
n:Qiao;Eli
org:OTC
email;internet:liyong.qiao@xxxxxxxxx
x-mozilla-html:TRUE
version:2.1
end:vcard

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]