Re: [Qemu-devel] [PATCH v4 01/32] migration: better error handling with QEMUFile

2017-12-01 Thread Peter Xu
On Thu, Nov 30, 2017 at 10:24:38AM +, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > If the postcopy down due to some reason, we can always see this on dst: > > > > qemu-system-x86_64: RP: Received invalid message 0x length 0x > > > > However in most cases

Re: [Qemu-devel] [PATCH v4 01/32] migration: better error handling with QEMUFile

2017-11-30 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > If the postcopy down due to some reason, we can always see this on dst: > > qemu-system-x86_64: RP: Received invalid message 0x length 0x > > However in most cases that's not the real issue. The problem is that > qemu_get_be16() has no way to show

[Qemu-devel] [PATCH v4 01/32] migration: better error handling with QEMUFile

2017-11-07 Thread Peter Xu
If the postcopy down due to some reason, we can always see this on dst: qemu-system-x86_64: RP: Received invalid message 0x length 0x However in most cases that's not the real issue. The problem is that qemu_get_be16() has no way to show whether the returned data is valid or not, and we