Bug 655702
Summary: | intel 82576 VF assignment to a guest : the guest doesn't receive ARP reply | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | mathieu <mathieu.rohon> | ||||
Component: | qemu | Assignee: | Justin M. Forbes <jforbes> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 14 | CC: | alex.williamson, amit.shah, berrange, chrisw, clalance, dwmw2, ehabkost, extras-orphan, gcosta, itamar, jaswinder, jforbes, knoel, markmc, notting, ondrejj, quintela, scottt.tw, virt-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-12-09 17:07:00 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
mathieu
2010-11-22 08:36:16 UTC
(In reply to comment #0) > assigned_dev_enable_msix: assign irq: Operation not permitted > fail to set MSI-X entry number for MSIX! Invalid argument > assigned_dev_update_msix_mmio: Invalid argument This makes it look like the device isn't working at all, not just ARP replies. Does it work if you uncomment these lines in /etc/libvirt/qemu.conf? user = "root" group = "root" (You'll need to restart libvirt or reboot after this) There might be some lingering issues with de-privileged device assignment in F14. This was fixed upstream in kernel commit: 48bb09eee4e102544808c00f43bc40a4a2e43e50 (In reply to comment #1) > (In reply to comment #0) > > assigned_dev_enable_msix: assign irq: Operation not permitted > > fail to set MSI-X entry number for MSIX! Invalid argument > > assigned_dev_update_msix_mmio: Invalid argument > > This makes it look like the device isn't working at all, not just ARP replies. > Does it work if you uncomment these lines in /etc/libvirt/qemu.conf? > > user = "root" > group = "root" > > (You'll need to restart libvirt or reboot after this) There might be some > lingering issues with de-privileged device assignment in F14. Even as root, libvirt drops privileges (i.e. no CAP_SYS_RAWIO). In libvirt 0.8.2 or newer then you can override that by setting "clear_emulator_capabilities" in /etc/libvirt/qemu.conf. But that's just a stop gap (useful to test). The proper solution is getting your fix I mentioned in Comment 2 into the fedora (and -stable) kernels. (In reply to comment #3) > Even as root, libvirt drops privileges (i.e. no CAP_SYS_RAWIO). > In libvirt 0.8.2 or newer then you can override that by setting > "clear_emulator_capabilities" in /etc/libvirt/qemu.conf. But that's just a > stop > gap (useful to test). The proper solution is getting your fix I mentioned in > Comment 2 into the fedora (and -stable) kernels. Yep, I forgot the clear_emulator_capabilities flag. Definitely looks like the referenced commit, thanks for digging that up. thanks for the reply. I set the flag and use "root", but it has no effect, even after a reboot. I still have the error. I use libvirt 0.8.3 and kernel 2.6.35.6-48.fc14.i686 (In reply to comment #1) > (In reply to comment #0) > > assigned_dev_enable_msix: assign irq: Operation not permitted > > fail to set MSI-X entry number for MSIX! Invalid argument > > assigned_dev_update_msix_mmio: Invalid argument > > This makes it look like the device isn't working at all, not just ARP replies. it's very strange because the VF network card woks for sending ARP on the network, but replies are not sent back to the VM (In reply to comment #5) > thanks for the reply. > I set the flag and use "root", but it has no effect, even after a reboot. I > still have the error. > I use libvirt 0.8.3 and kernel 2.6.35.6-48.fc14.i686 As Chris noted in Comment 3, this was insufficient. To fully test this, you need to do all of the following: 1) Uncomment the following lines in /etc/libvirt/qemu.conf: user = "root" group = "root" 2) Uncomment and change the following line in the same file: clear_emulator_capabilities = 0 (Note this is = 1 by default) 3) Restart libvirt or reboot This should work around the missing kernel patch. Please test. (In reply to comment #6) > (In reply to comment #5) > > thanks for the reply. > > I set the flag and use "root", but it has no effect, even after a reboot. I > > still have the error. > > I use libvirt 0.8.3 and kernel 2.6.35.6-48.fc14.i686 > > As Chris noted in Comment 3, this was insufficient. To fully test this, you > need to do all of the following: > > 1) Uncomment the following lines in /etc/libvirt/qemu.conf: > > user = "root" > group = "root" > > 2) Uncomment and change the following line in the same file: > > clear_emulator_capabilities = 0 > > (Note this is = 1 by default) > > 3) Restart libvirt or reboot > > This should work around the missing kernel patch. Please test. great, it works!! thanks This should be resolved in kernel-2.6.35.9-64.fc14 |