Re: Configuration vs. compat hints [was Re: [Qemu-devel] [PATCHv3 03/13] qemu: add routines to manage PCI capabilities]

Michael S. Tsirkin
2009-06-14T09:52:37Z

On Fri, Jun 12, 2009 at 05:48:23PM +0100, Mark McLoughlin wrote:
> However, in order to retain compat for that SCSI device (e.g. ensuring
> the PCI address doesn't change as other devices are added an removed),
> we're back to the same problem ... either:
>
> 1) Use '-drive file=foo.img,if=scsi,pci_addr=foo'; in order to figure
> out what address to use, libvirt would need to query qemu for what
> address was originally allocated to device or it would do all the
> PCI address allocation itself ...

This last option makes sense to me: in a real world the user has
control over where he places the device on the bus, so why
not with qemu?

--
MST