pcnet: add bootindex to qom property
commitea3b3511cda0b68100b9633223540f5d5ca69078
authorGonglei <arei.gonglei@huawei.com>
Tue, 7 Oct 2014 08:00:16 +0000 (7 16:00 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Oct 2014 07:52:54 +0000 (15 09:52 +0200)
tree0a6de00fc0ab2c847c7ce55d9ab91e9ae742e441
parent6cb0851d628ffb84088e1dbdb70098320a5c0894
pcnet: 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/lance.c
hw/net/pcnet-pci.c
hw/net/pcnet.h