Bug 536793 - Impossible to add pci-hardware to a virtual machine
Summary: Impossible to add pci-hardware to a virtual machine
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 11
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Glauber Costa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-11 12:17 UTC by Klaus Spithost
Modified: 2009-11-19 10:34 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-19 10:34:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Klaus Spithost 2009-11-11 12:17:08 UTC
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 10:34:32 UTC
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.