[vfio-users] Problems with qemu from GIT

sL1pKn07 SpinFlo sl1pkn07 at gmail.com
Fri Nov 18 18:33:18 UTC 2016


Hi

When launch qemu throught libvirt (also builded from GIT):

nov 18 16:57:52 sL1pKn07 libvirtd[1370]: Domain id=2 name='windoze'
uuid=167cfa49-c88f-46df-a6bf-3127d5bf4d38 is tainted: custom-argv
nov 18 16:57:52 sL1pKn07 libvirtd[1370]: Domain id=2 name='windoze'
uuid=167cfa49-c88f-46df-a6bf-3127d5bf4d38 is tainted: host-cpu
nov 18 16:58:03 sL1pKn07 libvirtd[1370]: internal error: unknown CPU
feature __kvm_hv_vendor_id
nov 18 16:58:11 sL1pKn07 libvirtd[1370]: internal error: End of file
from qemu monitor

           PID: 20731 (qemu-system-x86)
           UID: 1000 (sl1pkn07)
           GID: 78 (kvm)
        Signal: 6 (ABRT)
     Timestamp: Fri 2016-11-18 16:58:11 CET (2h 30min ago)
  Command Line: /usr/bin/qemu-system-x86_64 -name
guest=windoze,debug-threads=on -S -object
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-2-windoze/master-key.aes
-machine pc-i440fx-2.7,accel=kvm,usb=off,dump-guest-core=off -cpu
host,hv_time,hv_vendor_id=SomeString,kvm=off -bios
/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd -m 12288 -realtime
mlock=off -smp 6,sockets=1,cores=6,threads=1 -uuid
167cfa49-c88f-46df-a6bf-3127d5bf4d38 -display none -no-user-config
-nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-2-windoze/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime
-no-shutdown -boot menu=off,strict=on -device
ahci,id=sata0,bus=pci.0,addr=0x4 -drive
file=/dev/disk/by-id/ata-KINGSTON_SV300S37A240G_50026B775B0399A7,format=raw,if=none,id=drive-virtio-disk0
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
-netdev tap,fd=25,id=hostnet0,vhost=on,vhostfd=27 -device
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:e4:b0:b4,bus=pci.0,addr=0x9
-device vfio-pci,host=07:00.0,id=hostdev0,bus=pci.0,addr=0x7 -device
vfio-pci,host=07:00.1,id=hostdev1,bus=pci.0,addr=0x3 -device
vfio-pci,host=14:00.0,id=hostdev2,bus=pci.0,addr=0x5 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 -machine
max-ram-below-4g=1G -msg timestamp=on
    Executable: /usr/bin/qemu-system-x86_64
 Control Group: /
         Slice: -.slice
       Boot ID: 096f631947d640c19212ef9c5cb9a1e6
    Machine ID: c20ee0c57658685bfedf50384b0e3ec0
      Hostname: sL1pKn07
       Storage: none
       Message: Process 20731 (qemu-system-x86) of user 1000 dumped core.

the last commit builded and i don't have problems is

qemu: b49e452
libvirt: 77d24de

the XML:

<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
 virsh edit windoze
or other application using the libvirt API.
-->

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
 <name>windoze</name>
 <uuid>167cfa49-c88f-46df-a6bf-3127d5bf4d38</uuid>
 <memory unit='KiB'>12582912</memory>
 <currentMemory unit='KiB'>12582912</currentMemory>
 <vcpu placement='auto'>6</vcpu>
 <numatune>
   <memory mode='strict' placement='auto'/>
 </numatune>
 <sysinfo type='smbios'>
   <bios>
     <entry name='vendor'>GENERIC</entry>
     <entry name='version'>GENERIC</entry>
     <entry name='date'>01/01/2014</entry>
     <entry name='release'>0.91</entry>
   </bios>
   <system>
     <entry name='manufacturer'>GENERIC</entry>
     <entry name='product'>GENERIC</entry>
     <entry name='version'>GENERIC</entry>
     <entry name='serial'>1</entry>
     <entry name='uuid'>167cfa49-c88f-46df-a6bf-3127d5bf4d38</entry>
     <entry name='sku'>GENERIC</entry>
     <entry name='family'>GENERIC</entry>
   </system>
 </sysinfo>
 <os>
   <type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type>
   <loader type='rom'>/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
   <nvram template='/usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd'>/var/lib/libvirt/qemu/nvram/windoze_VARS.fd</nvram>
   <bootmenu enable='no'/>
 </os>
 <features>
   <acpi/>
   <apic/>
   <pae/>
   <hyperv>
     <vendor_id state='on' value='SomeString'/>
   </hyperv>
   <kvm>
     <hidden state='on'/>
   </kvm>
 </features>
 <cpu mode='host-passthrough'>
   <topology sockets='1' cores='6' threads='1'/>
 </cpu>
 <clock offset='localtime'>
   <timer name='hypervclock' present='yes'/>
 </clock>
 <on_poweroff>destroy</on_poweroff>
 <on_reboot>restart</on_reboot>
 <on_crash>restart</on_crash>
 <devices>
   <emulator>/usr/bin/qemu-system-x86_64</emulator>
   <disk type='block' device='disk'>
     <driver name='qemu' type='raw'/>
     <source dev='/dev/disk/by-id/ata-KINGSTON_SV300S37A240G_50026B775B0399A7'/>
     <target dev='vda' bus='virtio'/>
     <boot order='1'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
   </disk>
   <controller type='usb' index='0' model='none'/>
   <controller type='sata' index='0'>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
   </controller>
   <controller type='pci' index='0' model='pci-root'/>
   <interface type='bridge'>
     <mac address='52:54:00:e4:b0:b4'/>
     <source bridge='br0'/>
     <model type='virtio'/>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
   </interface>
   <input type='keyboard' bus='ps2'/>
   <input type='mouse' bus='ps2'/>
   <hostdev mode='subsystem' type='pci' managed='no'>
     <source>
       <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
     </source>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
   </hostdev>
   <hostdev mode='subsystem' type='pci' managed='no'>
     <source>
       <address domain='0x0000' bus='0x07' slot='0x00' function='0x1'/>
     </source>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
   </hostdev>
   <hostdev mode='subsystem' type='pci' managed='yes'>
     <source>
       <address domain='0x0000' bus='0x14' slot='0x00' function='0x0'/>
     </source>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
   </hostdev>
   <memballoon model='virtio'>
     <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
   </memballoon>
 </devices>
 <qemu:commandline>
   <qemu:arg value='-machine'/>
   <qemu:arg value='max-ram-below-4g=1G'/>
 </qemu:commandline>
</domain>

greetings




More information about the vfio-users mailing list