qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 0/5] qdev: add driver class support.


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 0/5] qdev: add driver class support.
Date: Thu, 09 Jul 2009 10:46:46 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Gerd Hoffmann wrote:
On 07/09/09 15:48, Paul Brook wrote:
On Thursday 09 July 2009, Gerd Hoffmann wrote:

I don't think this will work out in the general case. Some devices have
properties which can be used for that, i.e. network cards have a mac
address (no attribute yet but I expect it will come some day).  Not
every device class has specific properties you can use to identify them
though.  How would you identify a sound card for example?

Ok, put it annother way: Why do you need to identify them? Why would libvirt
care whether a device is (say) a sound card or a VGA adapter?

Because libvirt-based applications want present that to the user?

The usual GUI workflow for adding devices is a two-step process: First pick the device class, then pick the actual device from a (short) list.

Wouldn't the definitions of classes be something that the GUI would want to define?

I think we do want a way to say that this device provides graphics capability and have that exposed to through the monitor. But we also have to consider the case where a single device exposes multiple types of capabilities.

Regards,

Anthony Liguori




reply via email to

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