|
From: | john cooper |
Subject: | Re: [Qemu-devel] Re: [PATCH] qemu: make virtio-blk PCI compliant by default |
Date: | Tue, 22 Sep 2009 11:09:00 -0400 |
User-agent: | Thunderbird 2.0.0.9 (X11/20071115) |
Avi Kivity wrote: > On 09/22/2009 05:21 PM, john cooper wrote: >>> Can we just read this page as a virtqueue command instead of having it >>> mapped permanently? >>> >> Probably although I hadn't looked specifically >> at doing so. Mapping the data via an unused >> pci bar is pretty trivial and seemed minimally >> intrusive to the existing driver. >> > > We'll run out of bars if we expend them like that. Agreed. However my motivation here was to use a single additional bar specifically to compensate for the PCI spec imposed 256 byte size limitation of the config space mapping. As we're defining the content/size of this area, future use to accommodate additional data should be unrestricted. If using an additional bar is still a concern I can certainly have a look at accomplishing the same via virtqueue scaffolding. -john -- address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |