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: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 0/5] qdev: add driver class support.
Date: Fri, 10 Jul 2009 12:29:36 +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 07/10/09 12:13, Paul Brook wrote:

No, but the presence of a mac address (or network backend) property tells you
that it's a network card.

I still think that will not work for all devices.

Network cards can be identified by mac property.  Ok.

Disks can be identified by a (planned) drive property (which links to the host config). By looking at the bus you can figure this is ide, scsi, virtio or usb-storage disk. Fine.

Serial ports, parallel ports and virtio console need a link to a CharDriver which can be used to identify this group. But not to keep apart serial / parallel devices.

How do you identify vga cards?
How do you identify sound cards?
How do you identify storage (scsi/ide) controllers?
How do you identify watchdog devices?

cheers,
  Gerd




reply via email to

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