cpu-data: Pretend to always run on logical processor #0
cpu-data: Pretend to always run on logical processor #0

The output of cpuid depends on the logical processor id the process
runs on, as reflected by the "local apic id" present in cpuid leaves
(eax=1,ebx=0), (eax=11,ebx=0), and (eax=11,ebx=1). This produces
arbitrary changes in the output files that complicate comparisons.

This patch masks the occurences of the local apic id with 0x00, so
that two consecutive runs of "./cpu-data.py gather" produce identical
results.

Signed-off-by: Tim Wiederhake <da93ee425e056cfcf1ddac9fc87851b25464abf4@redhat.com>
Reviewed-by: Jiri Denemark <62bdf77dc47919a4d59a91822129d14633cfca81@redhat.com>

jfehlig/libvirt,libvirt/libvirt,olafhering/libvirt,jfehlig/libvirt,nertpinx/libvirt,crobinso/libvirt,olafhering/libvirt,crobinso/libvirt,crobinso/libvirt,nertpinx/libvirt,jfehlig/libvirt,olafhering/libvirt,jfehlig/libvirt,zippy2/libvirt,zippy2/libvirt,crobinso/libvirt,libvirt/libvirt,libvirt/libvirt,olafhering/libvirt,zippy2/libvirt,nertpinx/libvirt,zippy2/libvirt,nertpinx/libvirt,libvirt/libvirt,nertpinx/libvirt