« Previous | Next » 

Revision be7059cd

IDbe7059cd7f8998d41f0b44ec13907359d04c63d2

Added by Paolo Bonzini over 11 years ago

migration: avoid using error_is_set and thus relying on errp != NULL

The migration code is using errp to detect "internal" errors, this means
that it relies on errp being non-NULL.

No impact so far because our only QMP clients (the QMP marshaller and HMP)
never pass a NULL Error *. But if we had others, this patch would make
sure that migration can work with a NULL Error *
.

Signed-off-by: Paolo Bonzini <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences