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;









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?










share|improve this question


























  • 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


















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?










share|improve this question


























  • 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














0












0








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?










share|improve this question















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






share|improve this question














share|improve this question











share|improve this question




share|improve this question










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


















  • 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











1 Answer
1






active

oldest

votes


















0


















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.






share|improve this answer



























    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
    );



    );














    draft saved

    draft discarded
















    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









    0


















    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.






    share|improve this answer






























      0


















      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.






      share|improve this answer




























        0














        0










        0









        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.






        share|improve this answer














        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.







        share|improve this answer













        share|improve this answer




        share|improve this answer










        answered Aug 10 at 12:33









        headamageheadamage

        11 bronze badge




        11 bronze badge































            draft saved

            draft discarded















































            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.




            draft saved


            draft discarded














            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





















































            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









            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?