Bug 536793 - Impossible to add pci-hardware to a virtual machine
Impossible to add pci-hardware to a virtual machine
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: qemu (Show other bugs)
11
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Glauber Costa
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-11-11 07:17 EST by Klaus Spithost
Modified: 2009-11-19 05:34 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-11-19 05:34:32 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Klaus Spithost 2009-11-11 07:17:08 EST
Description of problem:
When trying to add a physical pci-device to a virtual machine through the GUI
the virtual machine will not run.

Version-Release number of selected component (if applicable):
QEMU PC emulator version 0.10.6 (qemu-kvm-0.10.6), Copyright (c) 2003-2008
Fabrice Bellard

How reproducible:
Add a physical pci-device through the GUI. Try to start the virtual machine
from the GUI. The GUI states that the machine does not appear.

Steps to Reproduce:

1. add a physical hardware device through the GUI
2. run the machine (or if running, stop the machine and run it)
3.

Actual results:

A virtual machine that does not run

Expected results:

A running virtual machine with dedicated access to the physical pci-device

Additional info:


The log in /var/log/libvirt/qemu states:

LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin /usr/bin/qemu -S -M pc -m 512 -smp
1 -name XP_doosje -uuid 32dd18d6-f0a7-309b-7a57-86faf5ba8ab6 -monitor pty
-pidfile /var/run/libvirt/qemu//XP_doosje.pid -boot d -drive
file=/var/lib/libvirt/images/XP_doosje.img,if=ide,index=0 -drive
file=/var/lib/libvirt/images/xp-virt-d-drive.img,if=ide,index=1 -drive
file=/home/klaus/xp.iso,if=ide,media=cdrom,index=2 -net
nic,macaddr=54:52:00:5b:6c:58,vlan=0 -net tap,fd=20,vlan=0 -serial pty
-parallel none -usb -vnc 127.0.0.1:0 -pcidevice host=03:00.0 
/usr/bin/qemu: invalid option -- '-pcidevice'

Without the added hardware the virtual machine runs perfectly.

The Fedora 11 I try it on is updated uptil today (Nov 10th 2009).
Comment 1 Mark McLoughlin 2009-11-19 05:34:32 EST
qemu does not support PCI device assignment, only qemu-kvm does

Also, device assignment requires Intel VT-d or AMD IOMMU support

See also https://fedoraproject.org/wiki/Features/KVM_PCI_Device_Assignment

Thanks for the report

Note You need to log in before you can comment on or make changes to this bug.