From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WznEb-0003wC-5V for qemu-devel@nongnu.org; Wed, 25 Jun 2014 09:27:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WznEV-0007Oj-53 for qemu-devel@nongnu.org; Wed, 25 Jun 2014 09:27:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WznEU-0007Oa-RL for qemu-devel@nongnu.org; Wed, 25 Jun 2014 09:27:27 -0400 Message-ID: <53AACE36.2070906@redhat.com> Date: Wed, 25 Jun 2014 07:27:18 -0600 From: Eric Blake MIME-Version: 1.0 References: <53AAA467.10208@huawei.com> In-Reply-To: <53AAA467.10208@huawei.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DIdvMM6aaKAEJF59SSLqj9eJ0U2nhLBIb" 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: ChenLiang , "qemu-devel@nongnu.org" Cc: Paolo Bonzini This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DIdvMM6aaKAEJF59SSLqj9eJ0U2nhLBIb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/25/2014 04:28 AM, ChenLiang wrote: > hi,all > 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 is inconvenience when we install guest os. Is it > necessary to achieve modify boot index online? virt-install manages to install guests just fine without changing the boot index on the fly; it manages to sequence multiple qemu runs with different boot indices between runs. > We can add one qmp interface to achieve it. You're welcome to submit a patch if you think you have a use case; but I personally don't see the current setup as limiting. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --DIdvMM6aaKAEJF59SSLqj9eJ0U2nhLBIb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTqs42AAoJEKeha0olJ0NqkSMH/RIegh5LlS2DhY9cbabFiYv+ Gi9pl2xXc5mFmgVMMYjX+QP1R4VBfO1JWhAm8U24CDJFipuTUjt3OEShcAJpcNFw CgHPIcW2jpBga3HWCxatMVJ0vAe8Uoeaaj/axtnsHm9CgpcOw9vfWvZqzaBAWJrY Uvkxv7QHixNukGkODBKTK4Kg6GQAUC43pgXfg68ipyWgufploDwxmEaSOWJNoPw6 kAzg8tmdxiAlZ0BewsBB+yUh6d6u0D8F16+fHWegKW67UnuHC5VLvu1jxeoTK0Um 6ZqM2CUGfs98UoFvSsh7e4svkZToYGetugX+PBESBwQU6KR2wtOcB3ogshpkH9s= =7xVC -----END PGP SIGNATURE----- --DIdvMM6aaKAEJF59SSLqj9eJ0U2nhLBIb--