Re: [libvirt] [PATCHv2 05/14] Fix vmdef usage after domain crash in monitor on device attach

2015-01-12 Thread John Ferlan
On 01/07/2015 10:42 AM, Ján Tomko wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1161024 > > If the domain crashed while we were in monitor, > we cannot rely on the REALLOC done on live definition, > since vm->def now points to the persistent definition. > Skip adding the attached devices

[libvirt] [PATCHv2 05/14] Fix vmdef usage after domain crash in monitor on device attach

2015-01-07 Thread Ján Tomko
https://bugzilla.redhat.com/show_bug.cgi?id=1161024 If the domain crashed while we were in monitor, we cannot rely on the REALLOC done on live definition, since vm->def now points to the persistent definition. Skip adding the attached devices to domain definition if the domain crashed. In AttachC