Description of problem: elf2dmp doesn't support converting the qemu guest memory dumps to Windows memory dump format. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Upstream patch: https://www.mail-archive.com/qemu-devel@nongnu.org/msg923837.html
Actual result: 4 CPU states has been found CPU #0 CR3 is 0x00000000001ae002 CPU #0 IDT is at 0xfffff80234534000 CPU #0 IDT[0] -> 0xfffff80238a88100 Searching kernel downwards from 0xfffff80238a88000... KernBase = 0xfffff802381fc000, signature is 'MZ' Debug Directory RVA = 0x000048b0 Failed to get PDB symbol store hash Expected result (and result after the patch series as well): 4 CPU states has been found CPU #0 CR3 is 0x00000000001ae002 CPU #0 IDT is at 0xfffff80234534000 CPU #0 IDT[0] -> 0xfffff80238a88100 Searching kernel downwards from 0xfffff80238a88000... KernBase = 0xfffff80238000000, signature is 'MZ' CodeView signature is 'RSDS' PDB name is 'ntkrnlmp.pdb', 'ntkrnlmp.pdb' expected PDB URL is https://msdl.microsoft.com/download/symbols/ntkrnlmp.pdb/adc00fa5fc34456ba16e2687457240991/ntkrnlmp.pdb % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11.5M 100 11.5M 0 0 1982k 0 0:00:05 0:00:05 --:--:-- 2697k KdDebuggerDataBlock: 0x0000000000c00000(24:'.data') + 0x00000a30 = 0x000c00a30 KdDebuggerDataBlock = 0xfffff80238c00a30 KdVersionBlock: 0x0000000000c00000(24:'.data') + 0x00015508 = 0x000c15508 KdVersionBlock = 0xfffff80238c15508 Filling context for CPU #0... Filling context for CPU #1... Filling context for CPU #2... Filling context for CPU #3... Writing header to file...
Upstream fix: https://patchwork.ozlabs.org/project/qemu-devel/patch/20230321132036.1836617-6-peter.maydell@linaro.org/
I see the commit referenced in comment 1 needed to be reworked, create a v2: https://lists.nongnu.org/archive/html/qemu-devel/2023-02/msg06517.html and it seems the commit in comment 5 was merged into qemu-8.0 as: https://gitlab.com/qemu-project/qemu/-/commit/d399d6b179f07b9904de0e76d06c77a3d0a66b51 So can the most recent downstream qemu build be tested so we can work through getting this bug added to the errata for the current release?
Hi Yan, DTM is missed, would you please help reset it? Thanks.
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.