pvextract-hdr - Extract an IBM SEL header

Use the pvextract-hdr command to obtain the IBM SEL header and write it into a file.

pvattest syntax


1  pvextract-hdr
1! -o sehdr.bin
1 -o<output_file>
1! -s 0x14
1? -s<skip_pages>
1! -l 0x4
1? -l<stop_pages>
4 <path/to/image>
Where:
-o <output_file>
specifies the file to which the IBM SEL header is written.
-s <skip_pages>
Optional: specifies the number of pages to skip before starting to search for the header. The default is 0x14 pages.
Note: For the -s and -l options, the defaults are optimized to find headers at an offset of 14 pages and not longer than 2 pages. Accept the defaults unless the command fails and the header is not found.
-l <stop_pages>
Optional: specifies the number of pages after which to stop searching for the header. The default is 0x4 pages.
<path/to/image>
the path to the KVM guest image from which you want to extract the header.
-h
Optional: displays short information about command usage.