On 4/30/25 13:24, Alex Bennée wrote: >> On 4/30/25 00:19, Alex Bennée wrote: >>>> This change makes QEMU to crash. >>> What is your command line to cause the crash? >> I applied this patch on top of native context v11, ran AMD nctx and >> got a crash on SDDM startup. > Did you also include the pre-cursor patch which splits MemoryRegion out > of the container struct. The aim here is to allow MemoryRegion counting > to be handled without worrying about other structure lifetimes.
Very good catch, I indeed missed that other patch. Reapplied all the patches and QEMU doesn't crash anymore. Now the code changes look sane to me. Will be great if Akihiko Odaki could comment too. -- Best regards, Dmitry