Re: [Qemu-devel] [PATCH] kvm: sync cpu state on internal error before dump

2013-08-24 Thread Andreas Färber
Am 24.08.2013 12:37, schrieb Gleb Natapov: > On Fri, Aug 23, 2013 at 02:41:13PM +0100, James Hogan wrote: >> On 23/08/13 13:58, Gleb Natapov wrote: >>> On Fri, Aug 23, 2013 at 01:26:00PM +0100, James Hogan wrote: When a KVM internal error occurs QEMU dumps the CPU state, however it doesn'

Re: [Qemu-devel] [PATCH] kvm: sync cpu state on internal error before dump

2013-08-24 Thread Gleb Natapov
On Fri, Aug 23, 2013 at 02:41:13PM +0100, James Hogan wrote: > On 23/08/13 13:58, Gleb Natapov wrote: > > On Fri, Aug 23, 2013 at 01:26:00PM +0100, James Hogan wrote: > >> When a KVM internal error occurs QEMU dumps the CPU state, however it > >> doesn't synchronise the state from KVM first so the

Re: [Qemu-devel] [PATCH] kvm: sync cpu state on internal error before dump

2013-08-23 Thread James Hogan
On 23/08/13 13:58, Gleb Natapov wrote: > On Fri, Aug 23, 2013 at 01:26:00PM +0100, James Hogan wrote: >> When a KVM internal error occurs QEMU dumps the CPU state, however it >> doesn't synchronise the state from KVM first so the dumped state is out >> of date. Add the synchronisation calls before

Re: [Qemu-devel] [PATCH] kvm: sync cpu state on internal error before dump

2013-08-23 Thread Gleb Natapov
On Fri, Aug 23, 2013 at 01:26:00PM +0100, James Hogan wrote: > When a KVM internal error occurs QEMU dumps the CPU state, however it > doesn't synchronise the state from KVM first so the dumped state is out > of date. Add the synchronisation calls before the dump in both locations > (which is used

[Qemu-devel] [PATCH] kvm: sync cpu state on internal error before dump

2013-08-23 Thread James Hogan
When a KVM internal error occurs QEMU dumps the CPU state, however it doesn't synchronise the state from KVM first so the dumped state is out of date. Add the synchronisation calls before the dump in both locations (which is used depends on whether the arch says to stop or not). Note that x86 does