commit | 12da30977813472b91f0ba1a69f9258bbe679b2e | [log] [tgz] |
---|---|---|
author | Gonglei <arei.gonglei@huawei.com> | Tue Oct 07 16:00:11 2014 +0800 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Wed Oct 15 09:52:47 2014 +0200 |
tree | 4be26e8aad5cd7ab68cd473d68831f91ed29db1c | |
parent | a598f2ffc2df59afcea5454fb353b849911da90b [diff] |
bootindex: add a setter/getter functions wrapper for bootindex property when we remove bootindex form qdev.property to qom.property, we can use those functions set/get bootindex property for all correlative devices. Meanwhile set the initial value of bootindex to -1. Signed-off-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>