qdev: add id= support for pci nics.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Gerd Hoffmann 2009-07-15 13:43:35 +02:00 committed by Anthony Liguori
parent ab73ff29ce
commit eb54b6dcb8
3 changed files with 7 additions and 1 deletions

1
net.h
View file

@ -95,6 +95,7 @@ struct NICInfo {
const char *model;
const char *name;
const char *devaddr;
const char *id;
VLANState *vlan;
VLANClientState *vc;
void *private;