Fedora Linux Support Community & Resources Center
  #1  
Old 10th July 2012, 08:54 PM
cat4lyst Offline
Registered User
 
Join Date: Jul 2012
Location: California
Posts: 1
windows_xp_2003chrome
Virtualization PCI Passthrough Problem

Hey everyone,

Have a bit of a problem getting KVM PCI passthrough to work on FC17. Using virt-manager I am trying to pass a pci card to a guest vm and am receiving an error message. The system loads fine without the passthrough device configued.

this is what the virt-manager error dialog box says
Quote:
Error starting domain: Unable to read from monitor: Connection reset by peer

Details:
Error starting domain: Unable to read from monitor: Connection reset by peer

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 66, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1114, in startup
self._backend.create()
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 554, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: Unable to read from monitor: Connection reset by peer
the log file /var/log/libvirt/qemu/VMNAME.xml shows
Quote:
Failed to assign device "hostdev0" : Operation not permitted
qemu-kvm: -device pci-assign,host=03:00.0,id=hostdev0,configfd=23,bus=pc i.0,addr=0x7: Device 'pci-assign' could not be initialized
2012-07-11 03:34:47.847+0000: shutting down

I thought earlier that virsh command nodedev-dettach wasnt working, but that is no longer a problem. So i am able to dettach the pci device from the host before launching and getting this message.

I am pretty stuck and really want to get this working, any help would be great!


thanks

Last edited by cat4lyst; 11th July 2012 at 04:49 AM. Reason: Change description of problem
Reply With Quote
  #2  
Old 19th March 2014, 03:26 AM
supmethods Offline
Registered User
 
Join Date: Mar 2014
Location: Australia
Posts: 1
windows_8firefox
Re: Virtualization PCI Passthrough Problem

The KVM host is potentially exposed to a malicious guest trying to trigger MSI interrupts for denial of service or exploit probing. For this reason, unsafe assigned interrupts isn't permitted which may prevent you from passing through the device to the KVM guest.

If you trust your guest, it's safe to allow this by doing the following: echo 1 > /sys/module/kvm/parameters/allow_unsafe_assigned_interrupts

Here's a nice article that covers all the things required for PCI paasthrough: http://spica-and-roid.blogspot.com.a...ssthrough.html
Reply With Quote
Reply

Tags
passthrough, pci, problem, virtualization

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xen with vga passthrough. nevertell Using Fedora 0 5th September 2011 04:54 PM
Problem in virtualization achilies Using Fedora 1 3rd December 2009 06:26 PM
libvirt / Virtualization XML problem krbvroc1 Servers & Networking 0 13th October 2009 10:47 PM
Does F11 contain PCI passthrough? NickC Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 0 2nd May 2009 03:31 PM
AC3 passthrough polh85 Using Fedora 2 31st March 2006 01:10 PM


Current GMT-time: 04:15 (Saturday, 30-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat