Re: [RFC V1 1/6] migration: SCM_RIGHTS for QEMUFile

2024-08-16 Thread Peter Xu
On Fri, Aug 16, 2024 at 11:13:20AM -0400, Steven Sistare wrote: > On 8/15/2024 4:58 PM, Peter Xu wrote: > > On Sun, Jun 30, 2024 at 12:44:03PM -0700, Steve Sistare wrote: > > > Define functions to put/get file descriptors to/from a QEMUFile, for qio > > > channels that support SCM_RIGHTS. Maintain

Re: [RFC V1 1/6] migration: SCM_RIGHTS for QEMUFile

2024-08-16 Thread Steven Sistare
On 8/15/2024 4:58 PM, Peter Xu wrote: On Sun, Jun 30, 2024 at 12:44:03PM -0700, Steve Sistare wrote: Define functions to put/get file descriptors to/from a QEMUFile, for qio channels that support SCM_RIGHTS. Maintain ordering such that put(A), put(fd), put(B) followed by get(A), get(fd),

Re: [RFC V1 1/6] migration: SCM_RIGHTS for QEMUFile

2024-08-15 Thread Peter Xu
On Sun, Jun 30, 2024 at 12:44:03PM -0700, Steve Sistare wrote: > Define functions to put/get file descriptors to/from a QEMUFile, for qio > channels that support SCM_RIGHTS. Maintain ordering such that > put(A), put(fd), put(B) > followed by > get(A), get(fd), get(B) > always succeeds. Other

Re: [RFC V1 1/6] migration: SCM_RIGHTS for QEMUFile

2024-08-05 Thread Steven Sistare
On 8/2/2024 4:20 AM, Euan Turner wrote: On 30/06/2024 20:44, Steve Sistare wrote: Define functions to put/get file descriptors to/from a QEMUFile, for qio channels that support SCM_RIGHTS.  Maintain ordering such that    put(A), put(fd), put(B) followed by    get(A), get(fd), get(B) always succe

Re: [RFC V1 1/6] migration: SCM_RIGHTS for QEMUFile

2024-08-02 Thread Euan Turner
On 30/06/2024 20:44, Steve Sistare wrote: Define functions to put/get file descriptors to/from a QEMUFile, for qio channels that support SCM_RIGHTS. Maintain ordering such that put(A), put(fd), put(B) followed by get(A), get(fd), get(B) always succeeds. Other get orderings may succeed but

[RFC V1 1/6] migration: SCM_RIGHTS for QEMUFile

2024-06-30 Thread Steve Sistare
Define functions to put/get file descriptors to/from a QEMUFile, for qio channels that support SCM_RIGHTS. Maintain ordering such that put(A), put(fd), put(B) followed by get(A), get(fd), get(B) always succeeds. Other get orderings may succeed but are not guaranteed. Signed-off-by: Steve Sis