vmxnet3: add bootindex to qom property
commite25524efb041230b4cb15c5941f09b2138fefaa2
authorGonglei <arei.gonglei@huawei.com>
Tue, 7 Oct 2014 08:00:19 +0000 (7 16:00 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Oct 2014 07:52:54 +0000 (15 09:52 +0200)
tree9d1f0f0036b71daee80a55ae49e3b47e00b190e6
parentdfe79cf268ce78a8b821084c91f801e879543992
vmxnet3: 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/vmxnet3.c