qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/15][RFC] New PCI interfaces


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH 0/15][RFC] New PCI interfaces
Date: Mon, 1 Mar 2010 02:51:31 +0000
User-agent: KMail/1.12.4 (Linux/2.6.32-trunk-amd64; KDE/4.3.4; x86_64; ; )

> Since virtio devices can live on two busses (sysbus with Syborg or PCI),
> we need to introduce a set of virtio specific functions.
>...
> Inside the VirtIODevice, there would be corresponding function pointers,
>  and depending on whether it was a PCI device or a Syborg device, it would
>  call pci_memory_map or cpu_physical_memory_map.

You mean VirtIOBindings not VirtIODevice, right?  Virtio devices should not be 
accessing guest memory directly, they should be using a virtqueue.

Paul




reply via email to

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