On 03/16/2017 04:46 AM, Janne Huttunen wrote: > On Wed, 2017-03-15 at 08:24 +0100, Gerd Hoffmann wrote: >>> >>> The short answer: emulating real hardware. >> >> Ok, that is reason enough. >> >> Adding bootonceindex everywhere doesn't look like the best plan to me >> though. Possibly we can pimp up bootindex in a backward-compatible >> way? >> Something like bootindex=<normal>[.<once>] ? > > That would (likely) avoid modifying all devices, but wouldn't > that make the 'bootindex' property a string (now: 'int32') > and thus change the QOM API?
Is there any way to make use of an alternate that supports both int and string simultaneously? But see also Markus' recent addendum on the difficulties of supporting multiple types on command-line vs. through QMP: https://lists.gnu.org/archive/html/qemu-devel/2017-03/msg04125.html -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature