[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [vfio-users] Nvidia Error 43 and vendor_id state='on'

OK, here we go.  Understand my XML is a little in pieces right now, as
i am trying to re-add the
<hyperv> settings and the one under <clock offset='localtime'>.  In
order to get the VM to boot i
had to remove the Nvidia card.  I first tried putting back all 3
hyperv settings and the clock setting,
but that didnt work.  So then i took out the clock setting and tried,
still not luck.  The last thing i
tried was just the clock setting and took out the 3 hyperv.  Still
nothing.  All this without the video
card in.

Grub line =
rd.lvm.lv=Linux1/swap rhgb quiet intel_iommu=on
pci-stub.ids=8086:1d2d,8086:1d26 rd.driver.pre=vfio-pci

IOMMU group 23
    01:00.0 VGA compatible controller [0300]: Advanced Micro Devices,
Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM]
    01:00.1 Audio device [0403]: Advanced Micro Devices, Inc.
[AMD/ATI] Caicos HDMI Audio [Radeon HD 6400 Series] [1002:aa98]
IOMMU group 24
    02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104
[GeForce GTX 760] [10de:1187] (rev a1)
    02:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio
Controller [10de:0e0a] (rev a1)

* Passing the Nvidia card because its a MUCH better gaming card. The 2
pci-stub devices are 2 Intel USB controllers.  Those are working fine
in the VM.  For some reason the USB controllers would not work with
vfio-pci, but worked fine with pci-stub*

/etc/modprobe.d/local.conf =
options vfio-pci ids=10de:1187,10de:0e0a

The XML lines i have currently removed =
<relaxed state='on'/>
<vapic state='on'/>
<spinlocks state='on' retries='8191'/>

<domain type='kvm'>
  <memory unit='KiB'>12582912</memory>
  <currentMemory unit='KiB'>12582912</currentMemory>
  <vcpu placement='static'>4</vcpu>
    <vcpupin vcpu='0' cpuset='2'/>
    <vcpupin vcpu='1' cpuset='3'/>
    <vcpupin vcpu='2' cpuset='8'/>
    <vcpupin vcpu='3' cpuset='9'/>
    <type arch='x86_64' machine='pc-i440fx-2.6'>hvm</type>
    <loader readonly='yes'
    <bootmenu enable='no'/>
      <vendor_id state='on' value='abcdefg'/>
      <hidden state='on'/>
    <vmport state='off'/>
  <cpu mode='host-passthrough'>
    <topology sockets='1' cores='2' threads='2'/>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
    <suspend-to-mem enabled='no'/>
    <suspend-to-disk enabled='no'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native'/>
      <source file='/var/lib/libvirt/images/win7gaming.img'/>
      <target dev='vda' bus='virtio'/>
      <boot order='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07'
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/home/david283/Downloads/virtio-win-0.1.117.iso'/>
      <target dev='hdb' bus='ide'/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
   <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06'
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0' multifunction='on'/>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06'
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06'
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01'
    <interface type='direct'>
      <mac address='52:54:00:56:fb:87'/>
      <source dev='eno1' mode='bridge'/>
     <model type='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03'
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' keymap='en-us'/>
      <model type='vga' vram='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x0a'
    <hostdev mode='subsystem' type='pci' managed='yes'>
        <address domain='0x0000' bus='0x00' slot='0x1a' function='0x0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05'
    <hostdev mode='subsystem' type='pci' managed='yes'>
        <address domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x09'
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x08'

On Sat, Jun 11, 2016 at 4:40 PM, Alex Williamson
<alex l williamson gmail com> wrote:
> Now would probably be a good time to share your hardware details and exact
> XML you're using.  Nobody wants to waste their time helping someone debug a
> laptop with Optimus.

david283 gmail com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]