Re: [PATCH 7/7] qemu: Reserve bootIndexSpecified when update device

2022-12-06 Thread Jiang Jiacheng
On 2022/11/22 23:53, Peter Krempa wrote: > On Thu, Nov 17, 2022 at 10:05:33 +0800, Jiang Jiacheng wrote: >> If the 'boot order' is not specified in the xml, we cancel its >> bootindex setting and set it to '0'. However, the bootIndexSpecified >> will be set to false because we cannot parse boot

Re: [PATCH 7/7] qemu: Reserve bootIndexSpecified when update device

2022-11-22 Thread Peter Krempa
On Thu, Nov 17, 2022 at 10:05:33 +0800, Jiang Jiacheng wrote: > If the 'boot order' is not specified in the xml, we cancel its > bootindex setting and set it to '0'. However, the bootIndexSpecified > will be set to false because we cannot parse boot order from XML, > so copy bootIndexSpecified from

[PATCH 7/7] qemu: Reserve bootIndexSpecified when update device

2022-11-16 Thread Jiang Jiacheng
If the 'boot order' is not specified in the xml, we cancel its bootindex setting and set it to '0'. However, the bootIndexSpecified will be set to false because we cannot parse boot order from XML, so copy bootIndexSpecified from origin device when updating it. Signed-off-by: Jiang Jiacheng ---