Re: [libvirt] [PATCH 1/4] monitor: Less restrictive fd matching for fd sets

2012-10-05 Thread Corey Bryant
On 10/05/2012 02:35 PM, Eric Blake wrote: On 10/05/2012 12:07 PM, Corey Bryant wrote: Currently, in order to use a file descriptor that resides in an fd set, the access mode flag of the qemu_open() call has to be an exact match of the access mode flag of an fd in the requested fd set. This pa

Re: [libvirt] [PATCH 1/4] monitor: Less restrictive fd matching for fd sets

2012-10-05 Thread Eric Blake
On 10/05/2012 12:07 PM, Corey Bryant wrote: > Currently, in order to use a file descriptor that resides in an > fd set, the access mode flag of the qemu_open() call has to be > an exact match of the access mode flag of an fd in the requested > fd set. > > This patch lightens up that restriction.

[libvirt] [PATCH 1/4] monitor: Less restrictive fd matching for fd sets

2012-10-05 Thread Corey Bryant
Currently, in order to use a file descriptor that resides in an fd set, the access mode flag of the qemu_open() call has to be an exact match of the access mode flag of an fd in the requested fd set. This patch lightens up that restriction. For example, if QEMU attempts to qemu_open() "/dev/fdset