Re: [PATCH for-7.2] target/i386: Always completely initialize TranslateFault

2022-12-01 Thread Paolo Bonzini
Queued, thanks. Paolo

Re: [PATCH for-7.2] target/i386: Always completely initialize TranslateFault

2022-11-30 Thread Richard Henderson
On 11/30/22 23:45, Richard Henderson wrote: In get_physical_address, the canonical address check failed to set TranslateFault.stage2, which resulted in an uninitialized read from the struct when reporting the fault in x86_cpu_tlb_fill. Adjust all error paths to use structure assignment so that t

[PATCH for-7.2] target/i386: Always completely initialize TranslateFault

2022-11-30 Thread Richard Henderson
In get_physical_address, the canonical address check failed to set TranslateFault.stage2, which resulted in an uninitialized read from the struct when reporting the fault in x86_cpu_tlb_fill. Adjust all error paths to use structure assignment so that the entire struct is always initialized. Repor