Re: sr-iov on Intel 82576 and rhel 7 - would not work

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

 



On Fri, Sep 19, 2014 at 03:35:07PM +0100, lejeczek wrote:
hi everybody

a windows kvm guest would not start, process gets killed with:

Out of memory: Kill process 21984 (qemu-kvm) score 44 or
sacrifice child


Not paying attention to the rest of the mail, I'd just say that kernel
had to kill something due to not having enough memory.  What are the
memory statistics when starting the guest?  What's your overcommit
configuration?

I really don't know where/what I might be missing, config
seems fine, everything looks ok - I only am not sure, do I
need to first stub a SR-IOV device like regular passthrough?

I'm trying sr-iov, having one NIC left to the host and the
second give to a pool.
Then I have

in a guest:

    <interface type='network'>
      <mac address='52:54:00:99:df:43'/>
      <source network='passthrough-pool'/>
      <model type='rtl8139'/>
      <address type='pci' domain='0x0000' bus='0x00'
slot='0x07' function='0x0'/>
    </interface>

and the net:

<network>
  <name>passthrough-pool</name>
  <uuid>dd5b4aa3-7c46-4874-a17f-6c0582738bd5</uuid>
  <forward mode='hostdev' managed='yes'>
    <pf dev='enp2s0f1'/>
  </forward>
</network>

----
02:00.0 Ethernet controller: Intel Corporation 82576 Gigabit
Network Connection (rev 01)
    Subsystem: Super Micro Computer Inc Device 10c9
    Flags: bus master, fast devsel, latency 0, IRQ 40
    Memory at dfce0000 (32-bit, non-prefetchable) [size=128K]
    Memory at dfcc0000 (32-bit, non-prefetchable) [size=128K]
    I/O ports at a800 [size=32]
    Memory at dfc9c000 (32-bit, non-prefetchable) [size=16K]
    Expansion ROM at dfca0000 [disabled] [size=128K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
    Capabilities: [70] MSI-X: Enable+ Count=10 Masked-
    Capabilities: [a0] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Device Serial Number
00-25-90-ff-ff-72-bb-e2
    Capabilities: [150] Alternative Routing-ID
Interpretation (ARI)
    Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
    Kernel driver in use: igb
02:00.1 Ethernet controller: Intel Corporation 82576 Gigabit
Network Connection (rev 01)
    Subsystem: Super Micro Computer Inc Device 10c9
    Flags: bus master, fast devsel, latency 0, IRQ 41
    Memory at dfc20000 (32-bit, non-prefetchable) [size=128K]
    Memory at dfc00000 (32-bit, non-prefetchable) [size=128K]
    I/O ports at a400 [size=32]
    Memory at dfbdc000 (32-bit, non-prefetchable) [size=16K]
    Expansion ROM at dfbe0000 [disabled] [size=128K]
    Capabilities: [40] Power Management version 3
    Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
    Capabilities: [70] MSI-X: Enable+ Count=10 Masked-
    Capabilities: [a0] Express Endpoint, MSI 00
    Capabilities: [100] Advanced Error Reporting
    Capabilities: [140] Device Serial Number
00-25-90-ff-ff-72-bb-e2
    Capabilities: [150] Alternative Routing-ID
Interpretation (ARI)
    Capabilities: [160] Single Root I/O Virtualization (SR-IOV)
    Kernel driver in use: igb

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

Attachment: signature.asc
Description: Digital signature

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux