From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WznGe-00059x-Qb for qemu-devel@nongnu.org; Wed, 25 Jun 2014 09:29:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WznGX-0008FB-Cd for qemu-devel@nongnu.org; Wed, 25 Jun 2014 09:29:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WznGX-0008F3-4V for qemu-devel@nongnu.org; Wed, 25 Jun 2014 09:29:33 -0400 Message-ID: <53AACEA9.7050306@redhat.com> Date: Wed, 25 Jun 2014 15:29:13 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <53AAA467.10208@huawei.com> <53AACE36.2070906@redhat.com> In-Reply-To: <53AACE36.2070906@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [question] Is it, valuable to achieve modify boot index when vm is running? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , ChenLiang , "qemu-devel@nongnu.org" Il 25/06/2014 15:27, Eric Blake ha scritto: >> > Qemu can not modify boot index when vm is running. > So? Boot index is used exactly once - when the domain is started. After > that, you aren't booting any more, so what benefit is there to changing > boot index on the fly? > It's also used when you reboot. However, there are currently pre-existing bugs in bootindex handling (especially regarding hotplug and hot-unplug) that should be fixed before allowing modification of boot index while the VM is running. The command to do the modification could be qom-set. We can make the bootindex property runtime-modifiable. Paolo