Re: [PATCH] hw/vmcoreinfo: make guest format endian safe

2024-07-12 Thread Marc-André Lureau
Hi On Fri, Jul 12, 2024 at 10:25 AM Ani Sinha wrote: > > Guest and host formats in struct FWCfgVMCoreInfo are written in little endian > format. However, the hypervisor host might be big endian. We need to do > appropriate conversions between the formats before comparing the values. Fix > it. >

[PATCH] hw/vmcoreinfo: make guest format endian safe

2024-07-11 Thread Ani Sinha
Guest and host formats in struct FWCfgVMCoreInfo are written in little endian format. However, the hypervisor host might be big endian. We need to do appropriate conversions between the formats before comparing the values. Fix it. Signed-off-by: Ani Sinha --- hw/misc/vmcoreinfo.c | 3 ++- 1 file