virtio-net: add bootindex to qom property
commitaa4197c32337aac32b0ed2a37fdbd80a2c0bfaec
authorGonglei <arei.gonglei@huawei.com>
Tue, 7 Oct 2014 08:00:12 +0000 (7 16:00 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Oct 2014 07:52:53 +0000 (15 09:52 +0200)
treeea98629755d9b188891e6014cad3a6a37c87ff67
parent12da30977813472b91f0ba1a69f9258bbe679b2e
virtio-net: 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/virtio-net.c