From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xen.org
Subject: xl pci-attach silently fails the first time
Date: Mon, 1 Dec 2014 13:57:12 +0100 [thread overview]
Message-ID: <20141201125712.GA21576@aepfle.de> (raw)
I tried to attach a PCI device (IGB Virtual Function) to a HVM guest.
To actually get it assigned its required to run
pci-attach/pci-detach/pci-attach because it does not show up right away.
Did anyone noticed this bug already, is there a fix? There is no error
reported in dom0 dmesg, xl dmesg or qemu logfiles.
My domU.cfg looks like this:
name="domU"
memory=512
builder="hvm"
vif=['',]
disk=[ 'file:/SLE-12-Server-DVD-x86_64-GM-DVD1.iso,hda:cdrom' ]
serial="pty"
# xl pci-assignable-add 01:10.0
# xl pci-assignable-list
0000:01:10.0
# xl create -f domU.cfg
# xl console domU
## lspci gives just emulated PCI devices
## detach from domU console
# xl pci-attach domU 0000:01:10.0
# xl pci-list domU
Vdev Device
04.0 0000:01:10.0
# xl console domU
## lspci gives just emulated PCI devices
## detach from domU console
# xl pci-detach domU 0000:01:10.0
# xl pci-attach domU 0000:01:10.0
# xl pci-list domU
Vdev Device
04.0 0000:01:10.0
# xl console domU
## lspci shows now also the assigned host device
Olaf
next reply other threads:[~2014-12-01 12:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-01 12:57 Olaf Hering [this message]
2014-12-01 13:32 ` xl pci-attach silently fails the first time Olaf Hering
2014-12-01 13:42 ` Olaf Hering
2014-12-01 13:57 ` Sander Eikelenboom
2014-12-01 14:34 ` Olaf Hering
2014-12-01 14:39 ` Ian Campbell
2014-12-01 14:46 ` Olaf Hering
2014-12-01 14:46 ` Sander Eikelenboom
2014-12-02 15:47 ` Olaf Hering
2014-12-01 17:01 ` Konrad Rzeszutek Wilk
2014-12-02 15:46 ` Olaf Hering
2014-12-02 18:39 ` Konrad Rzeszutek Wilk
2014-12-03 8:36 ` Olaf Hering
2014-12-03 11:24 ` Olaf Hering
2014-12-04 1:31 ` Konrad Rzeszutek Wilk
2014-12-04 1:46 ` Konrad Rzeszutek Wilk
2014-12-04 9:28 ` Ian Campbell
2014-12-04 12:03 ` Konrad Rzeszutek Wilk
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=20141201125712.GA21576@aepfle.de \
--to=olaf@aepfle.de \
--cc=xen-devel@lists.xen.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.