eepro100: add bootindex to qom property
commit7317bb1782088081f78127158f315d89789fb02c
authorGonglei <arei.gonglei@huawei.com>
Tue, 7 Oct 2014 08:00:14 +0000 (7 16:00 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Oct 2014 07:52:54 +0000 (15 09:52 +0200)
tree6e947e150e6e36e67774ce680bf3cc4f725a7f68
parent5df3bf623d1047307ba5aa42f2200bbb29688325
eepro100: add bootindex to qom property

Add a qom property with the same name 'bootindex',
when we remove it form qdev property, things will
continue to work just fine, and we can use qom features
which are not supported by qdev property.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/net/eepro100.c