RE: [PATCH] hw/arm/virt: Move common vCPU properties in a function

2024-11-05 Thread Salil Mehta via
el.l...@oracle.com; salil.me...@opnsrc.net; zhukeqian > ; wangxiongfeng (C) > ; wangyanan (Y) > ; jiakern...@gmail.com; > maob...@loongson.cn; lixiang...@loongson.cn; shahu...@redhat.com; > zhao1@intel.com; Linuxarm ; > gustavo.rom...@linaro.org > Subject: Re: [PATCH] hw/a

Re: [PATCH] hw/arm/virt: Move common vCPU properties in a function

2024-11-04 Thread Gavin Shan
On 11/4/24 1:22 AM, Salil Mehta wrote: Refactor vCPU properties code from the `machvirt_init()` main loop with the following goals: 1. Enable code reuse in future patch sets. 2. Improve code readability. 3. Separate out the one-time initialization of (secure-)Tagged memory, handling potentia

[PATCH] hw/arm/virt: Move common vCPU properties in a function

2024-11-03 Thread Salil Mehta via
Refactor vCPU properties code from the `machvirt_init()` main loop with the following goals: 1. Enable code reuse in future patch sets. 2. Improve code readability. 3. Separate out the one-time initialization of (secure-)Tagged memory, handling potential failures early. Note: This is a cosmeti