qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [PATCH 2/3] virtio network device


From: Paul Brook
Subject: Re: [Qemu-devel] Re: [PATCH 2/3] virtio network device
Date: Wed, 5 Dec 2007 17:44:02 +0000
User-agent: KMail/1.9.7

> > Actually according to qemu's standard, one should use
> > cpu_physical_memory_write/ cpu_physical_memory_read functions.
> > This is true also for reading the ring values.
>
> Yes, and unfortunately, cpu_physical_memory_{read,write} are copy
> interfaces.  We really don't want that for high speed I/O.

I really don't like doing direct access to guest ram without implementing a 
proper API for zero-copy/scatter-gather access. There was a list thread about 
this not so long ago.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]