qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Qemu-discuss] qemu 4.1.0-rc4 and 4.0.0: COLO: Primary VM looses net


From: Zhang, Chen
Subject: Re: [Qemu-discuss] qemu 4.1.0-rc4 and 4.0.0: COLO: Primary VM looses network connection after Secondary VM dies
Date: Thu, 8 Aug 2019 02:13:00 +0000

> -----Original Message-----
> From: Lukas Straub [mailto:address@hidden]
> Sent: Thursday, August 8, 2019 4:18 AM
> To: Zhang, Chen <address@hidden>
> Cc: 'qemu-discuss' <address@hidden>
> Subject: qemu 4.1.0-rc4 and 4.0.0: COLO: Primary VM looses network
> connection after Secondary VM dies
> 
> Hello Mr Chen,
> I tried COLO in qemu 4.1.0-rc4 and qemu 4.0.0 today and noticed that the
> Primary VM looses network connection when the Secondary VM is killed. I
> initiate failover with the following commands:
> 
> {'execute': 'x-blockdev-change', 'arguments': {'parent': 'colo-disk0', 
> 'child':
> 'children.1'}}
> {'execute': 'x-colo-lost-heartbeat' }
> 

Hi Lukas,

In this time, we need send some extra command to remove net-filter object and 
chardev-socket.
You can use qmp or hmp command in primary for example:
(qemu) object_del iothread1
(qemu) object_del comp0
(qemu) object_del m0
(qemu) object_del redire0
(qemu) object_del redire1
(qemu) chardev-remove compare0
(qemu) chardev-remove compare0-0
(qemu) chardev-remove compare1
(qemu) chardev-remove compare_out
(qemu) chardev-remove compare_out0
(qemu) chardev-remove mirror0

After that your guest will resume network connection.

Thanks
Zhang Chen


> Regards,
> Lukas Straub



reply via email to

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