diff options
| author | Gonglei | 2014-10-07 10:00:35 +0200 |
|---|---|---|
| committer | Gerd Hoffmann | 2014-10-15 10:45:51 +0200 |
| commit | d2b186f96d19c1f8a6b7e528ff32c24096d5b204 (patch) | |
| tree | 374ba75e25297bf22c16921a8b0b40d12fd1ce6b /docs | |
| parent | nvma: ide: add bootindex to qom property (diff) | |
| download | qemu-d2b186f96d19c1f8a6b7e528ff32c24096d5b204.tar.gz qemu-d2b186f96d19c1f8a6b7e528ff32c24096d5b204.tar.xz qemu-d2b186f96d19c1f8a6b7e528ff32c24096d5b204.zip | |
ide: add calling add_boot_device_patch in bootindex setter function
On this way, we can assure the new bootindex take effect
during vm rebooting. Meanwhile set the initial value of
bootindex to -1.
Because ide devcies's unit property maybe
do not initialize when set_bootindex function is called,
so that we don't know its suffix. So we have to save the
call add_boot_device_path() on ide realize/init function.
When we want to change bootindex during vm rebooting, we
can call it in setter function.
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
