Re: [PATCH v2 4/5] migration: Teach QEMUFile to be QIOChannel-aware

2021-07-22 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > migration uses QIOChannel typed qemufiles. In follow up patches, we'll need > the capability to identify this fact, so that we can get the backing > QIOChannel > from a QEMUFile. > > We can also define types for QEMUFile but so far since we only need to be

[PATCH v2 4/5] migration: Teach QEMUFile to be QIOChannel-aware

2021-07-21 Thread Peter Xu
migration uses QIOChannel typed qemufiles. In follow up patches, we'll need the capability to identify this fact, so that we can get the backing QIOChannel from a QEMUFile. We can also define types for QEMUFile but so far since we only need to be able to identify QIOChannel, introduce a boolean w