Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Avi Kivity
Date: Saturday, December 13, 2008 - 12:48 pm

Anthony Liguori wrote:

There are N users of this code, all of which would need to cope with the
failure.  Or there could be one user (dma.c) which handles the failure
and the bouncing.

dma.c _is_ a map/unmap api, except it doesn't expose the mapped data,
which allows it to control scheduling as well as be easier to use.


I agree to _map()/_unmap(), but it's not a solution by itself.


Right, but who would it notify?

We need some place that can deal with this, and it isn't
_map()/_unmap(), and it isn't ide.c or scsi.c.

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0 of 5] dma api v3, Andrea Arcangeli, (Fri Dec 12, 11:16 am)
[PATCH 1 of 5] fix cpu_physical_memory len, Andrea Arcangeli, (Fri Dec 12, 11:16 am)
[PATCH 2 of 5] add can_dma/post_dma for direct IO, Andrea Arcangeli, (Fri Dec 12, 11:16 am)
[PATCH 3 of 5] rename dma.c to isa_dma.c, Andrea Arcangeli, (Fri Dec 12, 11:16 am)
[PATCH 4 of 5] dma api, Andrea Arcangeli, (Fri Dec 12, 11:16 am)
[PATCH 5 of 5] bdrv_aio_readv/writev, Andrea Arcangeli, (Fri Dec 12, 11:16 am)
Re: [Qemu-devel] [PATCH 4 of 5] dma api, Blue Swirl, (Fri Dec 12, 11:55 am)
Re: [PATCH 1 of 5] fix cpu_physical_memory len, Anthony Liguori, (Fri Dec 12, 12:06 pm)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, (Fri Dec 12, 12:15 pm)
Re: [PATCH 1 of 5] fix cpu_physical_memory len, Andrea Arcangeli, (Fri Dec 12, 12:26 pm)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Andrea Arcangeli, (Fri Dec 12, 12:37 pm)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, (Fri Dec 12, 12:39 pm)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, (Fri Dec 12, 1:09 pm)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Gerd Hoffmann, (Fri Dec 12, 1:25 pm)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Andrea Arcangeli, (Sat Dec 13, 7:39 am)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, (Sat Dec 13, 9:46 am)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Andrea Arcangeli, (Sat Dec 13, 9:53 am)
Re: [Qemu-devel] Re: [PATCH 2 of 5] add can_dma/post_dma f ..., Avi Kivity, (Sat Dec 13, 12:48 pm)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, (Sat Dec 13, 2:11 pm)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Anthony Liguori, (Sat Dec 13, 3:47 pm)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Avi Kivity, (Sat Dec 13, 11:07 pm)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Andrea Arcangeli, (Sun Dec 14, 9:47 am)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Avi Kivity, (Sun Dec 14, 10:01 am)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Andrea Arcangeli, (Sun Dec 14, 10:15 am)
Re: [PATCH 2 of 5] add can_dma/post_dma for direct IO, Avi Kivity, (Sun Dec 14, 12:59 pm)