pci device id is different in vm when using passthroughReset a USB Modem without physical access (KVM virtual machine)PCI Passthrough on KVMUbuntu 14.04 LTS Windows 8 Guest macvtap setupTunner card PCI passthrough on KVMvmware network interface not detectedUbuntu Server KVM, Passthrough PCI DeviceUsing file system passthrough with KVM guests
What do you call someone whose unmarried partner has died?
Basic Accidental Question
How to present boolean options along with selecting exactly 1 of them as "primary"?
What type of rhetorical device is the offering of a source which is really long and not specifying what part of the source is relevant?
"Chess is 90% tactics" - should a player focus more on tactics in order to improve?
Can a professor do an internship?
Does SQL Server Only Perform Calculations In A SELECT List Once?
At what point in time would humans notice a 21st century satellite observing them?
Why rounding odd font sizes to even?
I have stack-exchanged through my undergrad math program. Am I likely to succeed in mathematics PhD programs?
What type of beer is best for beer battered fish?
Ungrouping French Guiana from France in Natural Earth data using QGIS?
Perils of having a moon consisting of valuable material
Prevent sleep if CPU usage is high
50% portfolio in single stock, JPM - appropriate for 80 year old?
Driving distance between O'Hare (ORD) and Downtown Chicago is 20.5 mi and 1H 17min?
Was there a clearly identifiable "first computer" to use or demonstrate the use of virtual memory?
Interview question: If correlation doesn't imply causation, how do you detect causation?
My boss wants me to recreate everything I have done for my previous employer
Is it possible to get reverse life insurance?
static collection variable not accessible elsewhere
What to do with a bent but not broken aluminum seat stay
Using Gauss's law to prove that a field is zero
What are standard cryptographic assumptions?
pci device id is different in vm when using passthrough
Reset a USB Modem without physical access (KVM virtual machine)PCI Passthrough on KVMUbuntu 14.04 LTS Windows 8 Guest macvtap setupTunner card PCI passthrough on KVMvmware network interface not detectedUbuntu Server KVM, Passthrough PCI DeviceUsing file system passthrough with KVM guests
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I am trying to set up SRIOV for a network card on Ubuntu 18.04
I seem to have done the IOMMU configuration correctly and I can add a PCI device to a VM without errors, however I am facing a problem where the guest does not see the PCI ID of the device as the ID that the hosts sees. This ends up in the host not knowing what kind of device it is and doesn't load network drivers.
All the guides I have seen state that the VF ID would be the same in host and guest but mine look like this:
Host:
81:00.4 Ethernet controller: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function)
Guest:
00:06.0 Ethernet controller: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function)
The guest correctly identifies that 81:00.4 is a network device and i can see all the details in 'ip link' and 'ip address' but the guest doesn't seem to know what to do with 00:06.0
The physical functions are up and all the virtual functions are also up and have MAC addresse on the host so everything seems fine in terms of driver config.
enp129s0f1: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 00:0f:53:07:91:c5 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 0e:f0:f0:07:ba:11, spoof checking on, link-state auto
vf 1 MAC 01:d0:0b:a1:1a:d5, spoof checking on, link-state auto
vf 2 MAC de:ad:0c:0b:a1:70, spoof checking on, link-state auto
vf 3 MAC 11:5e:ab:a5:5a:55, spoof checking on, link-state auto
Any ideas on what I am doing wrong and how to do this properly?
virtualization openstack kvm
add a comment
|
I am trying to set up SRIOV for a network card on Ubuntu 18.04
I seem to have done the IOMMU configuration correctly and I can add a PCI device to a VM without errors, however I am facing a problem where the guest does not see the PCI ID of the device as the ID that the hosts sees. This ends up in the host not knowing what kind of device it is and doesn't load network drivers.
All the guides I have seen state that the VF ID would be the same in host and guest but mine look like this:
Host:
81:00.4 Ethernet controller: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function)
Guest:
00:06.0 Ethernet controller: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function)
The guest correctly identifies that 81:00.4 is a network device and i can see all the details in 'ip link' and 'ip address' but the guest doesn't seem to know what to do with 00:06.0
The physical functions are up and all the virtual functions are also up and have MAC addresse on the host so everything seems fine in terms of driver config.
enp129s0f1: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 00:0f:53:07:91:c5 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 0e:f0:f0:07:ba:11, spoof checking on, link-state auto
vf 1 MAC 01:d0:0b:a1:1a:d5, spoof checking on, link-state auto
vf 2 MAC de:ad:0c:0b:a1:70, spoof checking on, link-state auto
vf 3 MAC 11:5e:ab:a5:5a:55, spoof checking on, link-state auto
Any ideas on what I am doing wrong and how to do this properly?
virtualization openstack kvm
Those are the PCI bus numbers, not the pci.id. To see the pci.id, run:lspci -nnk
– chili555
Jul 26 at 19:39
I see this in the VM: 00:05.0 Ethernet controller [0200]: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:1803] Subsystem: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:6206] but when i try to check ifconfig or ip addr i see nothing. Any ideas why?
– headamage
Jul 26 at 23:16
add a comment
|
I am trying to set up SRIOV for a network card on Ubuntu 18.04
I seem to have done the IOMMU configuration correctly and I can add a PCI device to a VM without errors, however I am facing a problem where the guest does not see the PCI ID of the device as the ID that the hosts sees. This ends up in the host not knowing what kind of device it is and doesn't load network drivers.
All the guides I have seen state that the VF ID would be the same in host and guest but mine look like this:
Host:
81:00.4 Ethernet controller: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function)
Guest:
00:06.0 Ethernet controller: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function)
The guest correctly identifies that 81:00.4 is a network device and i can see all the details in 'ip link' and 'ip address' but the guest doesn't seem to know what to do with 00:06.0
The physical functions are up and all the virtual functions are also up and have MAC addresse on the host so everything seems fine in terms of driver config.
enp129s0f1: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 00:0f:53:07:91:c5 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 0e:f0:f0:07:ba:11, spoof checking on, link-state auto
vf 1 MAC 01:d0:0b:a1:1a:d5, spoof checking on, link-state auto
vf 2 MAC de:ad:0c:0b:a1:70, spoof checking on, link-state auto
vf 3 MAC 11:5e:ab:a5:5a:55, spoof checking on, link-state auto
Any ideas on what I am doing wrong and how to do this properly?
virtualization openstack kvm
I am trying to set up SRIOV for a network card on Ubuntu 18.04
I seem to have done the IOMMU configuration correctly and I can add a PCI device to a VM without errors, however I am facing a problem where the guest does not see the PCI ID of the device as the ID that the hosts sees. This ends up in the host not knowing what kind of device it is and doesn't load network drivers.
All the guides I have seen state that the VF ID would be the same in host and guest but mine look like this:
Host:
81:00.4 Ethernet controller: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function)
Guest:
00:06.0 Ethernet controller: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function)
The guest correctly identifies that 81:00.4 is a network device and i can see all the details in 'ip link' and 'ip address' but the guest doesn't seem to know what to do with 00:06.0
The physical functions are up and all the virtual functions are also up and have MAC addresse on the host so everything seems fine in terms of driver config.
enp129s0f1: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 00:0f:53:07:91:c5 brd ff:ff:ff:ff:ff:ff
vf 0 MAC 0e:f0:f0:07:ba:11, spoof checking on, link-state auto
vf 1 MAC 01:d0:0b:a1:1a:d5, spoof checking on, link-state auto
vf 2 MAC de:ad:0c:0b:a1:70, spoof checking on, link-state auto
vf 3 MAC 11:5e:ab:a5:5a:55, spoof checking on, link-state auto
Any ideas on what I am doing wrong and how to do this properly?
virtualization openstack kvm
virtualization openstack kvm
asked Jul 26 at 19:30
headamageheadamage
11 bronze badge
11 bronze badge
Those are the PCI bus numbers, not the pci.id. To see the pci.id, run:lspci -nnk
– chili555
Jul 26 at 19:39
I see this in the VM: 00:05.0 Ethernet controller [0200]: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:1803] Subsystem: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:6206] but when i try to check ifconfig or ip addr i see nothing. Any ideas why?
– headamage
Jul 26 at 23:16
add a comment
|
Those are the PCI bus numbers, not the pci.id. To see the pci.id, run:lspci -nnk
– chili555
Jul 26 at 19:39
I see this in the VM: 00:05.0 Ethernet controller [0200]: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:1803] Subsystem: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:6206] but when i try to check ifconfig or ip addr i see nothing. Any ideas why?
– headamage
Jul 26 at 23:16
Those are the PCI bus numbers, not the pci.id. To see the pci.id, run:
lspci -nnk
– chili555
Jul 26 at 19:39
Those are the PCI bus numbers, not the pci.id. To see the pci.id, run:
lspci -nnk
– chili555
Jul 26 at 19:39
I see this in the VM: 00:05.0 Ethernet controller [0200]: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:1803] Subsystem: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:6206] but when i try to check ifconfig or ip addr i see nothing. Any ideas why?
– headamage
Jul 26 at 23:16
I see this in the VM: 00:05.0 Ethernet controller [0200]: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:1803] Subsystem: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:6206] but when i try to check ifconfig or ip addr i see nothing. Any ideas why?
– headamage
Jul 26 at 23:16
add a comment
|
1 Answer
1
active
oldest
votes
Was a stupid question. The bus ID of the device is defined in the VM descriptor so there is nothing strange here. The issue I am having is related to the driver and not the bus ID.
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1161325%2fpci-device-id-is-different-in-vm-when-using-passthrough%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Was a stupid question. The bus ID of the device is defined in the VM descriptor so there is nothing strange here. The issue I am having is related to the driver and not the bus ID.
add a comment
|
Was a stupid question. The bus ID of the device is defined in the VM descriptor so there is nothing strange here. The issue I am having is related to the driver and not the bus ID.
add a comment
|
Was a stupid question. The bus ID of the device is defined in the VM descriptor so there is nothing strange here. The issue I am having is related to the driver and not the bus ID.
Was a stupid question. The bus ID of the device is defined in the VM descriptor so there is nothing strange here. The issue I am having is related to the driver and not the bus ID.
answered Aug 10 at 12:33
headamageheadamage
11 bronze badge
11 bronze badge
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1161325%2fpci-device-id-is-different-in-vm-when-using-passthrough%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Those are the PCI bus numbers, not the pci.id. To see the pci.id, run:
lspci -nnk
– chili555
Jul 26 at 19:39
I see this in the VM: 00:05.0 Ethernet controller [0200]: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:1803] Subsystem: Solarflare Communications SFC9020 10G Ethernet Controller (Virtual Function) [1924:6206] but when i try to check ifconfig or ip addr i see nothing. Any ideas why?
– headamage
Jul 26 at 23:16