From: Jakob Sandgren <jakob@southpole.se>
To: kvm@vger.kernel.org
Subject: Problem with PCI device assignment (KVM-79, 2.6.28)
Date: Sun, 7 Dec 2008 22:59:01 +0100 [thread overview]
Message-ID: <20081207215901.GA7537@southpole.se> (raw)
Hi,
I get the following (fatal) error when trying to assign a pci device
(USB 2.0 controller) to a guest:
create_userspace_phys_mem: Invalid argument
assigned_dev_iomem_map: Error: create new mapping failed
Assigning another (USB 1.1) device works.
Backgroud and additional information:
This is on an Ubuntu Intrepid with an AMD Phenom(tm) 9350e CPU.
KVM-79 has been compiled and 2.6.28 is installed from Ubuntu:s
repository.
I'm trying to assign my DVB-T (Nova 500) card to my guest. It's
basically a PCI card with an USB controller chip (two 1.1 ports and
one 2.0 port) that is connected to the actuall DVB-T chip.
Since the DVB-T chip is connected to USB-2.0 and since there is no USB
2.0 (EHCI) support in KVM, I'm trying to use pci device assignment
instead.
I have disabled any other USB controllers/hubs in the system;
root@cosmos:/var/log/libvirt/qemu# lspci |grep USB
06:07.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1Controller (rev 61)
06:07.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
06:07.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
Starting kvm with; "/usr/bin/kvm -pcidevice host=06:07.1,dma=none
... args ..." works and the device shows up in the guest (some errors
in guest, but it starts and the device sees an USB controller)
However starting kvm with; "/usr/bin/kvm -pcidevice
host=06:07.2,dma=none ... args ..." gives the following errors;
create_userspace_phys_mem: Invalid argument
assigned_dev_iomem_map: Error: create new mapping failed
I have tried above both with and without ",dma=none".
I'm confused since it seem to work with some devices, but not with
others. Any suggestions?
/Jakob
--
Jakob Sandgren South Pole AB
next reply other threads:[~2008-12-07 22:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-07 21:59 Jakob Sandgren [this message]
2008-12-07 22:54 ` Problem with PCI device assignment (KVM-79, 2.6.28) Jan C. Bernauer
-- strict thread matches above, loose matches on Subject: below --
2008-12-07 22:42 Jan C. Bernauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081207215901.GA7537@southpole.se \
--to=jakob@southpole.se \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.