QEMU/KVM, virt-manager - Unable to complete install: error creating macvtap interface macvtap0@eno1...












0















I am trying to create a virtual machine with QEMU/KVM using virt-manager. I am using gentoo linux with kernel 4.12.0-rc7 mainline. Using a virtual network interface at all causes the following error.



Unable to complete install: 'error creating macvtap interface macvtap0@eno1 (52:54:00:1a:e1:3b): Operation not supported'

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/create.py", line 2288, in _do_async_install
guest.start_install(meter=meter)
File "/usr/share/virt-manager/virtinst/guest.py", line 461, in start_install
doboot, transient)
File "/usr/share/virt-manager/virtinst/guest.py", line 396, in _create_guest
self.domain = self.conn.createXML(install_xml or final_xml, 0)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3591, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: error creating macvtap interface macvtap0@eno1 (52:54:00:1a:e1:3b): Operation not supported


The settings for the network interface are:




  • Network Source: Host device eno1: macvtap,

  • Source mode: Bridge,

  • Device model: virtio,

  • Virtual port: not set


eno1 is the name of my ethernet device.



Changing settings does not seem to help much, other than completely removing the network device which leads to a different, unrelated error, which I'm not sure if I will create a new post for.



I think that the error would be caused either by CONFIG_MACTVAP not being enabled in the kernel, which was the issue i was having before.



So, I enabled this and recompiled the kernel, but the setting was not to be found in menuconfig and I had to add it manually to .config (not the best idea, but the kernel accepted it as valid.) I do not think that mactvap is a kernel module so if it is I do not know what it what it is called as "mactvap" is not a module, and I set CONFIG_MACTVAP to y anyway.










share|improve this question
















bumped to the homepage by Community 15 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    I am trying to create a virtual machine with QEMU/KVM using virt-manager. I am using gentoo linux with kernel 4.12.0-rc7 mainline. Using a virtual network interface at all causes the following error.



    Unable to complete install: 'error creating macvtap interface macvtap0@eno1 (52:54:00:1a:e1:3b): Operation not supported'

    Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/create.py", line 2288, in _do_async_install
    guest.start_install(meter=meter)
    File "/usr/share/virt-manager/virtinst/guest.py", line 461, in start_install
    doboot, transient)
    File "/usr/share/virt-manager/virtinst/guest.py", line 396, in _create_guest
    self.domain = self.conn.createXML(install_xml or final_xml, 0)
    File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3591, in createXML
    if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
    libvirtError: error creating macvtap interface macvtap0@eno1 (52:54:00:1a:e1:3b): Operation not supported


    The settings for the network interface are:




    • Network Source: Host device eno1: macvtap,

    • Source mode: Bridge,

    • Device model: virtio,

    • Virtual port: not set


    eno1 is the name of my ethernet device.



    Changing settings does not seem to help much, other than completely removing the network device which leads to a different, unrelated error, which I'm not sure if I will create a new post for.



    I think that the error would be caused either by CONFIG_MACTVAP not being enabled in the kernel, which was the issue i was having before.



    So, I enabled this and recompiled the kernel, but the setting was not to be found in menuconfig and I had to add it manually to .config (not the best idea, but the kernel accepted it as valid.) I do not think that mactvap is a kernel module so if it is I do not know what it what it is called as "mactvap" is not a module, and I set CONFIG_MACTVAP to y anyway.










    share|improve this question
















    bumped to the homepage by Community 15 hours ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      I am trying to create a virtual machine with QEMU/KVM using virt-manager. I am using gentoo linux with kernel 4.12.0-rc7 mainline. Using a virtual network interface at all causes the following error.



      Unable to complete install: 'error creating macvtap interface macvtap0@eno1 (52:54:00:1a:e1:3b): Operation not supported'

      Traceback (most recent call last):
      File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in cb_wrapper
      callback(asyncjob, *args, **kwargs)
      File "/usr/share/virt-manager/virtManager/create.py", line 2288, in _do_async_install
      guest.start_install(meter=meter)
      File "/usr/share/virt-manager/virtinst/guest.py", line 461, in start_install
      doboot, transient)
      File "/usr/share/virt-manager/virtinst/guest.py", line 396, in _create_guest
      self.domain = self.conn.createXML(install_xml or final_xml, 0)
      File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3591, in createXML
      if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
      libvirtError: error creating macvtap interface macvtap0@eno1 (52:54:00:1a:e1:3b): Operation not supported


      The settings for the network interface are:




      • Network Source: Host device eno1: macvtap,

      • Source mode: Bridge,

      • Device model: virtio,

      • Virtual port: not set


      eno1 is the name of my ethernet device.



      Changing settings does not seem to help much, other than completely removing the network device which leads to a different, unrelated error, which I'm not sure if I will create a new post for.



      I think that the error would be caused either by CONFIG_MACTVAP not being enabled in the kernel, which was the issue i was having before.



      So, I enabled this and recompiled the kernel, but the setting was not to be found in menuconfig and I had to add it manually to .config (not the best idea, but the kernel accepted it as valid.) I do not think that mactvap is a kernel module so if it is I do not know what it what it is called as "mactvap" is not a module, and I set CONFIG_MACTVAP to y anyway.










      share|improve this question
















      I am trying to create a virtual machine with QEMU/KVM using virt-manager. I am using gentoo linux with kernel 4.12.0-rc7 mainline. Using a virtual network interface at all causes the following error.



      Unable to complete install: 'error creating macvtap interface macvtap0@eno1 (52:54:00:1a:e1:3b): Operation not supported'

      Traceback (most recent call last):
      File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in cb_wrapper
      callback(asyncjob, *args, **kwargs)
      File "/usr/share/virt-manager/virtManager/create.py", line 2288, in _do_async_install
      guest.start_install(meter=meter)
      File "/usr/share/virt-manager/virtinst/guest.py", line 461, in start_install
      doboot, transient)
      File "/usr/share/virt-manager/virtinst/guest.py", line 396, in _create_guest
      self.domain = self.conn.createXML(install_xml or final_xml, 0)
      File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3591, in createXML
      if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
      libvirtError: error creating macvtap interface macvtap0@eno1 (52:54:00:1a:e1:3b): Operation not supported


      The settings for the network interface are:




      • Network Source: Host device eno1: macvtap,

      • Source mode: Bridge,

      • Device model: virtio,

      • Virtual port: not set


      eno1 is the name of my ethernet device.



      Changing settings does not seem to help much, other than completely removing the network device which leads to a different, unrelated error, which I'm not sure if I will create a new post for.



      I think that the error would be caused either by CONFIG_MACTVAP not being enabled in the kernel, which was the issue i was having before.



      So, I enabled this and recompiled the kernel, but the setting was not to be found in menuconfig and I had to add it manually to .config (not the best idea, but the kernel accepted it as valid.) I do not think that mactvap is a kernel module so if it is I do not know what it what it is called as "mactvap" is not a module, and I set CONFIG_MACTVAP to y anyway.







      linux virtual-machine kvm gentoo qemu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 4 '17 at 1:52









      slm

      248k66517678




      248k66517678










      asked Jul 4 '17 at 1:31









      Stryder0Stryder0

      12




      12





      bumped to the homepage by Community 15 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 15 hours ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          You will find the setting here:



          Device Drivers --->


          Network Device Support --->


          <> MAC-VLAN support

          <

          > MAC-VLAN based tap driver (CONFIG_MACVTAP)






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "106"
            };
            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: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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/3.0/"u003ecc by-sa 3.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%2funix.stackexchange.com%2fquestions%2f375105%2fqemu-kvm-virt-manager-unable-to-complete-install-error-creating-macvtap-inte%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














            You will find the setting here:



            Device Drivers --->


            Network Device Support --->


            <> MAC-VLAN support

            <

            > MAC-VLAN based tap driver (CONFIG_MACVTAP)






            share|improve this answer




























              0














              You will find the setting here:



              Device Drivers --->


              Network Device Support --->


              <> MAC-VLAN support

              <

              > MAC-VLAN based tap driver (CONFIG_MACVTAP)






              share|improve this answer


























                0












                0








                0







                You will find the setting here:



                Device Drivers --->


                Network Device Support --->


                <> MAC-VLAN support

                <

                > MAC-VLAN based tap driver (CONFIG_MACVTAP)






                share|improve this answer













                You will find the setting here:



                Device Drivers --->


                Network Device Support --->


                <> MAC-VLAN support

                <

                > MAC-VLAN based tap driver (CONFIG_MACVTAP)







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jan 16 '18 at 1:05









                Dacian Reece-StremțanDacian Reece-Stremțan

                1




                1






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Unix & Linux Stack Exchange!


                    • 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%2funix.stackexchange.com%2fquestions%2f375105%2fqemu-kvm-virt-manager-unable-to-complete-install-error-creating-macvtap-inte%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

                    Loup dans la culture

                    How to solve the problem of ntp “Unable to contact time server” from KDE?

                    ASUS Zenbook UX433/UX333 — Configure Touchpad-embedded numpad on Linux