On Mon, Jun 11, 2018 at 3:02 PM, Jason Wang <jasow...@redhat.com> wrote:
> > > On 2018年06月11日 14:46, Zhang Chen wrote: > >> On Mon, Jun 11, 2018 at 9:56 AM, Jason Wang <jasow...@redhat.com> wrote: >> >> >>> On 2018年06月10日 22:09, Zhang Chen wrote: >>> >>> I think when COLO is enabled, qemu should reject all other types of >>>> >>>>> backends. >>>>> >>>>> Yes, you are right. >>>> May be we should add a assert here? Because we can not get backend info >>>> when >>>> colo-compare start up. >>>> Have any idea? >>>> >>>> >>>> >>>> Is there a global variable or function to detect the COLO existence? If >>> yes, maybe we could use that. >>> >>> May be we can reuse the "qmp_query_colo_status" in 11/17 patch. >> I will add this check in next version. >> > > I think it's better to have an internal helper. Calling qmp function from > net is odd. > > OK, I got it. Thanks Zhang Chen > Thanks > > >> Thanks >> Zhang Chen >> >> >> Thanks >>> >>> >>> >