From: freisei <forum@xp8.de>
To: kvm@vger.kernel.org
Subject: PCI Passthrough - create_userspace_phys_mem: Invalid argument
Date: Thu, 26 Feb 2009 15:58:43 +0100 [thread overview]
Message-ID: <49A6AE23.1050107@xp8.de> (raw)
Hi List!
i want to passthrough my isdn-card in a kvm-vm.
> qemu-system-x86_64 -vnc :3 -m 2048 -name $vmname -hda
> /dev/vg0/xp8asterisk -boot n -net nic,macaddr=52:54:00:58:08:03 -net
> tap,script=/etc/qemu-ifup -usbdevice tablet -k de -smp 2 -monitor
> stdio -pcidevice host=05:04.0
> Running /etc/qemu-ifup
> ...Bringing up for bridged mode
> ...Adding tap0 to intern-interface
> init_assigned_device: Registering real physical device 05:04.0 (bus=5
> dev=4 func=0)
> get_real_device: region 0 size 32 start 0xf9100000 type 512 resource_fd 14
> get_real_device: region 1 size 32 start 0x3000 type 256 resource_fd 0
> QEMU 0.9.1 monitor - type 'help' for more information
> (qemu) assigned_dev_pci_read_config: (6.0): address=0000
> val=0x00001244 len=2
> assigned_dev_pci_read_config: (6.0): address=0002 val=0x00000e00 len=2
> assigned_dev_pci_read_config: (6.0): address=0000 val=0x00001244 len=2
> assigned_dev_pci_read_config: (6.0): address=0002 val=0x00000e00 len=2
> assigned_dev_pci_read_config: (6.0): address=0000 val=0x00001244 len=2
> assigned_dev_pci_read_config: (6.0): address=0002 val=0x00000e00 len=2
> assigned_dev_pci_read_config: (6.0): address=000a val=0x00000280 len=2
> assigned_dev_pci_read_config: (6.0): address=0000 val=0x00001244 len=2
> assigned_dev_pci_read_config: (6.0): address=0002 val=0x00000e00 len=2
> assigned_dev_pci_write_config: (6.0): address=0010 val=0xffffffff len=4
> assigned_dev_pci_read_config: (6.0): address=0010 val=0xffffffe0 len=4
> assigned_dev_pci_read_config: (6.0): address=0010 val=0xffffffe0 len=4
> assigned_dev_pci_write_config: (6.0): address=0010 val=0xf2001100 len=4
> assigned_dev_iomem_map: e_phys=f2001100 r_virt=0x7f9374876000 type=0
> len=00000020 region_num=0
> create_userspace_phys_mem: Invalid argument
> assigned_dev_iomem_map: Error: create new mapping failed
Already tried:
- remove not needed-parameters
- dma=none
- set assign-device DEBUG (as you see)
Additional Info:
lspci:
05:04.0 Network controller: AVM GmbH Fritz!PCI v2.0 ISDN (rev 02)
root@xp8main3:/etc/kvm# uname -a
Linux xp8main3 2.6.29-rc6-xp8no7 #1 SMP Thu Feb 26 12:27:17 CET 2009
x86_64 GNU/Linux
greets freisei
next reply other threads:[~2009-02-26 15:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-26 14:58 freisei [this message]
2009-02-27 1:44 ` PCI Passthrough - create_userspace_phys_mem: Invalid argument Han, Weidong
2009-02-27 17:27 ` freisei
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=49A6AE23.1050107@xp8.de \
--to=forum@xp8.de \
--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.