From 86f2be1f24901898bc8eec6184855796ccb8bd54 Mon Sep 17 00:00:00 2001 From: Cong Li Date: Thu, 12 Jan 2017 23:40:32 +0800 Subject: [PATCH] qemu.tests.block_hotplug: set bootindex=0 for system disk. In some enterprises, the default bootindex is -1 for system disk, which means cancel the boot index. If hotplug a data disk then reboot guest, qemu may set the data disk with higher bootindex, which depends on different enterprises' policies. As above, need set bootindex=0 for system disk. Signed-off-by: Cong Li --- qemu/tests/cfg/block_hotplug.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/tests/cfg/block_hotplug.cfg b/qemu/tests/cfg/block_hotplug.cfg index 81d80fd9..43ee1222 100644 --- a/qemu/tests/cfg/block_hotplug.cfg +++ b/qemu/tests/cfg/block_hotplug.cfg @@ -3,6 +3,7 @@ no ide virt_test_type = qemu libvirt type = block_hotplug + bootindex_image1 = 0 images += " stg0" boot_drive_stg0 = no image_name_stg0 = images/storage0 -- GitLab