|
From: | Anthony Liguori |
Subject: | Re: Configuration vs. compat hints [was Re: [Qemu-devel] [PATCHv3 03/13] qemu: add routines to manage PCI capabilities] |
Date: | Mon, 15 Jun 2009 07:52:17 -0500 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Avi Kivity wrote:
On 06/15/2009 03:41 PM, Michael S. Tsirkin wrote:We should just tell the user which slots are open.This might be tricky if the config is passed in with the command lineflags.qemu -show-available-pci-slots
Why does the user care?Let QEMU allocate the PCI slot, then query it to see what slot it assigned and remember that.
It's not a good idea to have management applications attempt to do PCI slot allocation. For instance, one day we may decide to make virtio devices multi-function.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |