You are not logged in.

#1 2019-04-07 10:17:34

archdom
Member
Registered: 2018-09-12
Posts: 96

[SOLVED]Virt manager error network pci passthrought

Hi guys,

in virt manager I add a pci device that corresponds to the wireless network card. In the NIC section I set as the network source: macvtap host device (wlps02) and Passthrought source mode.
When I start the virtual machine it gives me this error:

Cannot get interface MAC on 'wlp2s0': No device matches
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
    callback (asyncjob, * args, ** kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
    callback (* args, ** kwargs)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, in newfn
    ret = fn (self, * args, ** kwargs)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1420, in startup
    self._backend.create ()
  File "/usr/lib/python3.7/site-packages/libvirt.py", line 1080, in created
    if ret == -1: raise libvirtError ('virDomainCreate () failed', dom = self)
libvirt.libvirtError: Cannot get interface MAC on 'wlp2s0': No device matches

I already set  intel_iommu=on using the kernel parameters.

when I start the virtual machine in the journal I read this:

 
apr 07 12:11:13 ... kernel: ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
apr 07 12:11:13 ... kernel: DMAR: DRHD: handling fault status reg 2
apr 07 12:11:13 ... kernel: DMAR: [DMA Write] Request device [02:00.0] fault addr 0 [fault reason 05] PTE Write access is not set
apr 07 12:11:13 ... org_kde_powerdevil[829]: UdevQt: unhandled device action "move"
apr 07 12:11:13 ... krunner[810]: UdevQt: unhandled device action "move"
apr 07 12:11:13 ... plasmashell[812]: UdevQt: unhandled device action "move"
apr 07 12:11:13 ... NetworkManager[575]: <info>  [1554631873.4119] device (wlp2s0): set-hw-addr: set MAC address to D6:9A:8E:59:C7:6A (scanning)
apr 07 12:11:13 ... kernel: ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
apr 07 12:11:13 ... kernel: DMAR: DRHD: handling fault status reg 2
apr 07 12:11:13 ... kernel: DMAR: [DMA Write] Request device [02:00.0] fault addr 0 [fault reason 05] PTE Write access is not set

When I try to start the virtual machine the network on the host is lost and then resumes ..... What happens? Can anyone help me?


thanks a lot

Last edited by archdom (2019-04-08 11:52:51)

Offline

#2 2019-04-08 11:51:15

archdom
Member
Registered: 2018-09-12
Posts: 96

Re: [SOLVED]Virt manager error network pci passthrought

I resolved....there was wrong configuration of libvrt.
I Mark as resolved

Offline

Board footer

Powered by FluxBB