{"push_id":1248321745,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"541e9ae6d4290b9004ed73648ea663563b329b3d","before":"f257a4adf1dd0f0b1d75ba324a0dc21e6b8a5ad8","commits":[{"sha":"541e9ae6d4290b9004ed73648ea663563b329b3d","author":{"name":"Jim Fehlig","email":"2bb3e1c08de882740bb0c11807b789849eab19b7@suse.com"},"message":"cpu_x86: fix libvirtd crash when host cpu vendor is not available\n\nWhen starting a guest and copying host vendor cpuid to the guest\ncpu, libvirtd would crash if the host cpu contained a NULL vendor\nfield. Avoid the crash by checking for a valid vendor in the host\ncpu before copying the cpuid to the guest cpu.\n\nFor completeness, here is a backtrace from the crash\n\n(gdb) bt\nf0  0x00007ffff739bf33 in x86DataCpuid (cpuid=0x8, cpuid=0x8,\n    data=data@entry=0x7fffb800ee78) at cpu/cpu_x86.c:287\nf1  virCPUx86DataAddCPUID (data=data@entry=0x7fffb800ee78, cpuid=0x8)\n    at cpu/cpu_x86.c:355\nf2  0x00007ffff739ef47 in x86Compute (host=<optimized out>, cpu=0x7fffb8000cc0,\n    guest=0x7fffecca7348, message=<optimized out>) at cpu/cpu_x86.c:1580\nf3  0x00007fffd2b38e53 in qemuBuildCpuModelArgStr (migrating=false,\n    hasHwVirt=<synthetic pointer>, qemuCaps=0x7fffb8001040, buf=0x7fffecca7360,\n    def=0x7fffc400ce20, driver=0x1c) at qemu/qemu_command.c:6283\nf4  qemuBuildCpuCommandLine (cmd=cmd@entry=0x7fffb8002f60,\n    driver=driver@entry=0x7fffc80882c0, def=def@entry=0x7fffc400ce20,\n    qemuCaps=qemuCaps@entry=0x7fffb8001040, migrating=<optimized out>)\n    at qemu/qemu_command.c:6445\n(gdb) f2\n(gdb) p *host_model\n$23 = {name = 0x7fffb800ec50 \"qemu64\", vendor = 0x0, signature = 0, data = {\n    len = 2, data = 0x7fffb800e720}}","distinct":true,"url":"https://api.github.com/repos/libvirt/libvirt/commits/541e9ae6d4290b9004ed73648ea663563b329b3d"}]}
{"actor":{"display_login":"libvirtmirror"}}