qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH] qdev: add -pcidevice command line option.


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] [RFC PATCH] qdev: add -pcidevice command line option.
Date: Tue, 30 Jun 2009 10:00:09 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 06/29/09 23:02, Markus Armbruster wrote:

Why limit this to PCI devices?

Good question.  I think we can go straight for a -device option.

The device name indirectly specifies the
bus type.  Parameter addr then specifies bus instance and device address
on the bus, in a bus-specific syntax.  Of course, it's perfectly fine to
implement only PCI initially, but I'd rather not encode that restriction
in the option name :)

usb will be easy as well once my patches are in.

To extend this to devices that need configuration: what about
interpreting additional parameters as qdev properties?  Oh, there's a
TODO in pci_device_add() that suggests exactly that.

cheers,
  Gerd




reply via email to

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