Hi, Gerd

 Nice to meet you again in maillist. :)

> -----Original Message-----
> From: Gerd Hoffmann [mailto:kra...@redhat.com]
> Sent: Tuesday, August 26, 2014 2:36 PM
> Subject: Re: [PATCH v5 0/8] modify boot order of guest, and take effect after
> rebooting
> 
> > The patchsets add one qmp interface, and add an fw_cfg_machine_reset()
> > to achieve it.
> 
> > (qemu) set-bootindex ide0-0-1 1
> > The bootindex 1 has already been used
> 
> What happened to the idea to use qom-set instead?  I liked that
> suggestion.  Solves the suffix issue in a nice way.
> 
I have discussed with Makus about qom-set in pervious confabulation.
The main problem is that qom-set's function is simple, which just change
a device's property value, but not can do any other logic. In my case,
I should change global fw_boot_orde for devices's bootindex taking effect.

Please see the details as below, thanks a lot!

http://thread.gmane.org/gmane.comp.emulators.qemu/287636

Best regards,
-Gonglei

Reply via email to