[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] x86/hvm: Don't save or load HVM context of a domain with no vCPUs



On 18.11.2026 09:40, Jan Beulich wrote:
>> +    /* Per-domain records are saved via vCPU 0, absent before max_vcpus. */
>> +    v = domain_vcpu(d, hvm_sr_handlers[typecode].kind == HVMSR_PER_VCPU
>> +                       ? instance : 0);
> 
> ... this wrapped differently (happy to adjust while committing):
> 
>     v = domain_vcpu(d,
>                     hvm_sr_handlers[typecode].kind == HVMSR_PER_VCPU
>                     ? instance : 0);
> 
> or
> 
>     v = domain_vcpu(d,
>                     hvm_sr_handlers[typecode].kind == HVMSR_PER_VCPU ? 
> instance
>                                                                      : 0);
> 
> When an argument is too long to fit on a line, I don't think it should share
> a line with any earlier (or later) arguments.

Thanks Jan. Please adjust it while committing; I'll keep this in mind for
next time.

Lin



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.