Re: [PATCH] ioeventfd: Introduce KVM_IOEVENTFD_FLAG_PIPE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 04, 2011 at 02:49:23PM +0300, Avi Kivity wrote:
> On 07/04/2011 02:45 PM, Michael S. Tsirkin wrote:
> >On Mon, Jul 04, 2011 at 02:19:39PM +0300, Avi Kivity wrote:
> >>  >Also noting that the fd can be set not to block, or that
> >>  >a signal can interrupt the write. Both cases are not errors.
> >>
> >>  One thing we can do is return via the normal KVM_EXIT_MMIO method
> >>  and hope userspace knows how to handle this.
> >
> >Agree. We'll need some way to tell userspace that
> >write has partially succeeded, presumably, so that
> >userspace can write out the missing part.
> 
> With SOCK_SEQPACKET, there will be no partial writes.

Good idea. I think the same applies to netlink sockets.

> -- 
> error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux